Uses of Class
org.forgerock.json.JsonValueException
Packages that use JsonValueException
Package
Description
Provides an API for the traversal and manipulation of JSON object model structures in Java.
Classes and interfaces for core types including connections, request
handlers, resources, and their exceptions.
Manages collections or "heaps" of associated objects, initialized from
declarative configuration artifacts.
Miscellaneous utility classes.
-
Uses of JsonValueException in org.forgerock.json
Methods in org.forgerock.json that return types with arguments of type JsonValueExceptionModifier and TypeMethodDescriptionstatic 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()Deprecated, for removal: This API element is subject to removal in a future version.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,Duration, JsonValueException> JsonValueFunctions.javaDuration()Returns the JSON string value as aDuration.static Function<JsonValue,Number, JsonValueException> JsonValueFunctions.numberInInclusiveRange(Number lower, Number upper) Returns a function that returns a number in the inclusive range oflowerandupper(ornull) from aJsonValue.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.JsonValueFunctions.pointer()Returns the JSON string value as a JSON pointer.static Function<JsonValue,Double, JsonValueException> JsonValueFunctions.positiveDouble()static Function<JsonValue,Integer, JsonValueException> JsonValueFunctions.positiveInteger()static <V> Function<JsonValue,Set<V>, JsonValueException> 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 JsonValueExceptionModifier and TypeMethodDescriptionstatic 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 JsonValueExceptionModifierConstructorDescriptionJsonValueTraverseFunction(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 JsonValueExceptionModifier and TypeMethodDescriptionJsonValueFunctions.queryFilter()Parses and returns the JSON string value as aQueryFilter.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 JsonValueExceptionModifier and TypeMethodDescriptionGenericHeaplet.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 JsonValueExceptionModifier and TypeMethodDescriptionstatic Function<JsonValue,Bindings, JsonValueException> JsonValues.bindings()Returns a function that will create some bindings based of a Map-basedJsonValue.static Function<JsonValue,Bindings, JsonValueException> Returns a function that will create some bindings based of a Map-basedJsonValue.JsonValues.constantSecretReference()Returns aSecretReference.constant(Secret)from aGenericSecretattribute value.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> 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,Instant, JsonValueException> JsonValues.instant()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,Duration, JsonValueException> JsonValues.limitedDuration(Duration defaultDuration) Transform duration configuration to aDuration, ensuring its value is limited.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,Duration, JsonValueException> JsonValues.positiveLimitedDuration(Duration defaultDuration) Transform duration configuration to aDuration, ensuring its value is positive and limited.JsonValues.properties()Returns a function that transforms the JSON value to aPropertiesobject.static <S extends Secret>
Function<JsonValue,Purpose<S>, JsonValueException> static Function<JsonValue,JsonValue, JsonValueException> 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.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.static Function<JsonValue,JsonValue, JsonValueException> JsonValues.trailingSlashRemoved()Returns the JsonValue with any trailing slash removed from the value.Method parameters in org.forgerock.openig.util with type arguments of type JsonValueExceptionModifier and TypeMethodDescriptionstatic <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.
JsonValueFunctions.javaDuration()instead