Uses of Class
org.forgerock.json.JsonValueException
-
Packages that use JsonValueException Package Description org.forgerock.json Provides an API for the traversal and manipulation of JSON object model structures in Java.org.forgerock.json.resource Classes and interfaces for core types including connections, request handlers, resources, and their exceptions.org.forgerock.openig.heap Manages collections or "heaps" of associated objects, initialized from declarative configuration artifacts.org.forgerock.openig.util Miscellaneous utility classes. -
-
Uses of JsonValueException in org.forgerock.json
Methods in org.forgerock.json that return types with arguments of type JsonValueException Modifier and Type Method Description static Function<JsonValue,byte[],JsonValueException>JsonValueFunctions. base64Binary()Returns abyte[]by converting the JsonValue usingJsonValue.asString()and thenBase64-decoding the result.static Function<JsonValue,byte[],JsonValueException>JsonValueFunctions. base64urlBinary()Returns abyte[]by converting the JsonValue usingJsonValue.asString()and thenBase64url-decoding the result.static Function<JsonValue,Charset,JsonValueException>JsonValueFunctions. charset()Returns the JSON string value as a character set used for byte encoding/decoding.static Function<JsonValue,JsonValue,JsonValueException>JsonValueFunctions. deepTransformBy(Function<JsonValue,?,JsonValueException> function)Returns the JSON value as the result of a deep JsonValue object-traversal, applying the provided transformfunctionto each element.static Function<JsonValue,Duration,JsonValueException>JsonValueFunctions. duration()Returns the JSON string value as aDuration.static <T extends Enum<T>>
Function<JsonValue,T,JsonValueException>JsonValueFunctions. enumConstant(Class<T> type)Returns the JSON string value as an enum constant of the specified enum type.static Function<JsonValue,Instant,JsonValueException>JsonValueFunctions. epochSecondsInstant()Returns aInstantby converting the JsonValue into a number and interpreting that as the number of seconds since the UTC epoch as perInstant.ofEpochSecond(long).static Function<JsonValue,File,JsonValueException>JsonValueFunctions. file()Returns the JSON string value as aFileobject.static Function<JsonValue,JsonValue,JsonValueException>JsonValueFunctions. identity()Deprecated.useJsonValue::copydirectly insteadstatic Function<JsonValue,Instant,JsonValueException>JsonValueFunctions. instant()static Function<JsonValue,Optional<JsonValue>,JsonValueException>JsonValueFunctions. optional()Return anOptionalif the given JsonValue has a value, orOptional.empty()if the JsonValue contains a null value.static <T> Function<JsonValue,Optional<T>,JsonValueException>JsonValueFunctions. optionalOf(Function<JsonValue,T,JsonValueException> mappingFunction)Return anOptionalof a new type if the given JsonValue has a value, orOptional.empty()if the JsonValue contains a null value.static Function<JsonValue,Pattern,JsonValueException>JsonValueFunctions. pattern()Returns the JSON string value as a regular expression pattern.static Function<JsonValue,JsonPointer,JsonValueException>JsonValueFunctions. pointer()Returns the JSON string value as a JSON pointer.static <V> Function<JsonValue,Set<V>,JsonValueException>JsonValueFunctions. setOf(Class<V> type)Returns the JSON value as aSetcontaining objects whose type (and value) is specified by the parametertype.static Function<JsonValue,List<String>,JsonValueException>JsonValueFunctions. stringOrListOfStrings()Return a list of string values from the given JsonValue.static Function<JsonValue,URI,JsonValueException>JsonValueFunctions. uri()Returns the JSON string value as a uniform resource identifier.static Function<JsonValue,URL,JsonValueException>JsonValueFunctions. url()Returns the JSON string value as a uniform resource locator.static Function<JsonValue,UUID,JsonValueException>JsonValueFunctions. uuid()Returns the JSON string value as a universally unique identifier (UUID).Method parameters in org.forgerock.json with type arguments of type JsonValueException Modifier and Type Method Description static Function<JsonValue,JsonValue,JsonValueException>JsonValueFunctions. deepTransformBy(Function<JsonValue,?,JsonValueException> function)Returns the JSON value as the result of a deep JsonValue object-traversal, applying the provided transformfunctionto each element.static <T> Function<JsonValue,Optional<T>,JsonValueException>JsonValueFunctions. optionalOf(Function<JsonValue,T,JsonValueException> mappingFunction)Return anOptionalof a new type if the given JsonValue has a value, orOptional.empty()if the JsonValue contains a null value.Constructor parameters in org.forgerock.json with type arguments of type JsonValueException Constructor Description JsonValueTraverseFunction(Function<JsonValue,?,JsonValueException> transform)Construct the traversal function with a transformation function to apply to each array element nested object attribute value element, or primitive element. -
Uses of JsonValueException in org.forgerock.json.resource
Methods in org.forgerock.json.resource that return types with arguments of type JsonValueException Modifier and Type Method Description static Function<JsonValue,QueryFilter<JsonPointer>,JsonValueException>JsonValueFunctions. queryFilter()Parses and returns the JSON string value as aQueryFilter.static Function<JsonValue,ResourcePath,JsonValueException>JsonValueFunctions. resourcePath()Returns the JSON string value as aResourcePath. -
Uses of JsonValueException in org.forgerock.openig.heap
Methods in org.forgerock.openig.heap that return types with arguments of type JsonValueException Modifier and Type Method Description Function<JsonValue,JsonValue,JsonValueException>GenericHeaplet. evaluatedWithHeapProperties()Returns a function that will evaluate the expression hold by aJsonValueusing the properties defined in the heap of this Heaplet.protected <T> Function<JsonValue,Expression<T>,JsonValueException>GenericHeaplet. expression(Class<T> type)Returns a function that will create anExpressionfrom the string by theJsonValueusing the bindings defined in the heap of this Heaplet as initial bindings. -
Uses of JsonValueException in org.forgerock.openig.util
Methods in org.forgerock.openig.util that return types with arguments of type JsonValueException Modifier and Type Method Description static Function<JsonValue,Bindings,JsonValueException>JsonValues. bindings()Returns a function that will create some bindings based of a Map-basedJsonValue.static Function<JsonValue,Bindings,JsonValueException>JsonValues. bindings(Bindings bindings)Returns a function that will create some bindings based of a Map-basedJsonValue.static Function<JsonValue,SecretReference<GenericSecret>,JsonValueException>JsonValues. constantSecretReference()Returns aSecretReference.constant(Secret)from aGenericSecretattribute value.static Function<JsonValue,EncryptionMethod,JsonValueException>JsonValues. encryptionMethod()Returns a function that transforms the JSON value to aEncryptionMethodobject.static Function<JsonValue,JsonValue,JsonValueException>JsonValues. evaluated()Returns a function that will evaluate all String nodes.static Function<JsonValue,JsonValue,JsonValueException>JsonValues. evaluated(Bindings bindings)Returns a function that will evaluate all String nodes.static <T> Function<JsonValue,Expression<T>,JsonValueException>JsonValues. expression(Class<T> type)Returns a function for transforming JsonValues to expressions.static <T> Function<JsonValue,Expression<T>,JsonValueException>JsonValues. expression(Class<T> type, Bindings bindings)Returns a function for transforming JsonValues to expressions.static Function<JsonValue,String,JsonValueException>JsonValues. heapObjectNameOrPointer()Returns a function that will look for the name of the object.static Function<JsonValue,Instant,JsonValueException>JsonValues. instant()static Function<JsonValue,Duration,JsonValueException>JsonValues. javaDuration()static <T> Function<JsonValue,LeftValueExpression<T>,JsonValueException>JsonValues. leftValueExpression(Class<T> type)Returns a function for transforming JsonValues to left-value expressions.static Function<JsonValue,Optional<JsonValue>,JsonValueException>JsonValues. optional()static <T> Function<JsonValue,Optional<T>,JsonValueException>JsonValues. optionalOf(Function<JsonValue,T,JsonValueException> delegate)Returns a wrapping function returning anOptionalresult of the givendelegatefunction.static Function<JsonValue,Integer,JsonValueException>JsonValues. positiveInteger()static Function<JsonValue,Duration,JsonValueException>JsonValues. positiveLimitedDuration(Duration defaultDuration)Transform duration configuration to aDuration, enforcing that its value is positive (non-zero) and limited.static Function<JsonValue,Properties,JsonValueException>JsonValues. properties()Returns a function that transforms the JSON value to aPropertiesobject.static <S extends Secret>
Function<JsonValue,Purpose<S>,JsonValueException>JsonValues. purposeOf(Class<S> type)static Function<JsonValue,JsonValue,JsonValueException>JsonValues. required(String message)Displays a custom message when the required attribute is not present in the configuration.static Function<JsonValue,JsonValue,JsonValueException>JsonValues. resolvedLocation()Returns a function that will resolve the field $location.static Function<JsonValue,JsonValue,JsonValueException>JsonValues. resolvedLocation(Bindings bindings)Returns a function that will resolve the field $location.static Function<JsonValue,SecretPropertyFormat,JsonValueException>JsonValues. secretPropertyFormat(Heap heap)Returns aSecretPropertyFormatobject from aJsonValue.static <S extends Secret>
Function<JsonValue,SecretReference<S>,JsonValueException>JsonValues. secretReferenceOf(Function<JsonValue,Purpose<S>,JsonValueException> purposeTransformer, SecretsProvider secretsProvider)Returns a function that returns aSecretReferencefor thePurposerepresented by the givenStringvalue label and known to the suppliedSecretsProvider.static Function<JsonValue,JsonValue,JsonValueException>JsonValues. slashEnded()Returns the JsonValue with its value ended by a slash.Method parameters in org.forgerock.openig.util with type arguments of type JsonValueException Modifier and Type Method Description static <T> Function<JsonValue,Optional<T>,JsonValueException>JsonValues. optionalOf(Function<JsonValue,T,JsonValueException> delegate)Returns a wrapping function returning anOptionalresult of the givendelegatefunction.static <S extends Secret>
Function<JsonValue,SecretReference<S>,JsonValueException>JsonValues. secretReferenceOf(Function<JsonValue,Purpose<S>,JsonValueException> purposeTransformer, SecretsProvider secretsProvider)Returns a function that returns aSecretReferencefor thePurposerepresented by the givenStringvalue label and known to the suppliedSecretsProvider.
-