枚举类的使用
org.springframework.boot.autoconfigure.security.StaticResourceLocation
使用StaticResourceLocation的程序包
程序包
说明
Auto-configuration for Spring Security.
Auto-configuration for reactive Spring Security.
Auto-configuration for Servlet-based Spring Security.
-
org.springframework.boot.autoconfigure.security中StaticResourceLocation的使用
修饰符和类型方法说明static StaticResourceLocation
返回带有指定名称的该类的枚举常量。static StaticResourceLocation[]
StaticResourceLocation.values()
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同 -
org.springframework.boot.autoconfigure.security.reactive中StaticResourceLocation的使用
修饰符和类型方法说明StaticResourceRequest.at
(StaticResourceLocation first, StaticResourceLocation... rest) Returns a matcher that includes the specifiedLocations
.StaticResourceRequest.StaticResourceServerWebExchange.excluding
(StaticResourceLocation first, StaticResourceLocation... rest) Return a newStaticResourceRequest.StaticResourceServerWebExchange
based on this one but excluding the specified locations.修饰符和类型方法说明StaticResourceRequest.at
(Set<StaticResourceLocation> locations) Returns a matcher that includes the specifiedLocations
.StaticResourceRequest.StaticResourceServerWebExchange.excluding
(Set<StaticResourceLocation> locations) Return a newStaticResourceRequest.StaticResourceServerWebExchange
based on this one but excluding the specified locations. -
org.springframework.boot.autoconfigure.security.servlet中StaticResourceLocation的使用
修饰符和类型方法说明StaticResourceRequest.at
(StaticResourceLocation first, StaticResourceLocation... rest) Returns a matcher that includes the specifiedLocations
.StaticResourceRequest.StaticResourceRequestMatcher.excluding
(StaticResourceLocation first, StaticResourceLocation... rest) Return a newStaticResourceRequest.StaticResourceRequestMatcher
based on this one but excluding the specified locations.修饰符和类型方法说明StaticResourceRequest.at
(Set<StaticResourceLocation> locations) Returns a matcher that includes the specifiedLocations
.StaticResourceRequest.StaticResourceRequestMatcher.excluding
(Set<StaticResourceLocation> locations) Return a newStaticResourceRequest.StaticResourceRequestMatcher
based on this one but excluding the specified locations.