- Enclosing interface:
- SpiRoutes
public static interface SpiRoutes.Entry
A route entry.
-
Method Summary
Modifier and Type Method Description intgetSegmentCount()Return the segment count.voidhandle(Context ctx)Handle the request.booleanincludesWildcard()Return true if one of the segments is the wildcard match.booleanmatches(String requestUri)Return true if it matches the request URI.StringmatchPath()Return the raw path expression.SpiRoutes.ParamspathParams(String uri)Return the path parameter map given the uri.
-
Method Details
-
matches
Return true if it matches the request URI. -
handle
Handle the request. -
pathParams
Return the path parameter map given the uri. -
matchPath
String matchPath()Return the raw path expression. -
getSegmentCount
int getSegmentCount()Return the segment count. -
includesWildcard
boolean includesWildcard()Return true if one of the segments is the wildcard match.
-