Class HandlerMappingIntrospector.CachedResult
java.lang.Object
org.springframework.web.servlet.handler.HandlerMappingIntrospector.CachedResult
- Enclosing class:
- HandlerMappingIntrospector
Container for a
MatchableHandlerMapping and CorsConfiguration
for a given request matched by dispatcher type and requestURI.- Since:
- 6.0.14
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.cors.CorsConfigurationgetResultFor(HttpServletRequest request) Return aHandlerMappingIntrospector.CachedResultthat matches the given request.booleanmatches(HttpServletRequest request) toString()
-
Method Details
-
matches
-
getHandlerMapping
- Throws:
Exception
-
getCorsConfig
@Nullable public org.springframework.web.cors.CorsConfiguration getCorsConfig() -
toString
-
getResultFor
@Nullable public static HandlerMappingIntrospector.CachedResult getResultFor(HttpServletRequest request) Return aHandlerMappingIntrospector.CachedResultthat matches the given request.
-