Uses of Class
org.forgerock.http.protocol.Request
Package
Description
This package contains the client credentials OAuth2 API.
This package defines the core interfaces and classes to provide an asynchronous and improved
JASPI-like message authentication API.
This package defines the authentication framework classes for the authentication of messages
via authentication contexts and modules.
Models and manages elements of the Hypertext Transfer Protocol.
Core
Filter
implementations.Support for CORS.
Core
Handler
implementations.Processes HTTP message header fields.
This package provides APIs for OAuth 2.0 services implementations.
This package defines OpenAM specific logic needed to retrieve an
AccessTokenInfo
.Models and manages elements of the Hypertext Transfer Protocol.
Provides routing functionality for HTTP requests.
Provides interfaces for managing and interacting with HTTP Sessions.
HTTP service provider API.
Miscellaneous utility classes.
OAuth 2.0 ForgeRock Client Implementation.
Defines the core classes to implement OAuth2 for OpenAM.
A Secrets API backend that can obtain OAuth 2 access tokens from a token endpoint, along with a collection of
grant type handlers.
-
Uses of Request in org.forgerock.am.oauth2
Modifier and TypeMethodDescriptionAccessTokenRequest.getRequest()
Gets the originalRequest
that prompted this request for an access token. -
Uses of Request in org.forgerock.caf.authentication.api
Modifier and TypeMethodDescriptionMessageInfoContext.getRequest()
Gets the request object from thisMessageContextInfo
.Modifier and TypeMethodDescriptionvoid
MessageInfoContext.setRequest
(Request request) Sets the request object for thisMessageContextInfo
. -
Uses of Request in org.forgerock.caf.authentication.framework
Modifier and TypeMethodDescriptionAuthenticates incoming request messages and if successful calls the downstream filter or handler and then secures the returned response.void
MessageContextImpl.setRequest
(Request request) -
Uses of Request in org.forgerock.http
Modifier and TypeMethodDescriptionFilters the request and/or response of an exchange.Sends an HTTP request and returns aPromise
representing the pending HTTP response.Sends an HTTP request and returns aPromise
representing the pending HTTP response.Client.sendWithoutClose
(Request request) Sends an HTTP request and returns aPromise
representing the pending HTTP response.Client.sendWithoutClose
(Context context, Request request) Sends an HTTP request and returns aPromise
representing the pending HTTP response. -
Uses of Request in org.forgerock.http.filter
Modifier and TypeMethodDescriptionstatic BiPredicate<Context,
Request> Filters.matchRequestUriPath
(String regex) Returns aBiPredicate
which will only match requests whose URI path matches the provided regular expression.static BiPredicate<Context,
Request> Filters.matchRequestUriPath
(Pattern regex) Returns aBiPredicate
which will only match requests whose URI path matches the provided regular expression.Modifier and TypeMethodDescriptionHandles all OPTION requests to CREST resources, all other request methods are handled by theHandler
.Modifier and TypeMethodDescriptionstatic Filter
Filters.conditionalFilter
(Filter delegate, BiPredicate<Context, Request> condition) Create a Filter decorator that only delegates to the decorated filter if the supplied predicate returns true.CsrfFilter.Builder.excludeRequests
(Predicate<Request> predicate) Excludes requests that match the given predicate from the CSRF filter.CsrfFilter.Builder.excludeRequests
(Predicate<Request> predicate, String description) Excludes requests that match the given predicate from the CSRF filter. -
Uses of Request in org.forgerock.http.filter.cors
-
Uses of Request in org.forgerock.http.handler
-
Uses of Request in org.forgerock.http.header
Modifier and TypeMethodDescriptionstatic CookieHeader
Constructs a new header, initialized from the specified request message.static TransactionIdHeader
Constructs a new header, initialized from the specified request. -
Uses of Request in org.forgerock.http.oauth2
Modifier and TypeMethodDescriptionDeprecated.ResourceAccess.getRequiredScopes
(Context context, Request request) Returns the scopes required to access the resource.Modifier and TypeMethodDescriptiondefault Promise<AccessTokenInfo,
AccessTokenException> Resolves a given access token against an authorization server. -
Uses of Request in org.forgerock.http.oauth2.resolver
Modifier and TypeMethodDescriptionCachingAccessTokenResolver.resolve
(Context context, Supplier<Request, IOException> request, String token) OpenAmAccessTokenResolver.resolve
(Context context, Supplier<Request, IOException> request, String token) Deprecated.TokenIntrospectionAccessTokenResolver.resolve
(Context context, Supplier<Request, IOException> request, String token) -
Uses of Request in org.forgerock.http.protocol
Modifier and TypeMethodDescriptionSets the method to be performed on the resource.Sets the fully-qualified string URI of the resource being accessed.Sets the fully-qualified URI of the resource being accessed.Request.setVersion
(String version) Modifier and TypeMethodDescriptionRequest.lazyCopy()
Returns aSupplier
that will lazily copy the request object the first time it is accessed.Modifier and TypeMethodDescriptionvoid
Form.appendRequestQuery
(Request request) Appends the form as additional query parameters on an existing request URI.Form.fromRequestEntity
(Request request) Deprecated.Because Entity content should be read asynchronously.Form.fromRequestQuery
(Request request) Parses the query parameters of a request and stores them in this object.void
Form.toRequestEntity
(Request request) Populates a request with the necessary headers and entity for the form to be submitted as a POST with application/x-www-form-urlencoded content type.void
Form.toRequestQuery
(Request request) Sets a request URI with query parameters.ModifierConstructorDescriptionCreates a defensive copy of the givenrequest
message.RequestCookies
(Request request) Constructs a new request cookies object that reads cookies from the specified request. -
Uses of Request in org.forgerock.http.routing
Modifier and TypeMethodDescriptionprotected Pair<RouteMatcher<Request>,
Handler> Router.getSelfApiHandler()
static RouteMatcher<Request>
RouteMatchers.requestResourceApiVersionMatcher
(Version version) Creates aRouteMatcher
instance that matches the request resource API version with the provided version.static RouteMatcher<Request>
RouteMatchers.requestUriMatcher
(RoutingMode mode, String template) Creates aRouteMatcher
instance that matchesRequest
s with the provided mode and template.static RouteMatcher<Request>
RouteMatchers.selfApiMatcher()
A matcher to check if the request is for all versions of the API descriptor of the current path.protected RouteMatcher<Request>
Router.uriMatcher
(RoutingMode mode, String pattern) -
Uses of Request in org.forgerock.http.session
-
Uses of Request in org.forgerock.http.spi
-
Uses of Request in org.forgerock.http.util
Modifier and TypeMethodDescriptionstatic com.fasterxml.jackson.databind.ObjectWriter
Json.makeLocalizingObjectWriter
(com.fasterxml.jackson.databind.ObjectMapper mapper, Request request) Make an object writer that contains the locales from the request for serialization ofLocalizableString
instances. -
Uses of Request in org.forgerock.oauth.clients.oauth2
Modifier and TypeMethodDescriptionprotected Request
OAuth2Client.createRequestForUserInfoEndpoint
(String accessToken) Creates aRequest
for the user information endpoint of an identity provider.Modifier and TypeMethodDescriptionprotected Promise<Request,
OAuthException> OAuth2Client.createRequestForIntrospectEndpoint
(String accessToken) Creates aRequest
for the introspect endpoint of an identity provider.protected Promise<Request,
OAuthException> OAuth2Client.createRequestForTokenEndpoint
(String code) Deprecated.UseOAuth2Client.createAuthRedirectUri(String, String)
and specify a PKCE verifier.protected Promise<Request,
OAuthException> OAuth2Client.createRequestForTokenEndpoint
(String code, String pkceVerifier) Creates aRequest
for the token endpoint of an identity provider.protected Promise<Request,
OAuthException> OAuth2Client.createRequestForTokenRefresh
(JsonValue storedData) Creates aRequest
for the token refresh endpoint of an identity provider. -
Uses of Request in org.forgerock.oauth2.core
-
Uses of Request in org.forgerock.secrets.oauth2
Modifier and TypeMethodDescriptionprotected Promise<Form,
NoSuchSecretException> protected Promise<Form,
NoSuchSecretException> Handles the request by adding appropriate parameters to the OAuth 2.0 token endpoint request.protected Promise<Form,
NoSuchSecretException> protected Promise<Form,
NoSuchSecretException> protected Promise<Form,
NoSuchSecretException>