public interface SecuredPaths extends Iterable<SecuredPath>, leap.lang.Emptiable
| 限定符和类型 | 方法和说明 |
|---|---|
SecuredPaths |
apply(SecuredPath p)
Apply the secured path.
|
SecuredPaths |
apply(String path,
boolean allowAnonymous)
Apply a secured path.
|
SecuredPathConfigurator |
get(Route route)
Returns the exists
SecuredPathConfigurator for the route or null if not exists. |
SecuredPathConfigurator |
of(leap.lang.path.PathPattern pp)
Returns an exists or creates a new
SecuredPathConfigurator for the given path pattern |
SecuredPathConfigurator |
of(Route route)
Returns an exists or creates a new
SecuredPathConfigurator for the given path pattern in route. |
SecuredPathConfigurator |
of(String path)
Returns an exists or creates a new
SecuredPathConfigurator for the given path pattern |
boolean |
remove(SecuredPath path)
Removes the secured path and returns the removed
SecuredPath object. |
SecuredPath |
remove(String path)
Removes the secured path and returns the removed
SecuredPath object. |
forEach, iterator, spliteratorSecuredPathConfigurator of(String path)
SecuredPathConfigurator for the given path patternSecuredPathConfigurator of(leap.lang.path.PathPattern pp)
SecuredPathConfigurator for the given path patternSecuredPathConfigurator of(Route route)
SecuredPathConfigurator for the given path pattern in route.SecuredPathConfigurator get(Route route)
SecuredPathConfigurator for the route or null if not exists.SecuredPaths apply(SecuredPath p)
SecuredPaths apply(String path, boolean allowAnonymous)
SecuredPath remove(String path)
SecuredPath object.
Returns null if not exists.boolean remove(SecuredPath path)
SecuredPath object.
Returns false if not exists.Copyright © 2019. All rights reserved.