Uses of Class
org.forgerock.util.promise.NeverThrowsException
-
Packages that use NeverThrowsException 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 CoreFilter
implementations.org.forgerock.http.filter.cors Support for CORS.org.forgerock.http.handler CoreHandler
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.session Provides interfaces for managing and interacting with HTTP Sessions.org.forgerock.http.spi HTTP service provider API.org.forgerock.json Provides an API for the traversal and manipulation of JSON object model structures in Java.org.forgerock.json.jose.jws Classes and interfaces for JWT signing and JWS'.org.forgerock.openam.secrets The AM supporting classes for centrally configuring secrets.org.forgerock.opendj.ldap Classes and interfaces for core types including connections, entries, and attributes.org.forgerock.secrets Provides a unified API for accessing secrets of various kinds.org.forgerock.secrets.gcp.sm Classes for integrating Google Secret Manager into the ForgeRock Secrets API.org.forgerock.secrets.gcpkms A secret store implementation that can retrieve keys from a Google Cloud Platform Key Management Service.org.forgerock.secrets.jwkset Secret store backend for retrieving keys from a local or remote JWK Set.org.forgerock.secrets.keystore Implementations ofSecretStore
for accessing keys stored in Java KeyStores, such as PKCS#11 Hardware Security Modules (HSMs) and PKCS#12 file-based encrypted key stores.org.forgerock.secrets.propertyresolver Provides aSecretStore
implementation that loads secrets from a Common ConfigurationPropertyResolver
and then decodes it with aSecretPropertyFormat
.org.forgerock.util.promise An implementation of thePromise
API in Java. -
-
Uses of NeverThrowsException in org.forgerock.caf.authentication.framework
Methods in org.forgerock.caf.authentication.framework that return types with arguments of type NeverThrowsException 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. -
Uses of NeverThrowsException in org.forgerock.http
Methods in org.forgerock.http that return types with arguments of type NeverThrowsException 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 NeverThrowsException in org.forgerock.http.filter
Methods in org.forgerock.http.filter that return types with arguments of type NeverThrowsException 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 NeverThrowsException in org.forgerock.http.filter.cors
Methods in org.forgerock.http.filter.cors that return types with arguments of type NeverThrowsException Modifier and Type Method Description Promise<Response,NeverThrowsException>
CorsFilter. filter(Context context, Request request, Handler next)
-
Uses of NeverThrowsException in org.forgerock.http.handler
Methods in org.forgerock.http.handler that return types with arguments of type NeverThrowsException 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 NeverThrowsException in org.forgerock.http.oauth2
Methods in org.forgerock.http.oauth2 that return types with arguments of type NeverThrowsException 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 NeverThrowsException in org.forgerock.http.protocol
Methods in org.forgerock.http.protocol that return types with arguments of type NeverThrowsException Modifier and Type Method Description Promise<InputStream,NeverThrowsException>
Entity. getRawContentInputStreamAsync()
Returns a promise of an input stream representing the raw content of this entity.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 <V,E extends Exception>
AsyncFunction<NeverThrowsException,V,E>Responses. noopExceptionAsyncFunction()
Utility method returning an empty async function, whose goal is to ease the transformation of aPromise
type.static <V,E extends Exception>
Function<NeverThrowsException,V,E>Responses. noopExceptionFunction()
Utility method returning an empty function, whose goal is to ease the transformation of aPromise
type.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. -
Uses of NeverThrowsException in org.forgerock.http.routing
Methods in org.forgerock.http.routing that return types with arguments of type NeverThrowsException 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 NeverThrowsException in org.forgerock.http.session
Methods in org.forgerock.http.session that return types with arguments of type NeverThrowsException Modifier and Type Method Description Promise<Session,NeverThrowsException>
AsyncSessionManager. loadAsync(Request request)
Loads a new Session for the givenRequest
. -
Uses of NeverThrowsException in org.forgerock.http.spi
Methods in org.forgerock.http.spi that return types with arguments of type NeverThrowsException Modifier and Type Method Description Promise<Response,NeverThrowsException>
HttpClient. sendAsync(Request request)
-
Uses of NeverThrowsException in org.forgerock.json
Methods in org.forgerock.json that return types with arguments of type NeverThrowsException Modifier and Type Method Description static Function<JsonValue,Boolean,NeverThrowsException>
JsonValueFunctions. parseBoolean()
Returns aBoolean
by converting the JsonValue usingJsonValue.asLong()
, or by parsing the JsonValue string usingBoolean.parseBoolean(String)
. -
Uses of NeverThrowsException in org.forgerock.json.jose.jws
Methods in org.forgerock.json.jose.jws that return types with arguments of type NeverThrowsException Modifier and Type Method Description Promise<SigningHandler,NeverThrowsException>
SigningManager. newVerificationHandler(Purpose<VerificationKey> purpose, String keyId)
Constructs a new SigningHandler configured for verifying with the provided secret purpose. -
Uses of NeverThrowsException in org.forgerock.openam.secrets
Methods in org.forgerock.openam.secrets that return types with arguments of type NeverThrowsException Modifier and Type Method Description <S extends Secret>
Promise<Stream<S>,NeverThrowsException>SecretsProviderFacade. getValidSecrets(DefaultingPurpose<S> defaultingPurpose, String instanceId)
Get a stream of the valid secrets for aDefaultingPurpose
.<S extends Secret>
Promise<Stream<S>,NeverThrowsException>SecretsProviderFacade. getValidSecrets(Purpose<S> purpose)
-
Uses of NeverThrowsException in org.forgerock.opendj.ldap
Methods in org.forgerock.opendj.ldap that return types with arguments of type NeverThrowsException Modifier and Type Method Description static <M,N>
Function<M,N,NeverThrowsException>Functions. constant(N constant)
Creates a function that returns constant value for any input.static <V> Promise<V,NeverThrowsException>
Utils. toPromiseNoError(io.reactivex.rxjava3.core.Single<V> single)
Transforms a Single into a Promise which do not throws exceptions.Constructor parameters in org.forgerock.opendj.ldap with type arguments of type NeverThrowsException Constructor Description ConsistentHashMap(Function<Object,Integer,NeverThrowsException> hashFunction)
Creates a new consistent hash map which will hash keys using the provided hash function. -
Uses of NeverThrowsException in org.forgerock.secrets
Methods in org.forgerock.secrets that return types with arguments of type NeverThrowsException Modifier and Type Method Description <S extends Secret>
Promise<Stream<S>,NeverThrowsException>SecretsProvider. getNamedOrValidSecrets(Purpose<S> purpose, String id)
If the given id is not null, then this returns the single named secret that corresponds to that stable id (or a stream of valid secrets for the givenpurpose
if no such secret exists), otherwise it returns all valid secrets for the given purpose.<S extends T>
Promise<Stream<S>,NeverThrowsException>SecretStore. getValid(Purpose<S> purpose)
Returns all valid secrets for the given purpose from this store.<S extends T>
Promise<Stream<S>,NeverThrowsException>ThreadPoolSecretStore. getValid(Purpose<S> purpose)
<S extends Secret>
Promise<Stream<S>,NeverThrowsException>SecretsProvider. getValidSecrets(Purpose<S> purpose)
Returns all secrets for the given purpose which have not yet expired. -
Uses of NeverThrowsException in org.forgerock.secrets.gcp.sm
Methods in org.forgerock.secrets.gcp.sm that return types with arguments of type NeverThrowsException Modifier and Type Method Description <S extends Secret>
Promise<Stream<S>,NeverThrowsException>GoogleSecretManagerSecretStore. getValid(Purpose<S> purpose)
-
Uses of NeverThrowsException in org.forgerock.secrets.gcpkms
Methods in org.forgerock.secrets.gcpkms that return types with arguments of type NeverThrowsException Modifier and Type Method Description <S extends CryptoKey>
Promise<Stream<S>,NeverThrowsException>GoogleKmsSecretStore. getValid(Purpose<S> purpose)
-
Uses of NeverThrowsException in org.forgerock.secrets.jwkset
Methods in org.forgerock.secrets.jwkset that return types with arguments of type NeverThrowsException Modifier and Type Method Description <S extends CryptoKey>
Promise<Stream<S>,NeverThrowsException>JwkSetSecretStore. getValid(Purpose<S> purpose)
-
Uses of NeverThrowsException in org.forgerock.secrets.keystore
Methods in org.forgerock.secrets.keystore that return types with arguments of type NeverThrowsException Modifier and Type Method Description <S extends CryptoKey>
Promise<Stream<S>,NeverThrowsException>KeyStoreSecretStore. getValid(Purpose<S> purpose)
-
Uses of NeverThrowsException in org.forgerock.secrets.propertyresolver
Methods in org.forgerock.secrets.propertyresolver that return types with arguments of type NeverThrowsException Modifier and Type Method Description <S extends Secret>
Promise<Stream<S>,NeverThrowsException>PropertyResolverSecretStore. getValid(Purpose<S> purpose)
Returns a stream of the active secret for the given purpose. -
Uses of NeverThrowsException in org.forgerock.util.promise
Methods in org.forgerock.util.promise that return types with arguments of type NeverThrowsException Modifier and Type Method Description static Promise<Void,NeverThrowsException>
Promises. allDone(Collection<Promise<?,?>> promises)
Returns aPromise
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 aPromise
which will be completed successfully once all of the provided promises have completed (successfully or not, including runtime exceptions), returning back thecontext
parameter.static <V,E extends Exception>
Function<NeverThrowsException,V,E>NeverThrowsException. neverThrown()
Utility method returning an empty function, whose goal is to ease the transformation of aPromise
type.static <V,E extends Exception>
AsyncFunction<NeverThrowsException,V,E>NeverThrowsException. neverThrownAsync()
Utility method returning an empty function, whose goal is to ease the transformation of aPromise
type.
-