Uses of Class
org.forgerock.util.promise.NeverThrowsException
-
Packages that use NeverThrowsException Package Description org.forgerock.json Provides an API for the traversal and manipulation of JSON object model structures in Java.org.forgerock.monitoring.http Common utility classes for monitoring.org.forgerock.opendj.ldap Classes and interfaces for core types including connections, entries, and attributes.org.forgerock.opendj.rest2ldap APIs for implementing REST to LDAP gateways.org.forgerock.opendj.rest2ldap.authz This package containsFilterto authenticate and authorize LDAP connections.org.forgerock.secrets Provides a unified API for accessing secrets of various kinds.org.forgerock.secrets.propertyresolver Provides aSecretStoreimplementation that loads secrets from a Common ConfigurationPropertyResolverand then decodes it with aSecretPropertyFormat.org.forgerock.util.promise An implementation of thePromiseAPI in Java.org.opends.server.protocols.http Contains the implementation for the Directory Server connection handler that is responsible for interacting with clients using HTTP. -
-
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 aBooleanby converting the JsonValue usingJsonValue.asLong(), or by parsing the JsonValue string usingBoolean.parseBoolean(String). -
Uses of NeverThrowsException in org.forgerock.monitoring.http
Methods in org.forgerock.monitoring.http that return types with arguments of type NeverThrowsException Modifier and Type Method Description Promise<org.forgerock.http.protocol.Response,NeverThrowsException>PrometheusHandler. handle(org.forgerock.services.context.Context context, org.forgerock.http.protocol.Request request) -
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(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.opendj.rest2ldap
Methods in org.forgerock.opendj.rest2ldap that return types with arguments of type NeverThrowsException Modifier and Type Method Description Promise<org.forgerock.http.protocol.Response,NeverThrowsException>ErrorLoggerFilter. filter(org.forgerock.services.context.Context context, org.forgerock.http.protocol.Request request, org.forgerock.http.Handler next)Method parameters in org.forgerock.opendj.rest2ldap with type arguments of type NeverThrowsException Modifier and Type Method Description protected ConditionalFilters.ConditionalFilterRest2LdapHttpApplication. newBasicAuthenticationFilter(AuthenticationStrategy authenticationStrategy, Function<org.forgerock.http.protocol.Headers,Pair<String,String>,NeverThrowsException> credentialsExtractor)Gets aFilterin charge of performing the HTTP-Basic Authentication. -
Uses of NeverThrowsException in org.forgerock.opendj.rest2ldap.authz
Methods in org.forgerock.opendj.rest2ldap.authz that return types with arguments of type NeverThrowsException Modifier and Type Method Description static Function<org.forgerock.http.protocol.Headers,Pair<String,String>,NeverThrowsException>CredentialExtractors. httpBasicExtractor()Creates a function which extracts the user's credentials from the standard HTTP Basic header.static Function<org.forgerock.http.protocol.Headers,Pair<String,String>,NeverThrowsException>CredentialExtractors. newCustomHeaderExtractor(String customHeaderUsername, String customHeaderPassword)Creates a function which extracts the user's credentials from custom HTTP header in addition of the standard HTTP Basic one.Method parameters in org.forgerock.opendj.rest2ldap.authz with type arguments of type NeverThrowsException Modifier and Type Method Description static ConditionalFilters.ConditionalFilterAuthorization. newConditionalHttpBasicAuthenticationFilter(AuthenticationStrategy authenticationStrategy, Function<org.forgerock.http.protocol.Headers,Pair<String,String>,NeverThrowsException> credentialsExtractor)Creates a newConditionalFilters.ConditionalFilterperforming authentication. -
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 givenpurposeif 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.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 aPromisewhich 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 aPromisewhich will be completed successfully once all of the provided promises have completed (successfully or not, including runtime exceptions), returning back thecontextparameter.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 aPromisetype.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 aPromisetype. -
Uses of NeverThrowsException in org.opends.server.protocols.http
Methods in org.opends.server.protocols.http that return types with arguments of type NeverThrowsException Modifier and Type Method Description Promise<org.forgerock.http.protocol.Response,NeverThrowsException>CommonAuditHttpAccessAuditFilter. filter(org.forgerock.services.context.Context context, org.forgerock.http.protocol.Request request, org.forgerock.http.Handler next)
-