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 CoreFilterimplementations.org.forgerock.http.filter.cors Support for CORS.org.forgerock.http.handler CoreHandlerimplementations.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 ResponseLivenessCheckEndpoint. isAlive()Checks whether the AM instance is alive.ResponseReadinessCheckEndpoint. 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 ResponseMessageInfoContext. getResponse()Gets the response object from thisMessageContextInfo.Methods in org.forgerock.caf.authentication.api with parameters of type Response Modifier and Type Method Description voidMessageInfoContext. 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 ResponseMessageContextImpl. 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 voidMessageContextImpl. 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 aPromiserepresenting the pending HTTP response.Promise<Response,NeverThrowsException>Client. send(Context context, Request request)Sends an HTTP request and returns aPromiserepresenting the pending HTTP response.Promise<Response,NeverThrowsException>Client. sendWithoutClose(Request request)Sends an HTTP request and returns aPromiserepresenting the pending HTTP response.Promise<Response,NeverThrowsException>Client. sendWithoutClose(Context context, Request request)Sends an HTTP request and returns aPromiserepresenting 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 ResponseCorsPolicy. 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 voidCorsPolicy. 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 aPromiserepresenting 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 SetCookie2HeaderSetCookie2Header. 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 SetCookieHeaderSetCookieHeader. valueOf(Response response)Constructs a new header, initialized from the specified response message.static WwwAuthenticateHeaderWwwAuthenticateHeader. valueOf(Response response)Obtain aWwwAuthenticateHeaderrepresentation 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 ResponseResponse. addTrailers(Header... trailers)Add one or more trailers, aka trailing headers, to the response.ResponseResponseException. getResponse()Returns the response associated to this exception.static ResponseResponses. newForbidden()Generates an empty Forbidden response (403).static ResponseResponses. newInternalServerError()Generates an empty Internal Server Error response (500).static ResponseResponses. newInternalServerError(Exception exception)Generates an Internal Server Error response (500) containing the cause of the error response.static ResponseResponses. newNotFound()Generates an empty Not Found response (404).ResponseResponse. putTrailers(Header... trailers)Put one or more trailers, aka trailing headers, to the response.ResponseResponse. setCause(Exception cause)Link a 'caused by' exception to this response.ResponseResponse. setEntity(Object o)ResponseResponse. setStatus(Status status)Sets the response status code.ResponseResponse. 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.ResponseResponse. 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 aResponsewith statusStatus.INTERNAL_SERVER_ERRORand the exception set as the cause.static Promise<Response,NeverThrowsException>Response. newResponsePromise(Response response)Returns aPromiserepresenting theResponsefor an asynchronousRequestwhich has already completed.static PromiseImpl<Response,NeverThrowsException>Response. newResponsePromiseImpl()static <E extends Exception>
Function<E,Response,NeverThrowsException>Responses. onExceptionInternalServerError()Utility function that returns aResponsewhose status isStatus.INTERNAL_SERVER_ERRORand 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 aPromiserepresenting theResponsefor an asynchronousRequestwhich 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 givenresponsemessage.ResponseException(Response response)Constructs a ResponseException using the givenresponse.ResponseException(Response response, String message, Throwable cause)Constructs a ResponseException using the givenresponse,messageand 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 voidSessionManager. 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()AnAsyncFunctionthat handles aResponsefrom an Auth Server that returns the HTTP entity content as JsonValue, and throws anOAuthExceptionif the response is not successful (200 family status code), or if the content is not a valid JSON.
-