/** * Creates a terminal {@link Router} that wraps the given {@link org.glassfish.jersey.server.internal.process.Endpoint * endpoint}. * * The {@link Router#apply} method of the created hierarchical router returns the unchanged request and an empty * continuation iterator. * * @param endpoint a server-side endpoint to be wrapped in a router instance. * @return a router that wraps the supplied endpoint. */ public static Router endpoint(final Endpoint endpoint) { return new EndpointRouter(endpoint); }
/** * Creates a terminal {@link Router} that wraps the given {@link org.glassfish.jersey.server.internal.process.Endpoint * endpoint}. * * The {@link Router#apply} method of the created hierarchical router returns the unchanged request and an empty * continuation iterator. * * @param endpoint a server-side endpoint to be wrapped in a router instance. * @return a router that wraps the supplied endpoint. */ public static Router endpoint(final Endpoint endpoint) { return new EndpointRouter(endpoint); }
/** * Creates a terminal {@link Router} that wraps the given {@link org.glassfish.jersey.server.internal.process.Endpoint * endpoint}. * * The {@link Router#apply} method of the created hierarchical router returns the unchanged request and an empty * continuation iterator. * * @param endpoint a server-side endpoint to be wrapped in a router instance. * @return a router that wraps the supplied endpoint. */ public static Router endpoint(final Endpoint endpoint) { return new EndpointRouter(endpoint); }
/** * Creates a terminal {@link Router} that wraps the given {@link org.glassfish.jersey.server.internal.process.Endpoint * endpoint}. * * The {@link Router#apply} method of the created hierarchical router returns the unchanged request and an empty * continuation iterator. * * @param endpoint a server-side endpoint to be wrapped in a router instance. * @return a router that wraps the supplied endpoint. */ public static Router endpoint(final Endpoint endpoint) { return new EndpointRouter(endpoint); }
/** * Creates a terminal {@link Router} that wraps the given {@link org.glassfish.jersey.server.internal.process.Endpoint * endpoint}. * * The {@link Router#apply} method of the created hierarchical router returns the unchanged request and an empty * continuation iterator. * * @param endpoint a server-side endpoint to be wrapped in a router instance. * @return a router that wraps the supplied endpoint. */ public static Router endpoint(final Endpoint endpoint) { return new EndpointRouter(endpoint); }
/** * Creates a terminal {@link Router} that wraps the given {@link org.glassfish.jersey.server.internal.process.Endpoint * endpoint}. * * The {@link Router#apply} method of the created hierarchical router returns the unchanged request and an empty * continuation iterator. * * @param endpoint a server-side endpoint to be wrapped in a router instance. * @return a router that wraps the supplied endpoint. */ public static Router endpoint(final Endpoint endpoint) { return new EndpointRouter(endpoint); }
/** * Creates a terminal {@link Router} that wraps the given {@link org.glassfish.jersey.server.internal.process.Endpoint * endpoint}. * * The {@link Router#apply} method of the created hierarchical router returns the unchanged request and an empty * continuation iterator. * * @param endpoint a server-side endpoint to be wrapped in a router instance. * @return a router that wraps the supplied endpoint. */ public static Router endpoint(final Endpoint endpoint) { return new EndpointRouter(endpoint); }