类的使用
org.springframework.web.reactive.resource.ResourceWebHandler
使用ResourceWebHandler的程序包 程序包 说明 org.springframework.web.reactive.config Spring WebFlux configuration infrastructure.org.springframework.web.reactive.resource Support classes for serving static resources.org.springframework.web.reactive.config中ResourceWebHandler的使用
返回ResourceWebHandler的org.springframework.web.reactive.config中的方法 修饰符和类型 方法 说明 protected ResourceWebHandler
ResourceHandlerRegistration. getRequestHandler()
Returns aResourceWebHandler
instance.org.springframework.web.reactive.resource中ResourceWebHandler的使用
返回变量类型为ResourceWebHandler的类型的org.springframework.web.reactive.resource中的方法 修饰符和类型 方法 说明 Map<PathPattern,ResourceWebHandler>
ResourceUrlProvider. getHandlerMap()
Return a read-only view of the resource handler mappings either manually configured or auto-detected from Spring configuration.类型变量类型为ResourceWebHandler的org.springframework.web.reactive.resource中的方法参数 修饰符和类型 方法 说明 void
ResourceUrlProvider. registerHandlers(Map<String,ResourceWebHandler> handlerMap)
Manually configure resource handler mappings.