Modifier and Type | Method and Description |
---|---|
Handler |
AuditHttpApplication.start() |
Modifier and Type | Method and Description |
---|---|
Handler |
AuthzHttpApplication.start() |
Modifier and Type | Method and Description |
---|---|
Promise<Response,NeverThrowsException> |
AuthenticationFilter.filter(Context context,
Request request,
Handler next)
Authenticates incoming request messages and if successful calls the downstream filter or
handler and then secures the returned response.
|
Modifier and Type | Class and Description |
---|---|
class |
ProtectedResource
A protected resource which will set a header on the response to signify that it has been called and write a JSON
string to the response containing the principal and context from the request attributes.
|
Modifier and Type | Method and Description |
---|---|
Handler |
JaspiHttpApplication.start() |
Modifier and Type | Method and Description |
---|---|
Handler |
HttpApplication.start()
Gets the root
Handler that will handle all HTTP requests. |
Modifier and Type | Method and Description |
---|---|
static DescribedHttpApplication |
Applications.describedHttpApplication(Handler handler,
Factory<Buffer> storage,
ApiProducer<io.swagger.models.Swagger> apiProducer)
Create a simple
DescribedHttpApplication that just returns the provided arguments from the appropriate
methods. |
Promise<Response,NeverThrowsException> |
Filter.filter(Context context,
Request request,
Handler next)
Filters the request and/or response of an exchange.
|
static HttpApplication |
Applications.simpleHttpApplication(Handler handler,
Factory<Buffer> storage)
Create a simple
HttpApplication that just returns the provided arguments from the appropriate methods. |
Constructor and Description |
---|
Client(Handler handler)
Creates a new
Client which will route HTTP requests to the
provided Handler using a RootContext allocated during
construction when none is provided. |
Client(Handler handler,
Context defaultContext)
|
Modifier and Type | Class and Description |
---|---|
class |
DescribedOauth2Endpoint
A described CHF Handler that implements a crude OAuth 2.0 AS.
|
Modifier and Type | Method and Description |
---|---|
Promise<Response,NeverThrowsException> |
TransactionIdOutboundFilter.filter(Context context,
Request request,
Handler next) |
Promise<Response,NeverThrowsException> |
TransactionIdInboundFilter.filter(Context context,
Request request,
Handler next) |
Promise<Response,NeverThrowsException> |
OptionsFilter.filter(Context context,
Request request,
Handler next)
Handles all OPTION requests to CREST resources, all other request methods are handled by the
Handler . |
Modifier and Type | Method and Description |
---|---|
static org.glassfish.grizzly.http.server.HttpHandler |
GrizzlySupport.newGrizzlyHttpHandler(Handler handler,
Factory<Buffer> storage)
Create a new Grizzly
HttpHandler from the given common HTTP Framework Handler . |
static org.glassfish.grizzly.http.server.HttpHandler |
GrizzlySupport.newGrizzlyHttpHandler(Handler handler,
Factory<Buffer> storage,
ApiProducer<io.swagger.models.Swagger> apiProducer)
Create a new Grizzly
HttpHandler from the given common HTTP Framework Handler . |
Modifier and Type | Interface and Description |
---|---|
interface |
DescribableHandler
A handler that both handles
Request s, and also supports querying for API Descriptors. |
Modifier and Type | Class and Description |
---|---|
class |
HttpClientHandler
An HTTP client for sending requests to remote servers.
|
Modifier and Type | Method and Description |
---|---|
static Handler |
Handlers.internalServerErrorHandler(Exception cause)
A common HTTP Framework
Handler responding 500 Internal Server Error. |
Modifier and Type | Method and Description |
---|---|
static DescribableHandler |
Handlers.asDescribableHandler(Handler handler)
Adapts a
Handler to a DescribableHandler without adding support for API Descriptions if it is
not already implemented. |
static DescribableHandler |
Handlers.chainOf(Handler handler,
Filter... filters)
Creates a
Handler which wraps the provided filters
around the provided target handler. |
static DescribableHandler |
Handlers.chainOf(Handler handler,
List<Filter> filters)
Creates a
Handler which wraps the provided filters
around the provided target handler. |
static DescribableHandler |
Handlers.filtered(Handler handler,
Filter filter)
Creates a "filtered handler" instance.
|
Modifier and Type | Method and Description |
---|---|
Promise<Response,NeverThrowsException> |
ResourceServerFilter.filter(Context context,
Request request,
Handler next) |
Constructor and Description |
---|
OpenAmAccessTokenResolver(Handler client,
TimeService time,
String tokenInfoEndpoint)
Creates a new
OpenAmAccessTokenResolver configured to access the given /oauth2/tokeninfo
OpenAm endpoint. |
Modifier and Type | Class and Description |
---|---|
class |
Router
A router which routes requests based on route matchers.
|
Modifier and Type | Method and Description |
---|---|
Promise<Response,NeverThrowsException> |
ResourceApiVersionRoutingFilter.filter(Context context,
Request request,
Handler next) |
Modifier and Type | Method and Description |
---|---|
Handler |
ExampleHttpApplication.start() |
Modifier and Type | Method and Description |
---|---|
Promise<Response,NeverThrowsException> |
OpenApiRequestFilter.filter(Context context,
Request request,
Handler next) |
Modifier and Type | Method and Description |
---|---|
static Handler |
CrestHttp.newHttpHandler(ConnectionFactory connectionFactory)
Deprecated.
Use
CrestHttp.newHttpHandler(CrestApplication) instead. |
static Handler |
CrestHttp.newHttpHandler(ConnectionFactory connectionFactory,
Context parentContext)
Deprecated.
Use
CrestHttp.newHttpHandler(CrestApplication) instead. |
static Handler |
CrestHttp.newHttpHandler(ConnectionFactory connectionFactory,
HttpContextFactory contextFactory)
Deprecated.
Use
CrestHttp.newHttpHandler(CrestApplication) instead. |
static Handler |
CrestHttp.newHttpHandler(CrestApplication application)
Creates a new JSON resource HTTP handler with the provided CREST request handler.
|
static Handler |
CrestHttp.newHttpHandler(CrestApplication application,
Context context)
Creates a new JSON resource HTTP handler with the provided CREST request handler.
|
static Handler |
CrestHttp.newHttpHandler(CrestApplication application,
HttpContextFactory factory)
Creates a new JSON resource HTTP handler with the provided CREST request handler.
|
static Handler |
CrestHttp.newHttpHandler(RequestHandler handler)
Deprecated.
Use
CrestHttp.newHttpHandler(CrestApplication) instead. |
Modifier and Type | Method and Description |
---|---|
static ConnectionFactory |
CrestHttp.newConnectionFactory(Handler handler,
URI uri)
Creates a new
ConnectionFactory that map back and forth JSON resource objects to CHF objects. |
static RequestHandler |
CrestHttp.newRequestHandler(Handler handler,
URI uri)
Creates a new
RequestHandler that map back and forth JSON resource objects to CHF objects. |
Modifier and Type | Method and Description |
---|---|
Handler |
CrestHttpApplication.start() |
Modifier and Type | Method and Description |
---|---|
Handler |
ExampleSelfServiceApplication.start() |
Copyright © 2025 Open Identity Platform Community. All rights reserved.