Package | Description |
---|---|
org.glassfish.jersey.server.internal.routing |
Jersey server-side internal resource routing classes.
|
org.glassfish.jersey.server.model |
Jersey server-side application & resource modeling classes.
|
org.glassfish.jersey.uri |
Common Jersey classes that provide support for JAX-RS URI templates and
encoding/decoding of URI components.
|
Modifier and Type | Field and Description |
---|---|
private PathPattern |
Route.routingPattern |
Modifier and Type | Method and Description |
---|---|
PathPattern |
Route.routingPattern()
Get the request path routing pattern.
|
Modifier and Type | Method and Description |
---|---|
(package private) static PathToRouterBuilder |
PathMatchingRouterBuilder.newRoute(PathPattern pattern)
Create new request path pattern matching router builder.
|
(package private) static Route |
Route.of(PathPattern routingPattern,
java.util.List<Router> routers)
Create a new request route.
|
PathToRouterBuilder |
PathMatchingRouterBuilder.route(PathPattern pattern)
Complete the currently built unfinished sub-route (if any) and start building a new one.
|
private void |
PathMatchingRouterBuilder.startNewRoute(PathPattern pattern) |
private PathToRouterBuilder |
RuntimeModelBuilder.startNextRoute(PathMatchingRouterBuilder currentRouterBuilder,
PathPattern routingPattern) |
Constructor and Description |
---|
Route(PathPattern routingPattern,
java.util.List<Router> routers) |
Modifier and Type | Field and Description |
---|---|
private PathPattern |
RuntimeResource.pathPattern |
private PathPattern |
Resource.Data.pathPattern |
Modifier and Type | Method and Description |
---|---|
(package private) abstract PathPattern |
ResourceMethod.JaxrsType.createPatternFor(java.lang.String pathTemplate)
Create a proper matching path pattern from the provided template for
the selected method type.
|
PathPattern |
RuntimeResource.getPathPattern()
Get path pattern for matching purposes.
|
PathPattern |
Resource.getPathPattern() |
PathPattern |
Routed.getPathPattern()
Get the path pattern that can be used for matching the remaining
request URI against this component represented by this model.
|
Modifier and Type | Field and Description |
---|---|
static PathPattern |
PathPattern.EMPTY_PATTERN
Empty path pattern matching only empty string.
|
static PathPattern |
PathPattern.END_OF_PATH_PATTERN
Path pattern matching the end of a URI path.
|
static PathPattern |
PathPattern.OPEN_ROOT_PATH_PATTERN
Path pattern matching the any URI path.
|
Modifier and Type | Field and Description |
---|---|
static java.util.Comparator<PathPattern> |
PathPattern.COMPARATOR
Path pattern comparator that defers to
comparing
the templates associated with the patterns. |
Modifier and Type | Method and Description |
---|---|
static PathPattern |
PathPattern.asClosed(PathPattern pattern)
Return a new path pattern with a same path template but
a
closed right hand path. |
Modifier and Type | Method and Description |
---|---|
static PathPattern |
PathPattern.asClosed(PathPattern pattern)
Return a new path pattern with a same path template but
a
closed right hand path. |