Subclasses of UrlBasedViewResolver could avoid reflection when creating instances of View #25847
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
All subclasses (I think) currently delegate creation of
View
instances to the parent class, which only knows theView
class, so has to instantiate it reflectively. It would be nice for subclasses, which mostly know how to create their own, specificView
instances, to be able to provide aSupplier
instead, and for that to be the default behaviour.The text was updated successfully, but these errors were encountered: