public final class Routers extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
Routers.RootRouteBuilder<T> |
static interface |
Routers.RouteBuilder<T> |
static interface |
Routers.RouteToBuilder<T> |
static interface |
Routers.RouteToPathBuilder<T> |
| Modifier and Type | Method and Description |
|---|---|
static Router.Builder |
acceptingTree(jersey.repackaged.com.google.common.base.Function<RequestProcessingContext,RequestProcessingContext> transformation)
Start building a hierarchical routing tree.
|
static Router |
asTreeAcceptor(Inflector<RequestProcessingContext,ContainerResponse> inflector)
Creates a leaf-node
Router that implements Inflecting
interface and returns the provided Inflector instance
when the Inflecting.inflector() method is called. |
public static Router asTreeAcceptor(Inflector<RequestProcessingContext,ContainerResponse> inflector)
Router that implements Inflecting
interface and returns the provided Inflector instance
when the Inflecting.inflector() method is called.
Router.apply(org.glassfish.jersey.server.internal.process.RequestProcessingContext) method of the created hierarchical router returns the unchanged request and an empty
continuation iterator.inflector - a request to response transformation to be wrapped in an
Router instance.Router that wraps the supplied Inflector.public static Router.Builder acceptingTree(jersey.repackaged.com.google.common.base.Function<RequestProcessingContext,RequestProcessingContext> transformation)
transformation - root transformation function.Copyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.