A C D E F G H I J M O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- accepts(Path, Route) - Static method in class com.duncpro.jroute.JRouteInternalUtilities
- accepts(String, RouteElement) - Static method in class com.duncpro.jroute.JRouteInternalUtilities
- add(HttpMethod, Route, E) - Method in class com.duncpro.jroute.rest.RestRouter
- add(HttpMethod, String, E) - Method in class com.duncpro.jroute.rest.RestRouter
- add(Route, E) - Method in interface com.duncpro.jroute.router.Router
- add(Route, E) - Method in class com.duncpro.jroute.router.TreeRouter
- add(Route, E) - Method in class com.duncpro.jroute.util.DelegatingRouter
- add(PositionedEndpoint<E>) - Method in interface com.duncpro.jroute.router.Router
- add(String, E) - Method in interface com.duncpro.jroute.router.Router
- asOptional() - Method in class com.duncpro.jroute.rest.RestRouteResult
C
- com.duncpro.jroute - package com.duncpro.jroute
- com.duncpro.jroute.rest - package com.duncpro.jroute.rest
- com.duncpro.jroute.route - package com.duncpro.jroute.route
- com.duncpro.jroute.router - package com.duncpro.jroute.router
- com.duncpro.jroute.util - package com.duncpro.jroute.util
- concat(Route...) - Static method in class com.duncpro.jroute.route.Route
D
- DelegatingRouter<E> - Class in com.duncpro.jroute.util
- DelegatingRouter(Router<E>) - Constructor for class com.duncpro.jroute.util.DelegatingRouter
- DELETE - com.duncpro.jroute.rest.HttpMethod
E
- endpoint - Variable in class com.duncpro.jroute.router.PositionedEndpoint
- equals(Object) - Method in class com.duncpro.jroute.Path
- equals(Object) - Method in class com.duncpro.jroute.route.Route
- equals(Object) - Method in class com.duncpro.jroute.route.StaticRouteElement
- equals(Object) - Method in class com.duncpro.jroute.route.WildcardRouteElement
- equals(Object) - Method in class com.duncpro.jroute.router.PositionedEndpoint
- equals(Object) - Method in class com.duncpro.jroute.router.RouteTreeNodePosition
- extractVariables(Path) - Method in class com.duncpro.jroute.route.Route
-
Compiles a list of all the arguments contained within the given path.
- extractVariables(String) - Method in class com.duncpro.jroute.route.Route
- extractVariablesMap(Path) - Method in class com.duncpro.jroute.util.ParameterizedRoute
-
Returns a mapping of parameters to arguments given some
Path
whose structure matches theRoute
represented by thisParameterizedRoute
.
F
- findNode(RouteTreeNode<E>, Path) - Static method in class com.duncpro.jroute.router.TreeRouter
-
Finds the
RouteTreeNode
which is responsible for handling requests made on the givenPath
. - findOrCreateNode(RouteTreeNode<E>, Route) - Static method in class com.duncpro.jroute.router.TreeRouter
-
A variant of
TreeRouter.findNode(RouteTreeNode, Path)
which will add new branches to the route tree if necessary so that theRoute
may be resolved to aRouteTreeNode
.
G
- GET - com.duncpro.jroute.rest.HttpMethod
- getAllEndpoints(Route) - Method in interface com.duncpro.jroute.router.Router
-
Returns a set of
PositionedEndpoint
s which are accessible via the givenRoute
. - getAllEndpoints(Route) - Method in class com.duncpro.jroute.router.TreeRouter
- getAllEndpoints(Route) - Method in class com.duncpro.jroute.util.DelegatingRouter
- getElements() - Method in class com.duncpro.jroute.Path
- getElements() - Method in class com.duncpro.jroute.route.Route
- getEndpoint() - Method in class com.duncpro.jroute.router.RouteMatch
- getEndpoint(Route) - Method in interface com.duncpro.jroute.router.Router
-
Returns the endpoint which exists at the given
Route
(if any). - getEndpoint(Route) - Method in class com.duncpro.jroute.router.TreeRouter
- getEndpoint(Route) - Method in class com.duncpro.jroute.util.DelegatingRouter
- getMatch() - Method in class com.duncpro.jroute.route.StaticRouteElement
- getMethodEndpoint() - Method in class com.duncpro.jroute.rest.RestRouteResult.RestRouteMatch
- getMethodEndpoint(HttpMethod) - Method in class com.duncpro.jroute.rest.RestResource
- getOrAdd(Route, Supplier<E>) - Method in interface com.duncpro.jroute.router.Router
- getOrAdd(Route, Supplier<E>) - Method in class com.duncpro.jroute.router.TreeRouter
- getOrAdd(Route, Supplier<E>) - Method in class com.duncpro.jroute.util.DelegatingRouter
- getParameterLabels() - Method in class com.duncpro.jroute.util.ParameterizedRoute
- getRoute() - Method in class com.duncpro.jroute.rest.RestRouteResult.RestRouteMatch
- getRoute() - Method in class com.duncpro.jroute.router.RouteMatch
-
Returns the route matching the path.
H
- hashCode() - Method in class com.duncpro.jroute.Path
- hashCode() - Method in class com.duncpro.jroute.route.Route
- hashCode() - Method in class com.duncpro.jroute.route.StaticRouteElement
- hashCode() - Method in class com.duncpro.jroute.route.WildcardRouteElement
- hashCode() - Method in class com.duncpro.jroute.router.PositionedEndpoint
- hashCode() - Method in class com.duncpro.jroute.router.RouteTreeNodePosition
- HttpMethod - Enum in com.duncpro.jroute.rest
I
- isRoot() - Method in class com.duncpro.jroute.Path
- isRoot() - Method in class com.duncpro.jroute.route.Route
J
- JRouteInternalUtilities - Class in com.duncpro.jroute
- JRouteInternalUtilities() - Constructor for class com.duncpro.jroute.JRouteInternalUtilities
M
- map(Function<RestRouteResult.RestRouteMatch<E>, R>, Function<RestRouteFailureType, R>) - Method in class com.duncpro.jroute.rest.RestRouteResult
- MethodConflictException - Exception in com.duncpro.jroute.rest
O
- OPTIONS - com.duncpro.jroute.rest.HttpMethod
P
- ParameterizedRoute - Class in com.duncpro.jroute.util
-
This class is an ergonomic wrapper around
Route
which associates a label with eachWildcardRouteElement
in aRoute
. - ParameterizedRoute(List<String>, List<RouteElement>) - Constructor for class com.duncpro.jroute.util.ParameterizedRoute
-
Creates a
ParameterizedRoute
where the ith string in the labels list corresponds to the ithWildcardRouteElement
in the elements list. - parse(String) - Static method in class com.duncpro.jroute.util.ParameterizedRoute
-
Constructs a
ParameterizedRoute
given a parameterized route string. - Path - Class in com.duncpro.jroute
- Path(String) - Constructor for class com.duncpro.jroute.Path
- Path(List<String>) - Constructor for class com.duncpro.jroute.Path
- PositionedEndpoint<E> - Class in com.duncpro.jroute.router
- PositionedEndpoint(Route, E) - Constructor for class com.duncpro.jroute.router.PositionedEndpoint
- POST - com.duncpro.jroute.rest.HttpMethod
- PUT - com.duncpro.jroute.rest.HttpMethod
R
- resolve(Route) - Method in class com.duncpro.jroute.route.Route
- RESOURCE_NOT_FOUND - com.duncpro.jroute.rest.RestRouteFailureType
- RestResource<E> - Class in com.duncpro.jroute.rest
- RestResource() - Constructor for class com.duncpro.jroute.rest.RestResource
- RestRouteFailureType - Enum in com.duncpro.jroute.rest
- RestRouter<E> - Class in com.duncpro.jroute.rest
- RestRouter() - Constructor for class com.duncpro.jroute.rest.RestRouter
- RestRouter(Router<RestResource<E>>) - Constructor for class com.duncpro.jroute.rest.RestRouter
- RestRouteResult<E> - Class in com.duncpro.jroute.rest
- RestRouteResult.ResourceNotFound<E> - Class in com.duncpro.jroute.rest
- RestRouteResult.RestRouteMatch<E> - Class in com.duncpro.jroute.rest
- RestRouteResult.UnsupportedMethod<E> - Class in com.duncpro.jroute.rest
- root() - Static method in class com.duncpro.jroute.router.RouteTreeNodePosition
- ROOT - Static variable in class com.duncpro.jroute.route.Route
- route - Variable in class com.duncpro.jroute.router.PositionedEndpoint
- route(Path) - Method in interface com.duncpro.jroute.router.Router
- route(Path) - Method in class com.duncpro.jroute.router.TreeRouter
- route(Path) - Method in class com.duncpro.jroute.util.DelegatingRouter
- route(HttpMethod, Path) - Method in class com.duncpro.jroute.rest.RestRouter
- route(HttpMethod, String) - Method in class com.duncpro.jroute.rest.RestRouter
- route(String) - Method in interface com.duncpro.jroute.router.Router
- Route - Class in com.duncpro.jroute.route
- Route(String) - Constructor for class com.duncpro.jroute.route.Route
- Route(List<RouteElement>) - Constructor for class com.duncpro.jroute.route.Route
- RouteConflictException - Exception in com.duncpro.jroute
- RouteConflictException(String) - Constructor for exception com.duncpro.jroute.RouteConflictException
- RouteConflictException(String, Exception) - Constructor for exception com.duncpro.jroute.RouteConflictException
- RouteElement - Class in com.duncpro.jroute.route
- RouteElement() - Constructor for class com.duncpro.jroute.route.RouteElement
- RouteMatch<E> - Class in com.duncpro.jroute.router
- Router<E> - Interface in com.duncpro.jroute.router
- RouteTreeNodePosition<E> - Class in com.duncpro.jroute.router
-
This class represents a
RouteTreeNode
's position in aRoute
.
S
- StaticRouteElement - Class in com.duncpro.jroute.route
- StaticRouteElement(String) - Constructor for class com.duncpro.jroute.route.StaticRouteElement
T
- toString() - Method in class com.duncpro.jroute.Path
- toString() - Method in class com.duncpro.jroute.route.Route
- toString() - Method in class com.duncpro.jroute.route.StaticRouteElement
- toString() - Method in class com.duncpro.jroute.route.WildcardRouteElement
- TreeRouter<E> - Class in com.duncpro.jroute.router
- TreeRouter() - Constructor for class com.duncpro.jroute.router.TreeRouter
U
- UNSUPPORTED_METHOD - com.duncpro.jroute.rest.RestRouteFailureType
V
- valueOf(String) - Static method in enum com.duncpro.jroute.rest.HttpMethod
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.duncpro.jroute.rest.RestRouteFailureType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.duncpro.jroute.rest.HttpMethod
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.duncpro.jroute.rest.RestRouteFailureType
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- WildcardRouteElement - Class in com.duncpro.jroute.route
- WildcardRouteElement() - Constructor for class com.duncpro.jroute.route.WildcardRouteElement
- withLeadingElement(RouteElement) - Method in class com.duncpro.jroute.route.Route
- withoutLeadingElement() - Method in class com.duncpro.jroute.Path
- withoutLeadingElement() - Method in class com.duncpro.jroute.route.Route
- withTrailingElement(RouteElement) - Method in class com.duncpro.jroute.route.Route
All Classes All Packages