Module io.inverno.mod.http.base
Package io.inverno.mod.http.base.router
Interface PathRoute.Manager<A,B,C extends PathRoute<A>,D extends PathRoute.Manager<A,B,C,D,E>,E extends Router<A,B,C,D,E>>            
- Type Parameters:
- A- the resource type
- B- the input type
- C- the path route type
- D- the path route manager type
- E- the router type
- All Superinterfaces:
- RouteManager<A,- B, - C, - D, - E> 
public static interface PathRoute.Manager<A,B,C extends PathRoute<A>,D extends PathRoute.Manager<A,B,C,D,E>,E extends Router<A,B,C,D,E>>            
extends RouteManager<A,B,C,D,E>    
A path route manager.
- Since:
- 1.12
- Author:
- Jeremy Kuhn
- 
Method SummaryModifier and TypeMethodDescriptionSpecifies the absolute path matching the path in an input.pathPattern(URIPattern pathPattern) Specifies the absolute path pattern matching the path in an input.default DresolvePath(String path, boolean matchTrailingSlash) Specifies the path or path pattern matching the path in an input.Methods inherited from interface io.inverno.mod.http.base.router.RouteManagerdisable, enable, findRoutes, remove, set, set, set
- 
Method Details- 
resolvePathSpecifies the path or path pattern matching the path in an input. This method determines whether the specified path is a static path or a pattern and then delegates to path(String)orpathPattern(URIPattern).- Parameters:
- path- an absolute path or path pattern
- matchTrailingSlash- true to match trailing slash, false otherwise
- Returns:
- the route manager
- Throws:
- IllegalArgumentException- if the specified path is not absolute
 
- 
pathSpecifies the absolute path matching the path in an input. - Parameters:
- path- an absolute path
- Returns:
- the route manager
 
- 
pathPatternSpecifies the absolute path pattern matching the path in an input. - Parameters:
- pathPattern- an absolute path pattern
- Returns:
- the route manager
 
 
-