Uses of Class
org.forgerock.http.protocol.Response
-
Packages that use Response Package Description org.forgerock.am.health Contains consumable services and endpoints used for monitoring AMs health.org.forgerock.caf.authentication.api This package defines the core interfaces and classes to provide an asynchronous and improved JASPI-like message authentication API.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 CoreFilter
implementations.org.forgerock.http.filter.cors Support for CORS.org.forgerock.http.handler CoreHandler
implementations.org.forgerock.http.header Processes HTTP message header fields.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.session Provides interfaces for managing and interacting with HTTP Sessions.org.forgerock.http.spi HTTP service provider API.org.forgerock.oauth.clients.oauth2 OAuth 2.0 ForgeRock Client Implementation. -
-
Uses of Response in org.forgerock.am.health
Methods in org.forgerock.am.health that return Response Modifier and Type Method Description Response
LivenessCheckEndpoint. isAlive()
Checks whether the AM instance is alive.Response
ReadinessCheckEndpoint. isReady()
Checks the AM instance is ready. -
Uses of Response in org.forgerock.caf.authentication.api
Methods in org.forgerock.caf.authentication.api that return Response Modifier and Type Method Description Response
MessageInfoContext. getResponse()
Gets the response object from thisMessageContextInfo
.Methods in org.forgerock.caf.authentication.api with parameters of type Response Modifier and Type Method Description void
MessageInfoContext. setResponse(Response response)
Sets the response object for thisMessageContextInfo
. -
Uses of Response in org.forgerock.caf.authentication.framework
Methods in org.forgerock.caf.authentication.framework that return Response Modifier and Type Method Description Response
MessageContextImpl. getResponse()
Methods in org.forgerock.caf.authentication.framework that return types with arguments of type Response Modifier and Type Method 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.Methods in org.forgerock.caf.authentication.framework with parameters of type Response Modifier and Type Method Description void
MessageContextImpl. setResponse(Response response)
-
Uses of Response in org.forgerock.http
Methods in org.forgerock.http that return types with arguments of type Response Modifier and Type Method 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(Request request)
Sends an HTTP request and returns aPromise
representing the pending HTTP response.Promise<Response,NeverThrowsException>
Client. send(Context context, Request request)
Sends an HTTP request and returns aPromise
representing the pending HTTP response.Promise<Response,NeverThrowsException>
Client. sendWithoutClose(Request request)
Sends an HTTP request and returns aPromise
representing the pending HTTP response.Promise<Response,NeverThrowsException>
Client. sendWithoutClose(Context context, Request request)
Sends an HTTP request and returns aPromise
representing the pending HTTP response. -
Uses of Response in org.forgerock.http.filter
Methods in org.forgerock.http.filter that return types with arguments of type Response Modifier and Type Method Description Promise<Response,NeverThrowsException>
CsrfFilter. 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 theHandler
.Promise<Response,NeverThrowsException>
TransactionIdInboundFilter. filter(Context context, Request request, Handler next)
Promise<Response,NeverThrowsException>
TransactionIdOutboundFilter. filter(Context context, Request request, Handler next)
-
Uses of Response in org.forgerock.http.filter.cors
Methods in org.forgerock.http.filter.cors that return Response Modifier and Type Method Description Response
CorsPolicy. handlePreflight(Request request, String origin)
Produces the response for a CORS preflight request.Methods in org.forgerock.http.filter.cors that return types with arguments of type Response Modifier and Type Method Description Promise<Response,NeverThrowsException>
CorsFilter. filter(Context context, Request request, Handler next)
Methods in org.forgerock.http.filter.cors with parameters of type Response Modifier and Type Method Description void
CorsPolicy. handleActual(Response response, String origin)
Handles the response of an actual CORS request. -
Uses of Response in org.forgerock.http.handler
Methods in org.forgerock.http.handler that return types with arguments of type Response Modifier and Type Method Description Promise<Response,NeverThrowsException>
HttpClientHandler. handle(Context context, Request request)
Sends an HTTP request to a remote server and returns aPromise
representing the asynchronous response. -
Uses of Response in org.forgerock.http.header
Methods in org.forgerock.http.header with parameters of type Response Modifier and Type Method Description static SetCookie2Header
SetCookie2Header. valueOf(Response response)
Deprecated, for removal: This API element is subject to removal in a future version.Constructs a new header, initialized from the specified response message.static SetCookieHeader
SetCookieHeader. valueOf(Response response)
Constructs a new header, initialized from the specified response message.static WwwAuthenticateHeader
WwwAuthenticateHeader. valueOf(Response response)
Obtain aWwwAuthenticateHeader
representation of the headers in the given response. -
Uses of Response in org.forgerock.http.oauth2
Methods in org.forgerock.http.oauth2 that return types with arguments of type Response Modifier and Type Method Description Promise<Response,NeverThrowsException>
ClientSecretBasicAuthenticationFilter. filter(Context context, Request request, Handler next)
Deprecated.Promise<Response,NeverThrowsException>
ClientSecretPostAuthenticationFilter. filter(Context context, Request request, Handler next)
Promise<Response,NeverThrowsException>
PrivateKeyJwtClientAuthenticationFilter. filter(Context context, Request request, Handler next)
Promise<Response,NeverThrowsException>
ResourceServerFilter. filter(Context context, Request request, Handler next)
-
Uses of Response in org.forgerock.http.protocol
Methods in org.forgerock.http.protocol that return Response Modifier and Type Method Description Response
Response. addTrailers(Header... trailers)
Add one or more trailers, aka trailing headers, to the response.Response
ResponseException. getResponse()
Returns the response associated to this exception.static Response
Responses. newForbidden()
Generates an empty Forbidden response (403).static Response
Responses. newInternalServerError()
Generates an empty Internal Server Error response (500).static Response
Responses. newInternalServerError(Exception exception)
Generates an Internal Server Error response (500) containing the cause of the error response.static Response
Responses. newNotFound()
Generates an empty Not Found response (404).Response
Response. putTrailers(Header... trailers)
Put one or more trailers, aka trailing headers, to the response.Response
Response. setCause(Exception cause)
Link a 'caused by' exception to this response.Response
Response. setEntity(Object o)
Response
Response. setStatus(Status status)
Sets the response status code.Response
Response. setStreamingContent(boolean streamingContent)
Set that the response's content has to be considered as a streaming and thus some special treatments may apply on it.Response
Response. setVersion(String version)
Methods in org.forgerock.http.protocol that return types with arguments of type Response Modifier and Type Method Description static <E extends Exception>
AsyncFunction<E,Response,NeverThrowsException>Responses. internalServerError()
Utility method returning an async function that creates aResponse
with statusStatus.INTERNAL_SERVER_ERROR
and the exception set as the cause.static Promise<Response,NeverThrowsException>
Response. newResponsePromise(Response response)
Returns aPromise
representing theResponse
for an asynchronousRequest
which has already completed.static PromiseImpl<Response,NeverThrowsException>
Response. newResponsePromiseImpl()
static <E extends Exception>
Function<E,Response,NeverThrowsException>Responses. onExceptionInternalServerError()
Utility function that returns aResponse
whose status isStatus.INTERNAL_SERVER_ERROR
and the exception attached to the response as the cause.Methods in org.forgerock.http.protocol with parameters of type Response Modifier and Type Method Description static Promise<Response,NeverThrowsException>
Response. newResponsePromise(Response response)
Returns aPromise
representing theResponse
for an asynchronousRequest
which has already completed.Constructors in org.forgerock.http.protocol with parameters of type Response Constructor Description Response(Response response)
Creates a defensive copy of the givenresponse
message.ResponseException(Response response)
Constructs a ResponseException using the givenresponse
.ResponseException(Response response, String message, Throwable cause)
Constructs a ResponseException using the givenresponse
,message
and parentcause
. -
Uses of Response in org.forgerock.http.routing
Methods in org.forgerock.http.routing that return types with arguments of type Response Modifier and Type Method Description Promise<Response,NeverThrowsException>
ResourceApiVersionRoutingFilter. filter(Context context, Request request, Handler next)
Promise<Response,NeverThrowsException>
Router. handle(Context context, Request request)
-
Uses of Response in org.forgerock.http.session
Methods in org.forgerock.http.session with parameters of type Response Modifier and Type Method Description void
SessionManager. save(Session session, Response response)
Deprecated.Saves the session into the provided response.Promise<Void,IOException>
AsyncSessionManager. saveAsync(Session session, Response response)
Saves the session into the provided response. -
Uses of Response in org.forgerock.http.spi
Methods in org.forgerock.http.spi that return types with arguments of type Response Modifier and Type Method Description Promise<Response,NeverThrowsException>
HttpClient. sendAsync(Request request)
-
Uses of Response in org.forgerock.oauth.clients.oauth2
Methods in org.forgerock.oauth.clients.oauth2 that return types with arguments of type Response Modifier and Type Method Description protected static AsyncFunction<Response,JsonValue,OAuthException>
OAuth2Client. mapToJsonValue()
AnAsyncFunction
that handles aResponse
from an Auth Server that returns the HTTP entity content as JsonValue, and throws anOAuthException
if the response is not successful (200 family status code), or if the content is not a valid JSON.
-