public static final class StaticResourceRequest.StaticResourceRequestMatcher extends org.springframework.boot.security.servlet.ApplicationContextRequestMatcher<DispatcherServletPath>
Locations.| Modifier and Type | Method and Description |
|---|---|
StaticResourceRequest.StaticResourceRequestMatcher |
excluding(java.util.Set<StaticResourceLocation> locations)
Return a new
StaticResourceRequest.StaticResourceRequestMatcher based on this one but
excluding the specified locations. |
StaticResourceRequest.StaticResourceRequestMatcher |
excluding(StaticResourceLocation first,
StaticResourceLocation... rest)
Return a new
StaticResourceRequest.StaticResourceRequestMatcher based on this one but
excluding the specified locations. |
protected boolean |
ignoreApplicationContext(org.springframework.web.context.WebApplicationContext applicationContext) |
protected void |
initialized(java.util.function.Supplier<DispatcherServletPath> dispatcherServletPath) |
protected boolean |
matches(javax.servlet.http.HttpServletRequest request,
java.util.function.Supplier<DispatcherServletPath> context) |
matchespublic StaticResourceRequest.StaticResourceRequestMatcher excluding(StaticResourceLocation first, StaticResourceLocation... rest)
StaticResourceRequest.StaticResourceRequestMatcher based on this one but
excluding the specified locations.first - the first location to excluderest - additional locations to excludeStaticResourceRequest.StaticResourceRequestMatcherpublic StaticResourceRequest.StaticResourceRequestMatcher excluding(java.util.Set<StaticResourceLocation> locations)
StaticResourceRequest.StaticResourceRequestMatcher based on this one but
excluding the specified locations.locations - the locations to excludeStaticResourceRequest.StaticResourceRequestMatcherprotected void initialized(java.util.function.Supplier<DispatcherServletPath> dispatcherServletPath)
initialized in class org.springframework.boot.security.servlet.ApplicationContextRequestMatcher<DispatcherServletPath>protected boolean ignoreApplicationContext(org.springframework.web.context.WebApplicationContext applicationContext)
ignoreApplicationContext in class org.springframework.boot.security.servlet.ApplicationContextRequestMatcher<DispatcherServletPath>protected boolean matches(javax.servlet.http.HttpServletRequest request,
java.util.function.Supplier<DispatcherServletPath> context)
matches in class org.springframework.boot.security.servlet.ApplicationContextRequestMatcher<DispatcherServletPath>