Package | Description |
---|---|
org.forgerock.caf.authentication.framework |
This package defines the authentication framework classes for the authentication of messages
via authentication contexts and modules.
|
org.forgerock.http |
Models and manages elements of the Hypertext Transfer Protocol.
|
org.forgerock.http.filter |
Core
Filter implementations. |
org.forgerock.http.handler |
Core
Handler implementations. |
org.forgerock.http.oauth2 |
This package provides APIs for OAuth 2.0 services implementations.
|
org.forgerock.http.protocol |
Models and manages elements of the Hypertext Transfer Protocol.
|
org.forgerock.http.routing |
Provides routing functionality for HTTP requests.
|
org.forgerock.http.spi |
HTTP service provider API.
|
org.forgerock.opendj.ldap |
Classes and interfaces for core types including connections, entries, and
attributes.
|
org.forgerock.util.promise |
An implementation of the
Promise API in Java. |
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 | Method and Description |
---|---|
Promise<Response,NeverThrowsException> |
Filter.filter(Context context,
Request request,
Handler next)
Filters the request and/or response of an exchange.
|
Promise<Response,NeverThrowsException> |
Handler.handle(Context context,
Request request)
|
Promise<Response,NeverThrowsException> |
Client.send(Context context,
Request request)
Sends an HTTP request and returns a
Promise representing the
pending HTTP response. |
Promise<Response,NeverThrowsException> |
Client.send(Request request)
Sends an HTTP request and returns a
Promise representing the
pending HTTP response. |
Promise<Response,NeverThrowsException> |
Client.sendWithoutClose(Context context,
Request request)
Sends an HTTP request and returns a
Promise representing the
pending HTTP response. |
Promise<Response,NeverThrowsException> |
Client.sendWithoutClose(Request request)
Sends an HTTP request and returns a
Promise representing the
pending HTTP response. |
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 |
---|---|
Promise<Response,NeverThrowsException> |
HttpClientHandler.handle(Context context,
Request request)
Sends an HTTP request to a remote server and returns a
Promise
representing the asynchronous response. |
Modifier and Type | Method and Description |
---|---|
Promise<Response,NeverThrowsException> |
ResourceServerFilter.filter(Context context,
Request request,
Handler next) |
Modifier and Type | Method and Description |
---|---|
static <E extends Exception> |
Responses.internalServerError()
Utility method returning an async function that creates a
Response with status
Status.INTERNAL_SERVER_ERROR and the exception set as the cause. |
static Promise<Response,NeverThrowsException> |
Response.newResponsePromise(Response response)
Returns a
Promise representing the Response for an
asynchronous Request which has already completed. |
static PromiseImpl<Response,NeverThrowsException> |
Response.newResponsePromiseImpl()
|
static <V,E extends Exception> |
Responses.noopExceptionFunction()
Utility method returning an empty function, whose goal is to ease the transformation of a
Promise type. |
static <E extends Exception> |
Responses.onExceptionInternalServerError()
Utility function that returns a
Response whose status is Status.INTERNAL_SERVER_ERROR and the
exception attached to the response as the cause. |
Modifier and Type | Method and Description |
---|---|
Promise<Response,NeverThrowsException> |
ResourceApiVersionRoutingFilter.filter(Context context,
Request request,
Handler next) |
Promise<Response,NeverThrowsException> |
Router.handle(Context context,
Request request) |
Modifier and Type | Method and Description |
---|---|
Promise<Response,NeverThrowsException> |
HttpClient.sendAsync(Request request)
|
Modifier and Type | Method and Description |
---|---|
static <M,N> Function<M,N,NeverThrowsException> |
Functions.constant(N constant)
Creates a function that returns constant value for any input.
|
Constructor and Description |
---|
ConsistentHashMap(Function<Object,Integer,NeverThrowsException> hashFunction)
Creates a new consistent hash map which will hash keys using the provided hash function.
|
Modifier and Type | Method and Description |
---|---|
static Promise<Void,NeverThrowsException> |
Promises.allDone(Collection<Promise<?,?>> promises)
Returns a
Promise which will be completed successfully once all of the
provided promises have completed (successfully or not, including runtime exceptions). |
static <V> Promise<V,NeverThrowsException> |
Promises.allDone(Collection<Promise<?,?>> promises,
V context)
Returns a
Promise which will be completed successfully once all of the
provided promises have completed (successfully or not, including runtime exceptions),
returning back the context parameter. |
Copyright © 2010-2020, ForgeRock All Rights Reserved.