Uses of Class
org.forgerock.json.JsonValue
-
Packages that use JsonValue Package Description org.forgerock.audit Package contains the AuditService.org.forgerock.audit.events Package contains audit events.org.forgerock.audit.events.handlers This package contains the defaultAuditEventHandlers.org.forgerock.audit.events.handlers.buffering This package contains the batch publisher and its various implementations.org.forgerock.audit.filter Contains the classes for filtering audit events.org.forgerock.audit.handlers.csv This package contains the default AuditEventHandler implementations.org.forgerock.audit.handlers.elasticsearch This package contains the ElasticsearchAuditEventHandlerimplementation.org.forgerock.audit.handlers.jms This package contains a JMS AuditEventHandler implementation.org.forgerock.audit.handlers.json This package contains the JSON-fileAuditEventHandlerimplementation.org.forgerock.audit.handlers.json.stdout This package contains the JSON-stdoutAuditEventHandlerimplementation.org.forgerock.audit.handlers.splunk This package contains the audit handler implementation for Splunk.org.forgerock.audit.handlers.syslog This package contains a Syslog AuditEventHandler implementation.org.forgerock.audit.json This package contains utilities to build and configure audit service and handlers from JSON configuration.org.forgerock.audit.util This package contains utility classes used in the audit service.org.forgerock.config.resolvers This package contains the common config property resolvers.org.forgerock.config.util Contains utility classes for commons config.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.json.resource.http JSON resource Commons HTTP Framework integration.org.forgerock.json.schema.validator.exceptions Schema validator exceptions.org.forgerock.opendj.rest2ldap APIs for implementing REST to LDAP gateways.org.forgerock.opendj.server.core Classes implementing core server APIs.org.forgerock.tokenhandler Provides token handler definition.org.forgerock.util.query Provides a mechanism for implementing query filters.org.opends.server.api Contains a number of API declarations for use throughout the Directory Server.org.opends.server.protocols.jmx Contains the implementation for the Directory Server connection handler that is responsible for interacting with clients using JMX.org.opends.server.protocols.ldap Contains the implementation for the Directory Server connection handler that is responsible for interacting with clients using LDAPv3.org.opends.server.replication.common This package contains utilities that can are used by all the packages below org.opends.server.replication.org.opends.server.replication.protocol This package contains the code used by the replication server and by the code running on the Directory Server side to exchange their information.org.opends.server.replication.server.changelog.api This package contains the API for the changelog database. -
-
Uses of JsonValue in org.forgerock.audit
Constructors in org.forgerock.audit with parameters of type JsonValue Constructor Description AuditingContext(JsonValue savedContext, ClassLoader classLoader)Restore a serialized audit context. -
Uses of JsonValue in org.forgerock.audit.events
Fields in org.forgerock.audit.events declared as JsonValue Modifier and Type Field Description protected JsonValueAuditEventBuilder. jsonValueRepresents the event as a JSON value.Methods in org.forgerock.audit.events that return JsonValue Modifier and Type Method Description static JsonValueAuditEventHelper. getAuditEventProperties(JsonValue auditEvent)Gets the Audit Event schema properties.static JsonValueAuditEventHelper. getAuditEventSchema(JsonValue auditEvent)Gets the Audit Event schema.JsonValueEventTopicsMetaData. getSchema(String topic)Returns the JSON schema for the requested topic if this object has meta-data for that topic.JsonValueAuditEvent. getValue()Returns the Json value of this event.Methods in org.forgerock.audit.events with parameters of type JsonValue Modifier and Type Method Description static JsonValueAuditEventHelper. getAuditEventProperties(JsonValue auditEvent)Gets the Audit Event schema properties.static JsonValueAuditEventHelper. getAuditEventSchema(JsonValue auditEvent)Gets the Audit Event schema.static List<String>AuditEventHelper. getConfiguredAuditEventHandlers(JsonValue auditEvent)Gets the AuditEventHandlers that the audit event is configure to log to.static StringAuditEventHelper. getPropertyType(JsonValue auditEvent, JsonPointer property)Gets a AuditEvent property type.static booleanAuditEventHelper. isPropertyRequired(JsonValue auditEvent, JsonPointer property)Gets whether a AuditEvent property is required.TAccessAuditEventBuilder. request(String protocol, String operation, JsonValue detail)Sets the provided request details for the event.TAccessAuditEventBuilder. responseWithDetail(AccessAuditEventBuilder.ResponseStatus status, String statusCode, long elapsedTime, TimeUnit elapsedTimeUnits, JsonValue detail)Sets the provided response for the event, with an additional detail.EventTopicsMetaDataBuilderEventTopicsMetaDataBuilder. withAdditionalTopicSchemas(JsonValue additionalTopicSchemas)Specifies schemas for additional topics.EventTopicsMetaDataBuilderEventTopicsMetaDataBuilder. withCoreTopicSchemaExtensions(JsonValue coreTopicSchemaExtensions)Specifies additional fields that should be added to the schemas for core event topics.Constructor parameters in org.forgerock.audit.events with type arguments of type JsonValue Constructor Description EventTopicsMetaData(Map<String,JsonValue> eventTopicsMetaData)Create a new EventTopicsMetaData. -
Uses of JsonValue in org.forgerock.audit.events.handlers
Methods in org.forgerock.audit.events.handlers that return JsonValue Modifier and Type Method Description JsonValueAuditEventTopicState. getEvent()Returns the event content.Methods in org.forgerock.audit.events.handlers with parameters of type JsonValue Modifier and Type Method Description Promise<ResourceResponse,ResourceException>AuditEventHandler. publishEvent(org.forgerock.services.context.Context context, String topic, JsonValue event)Publishes an event to the provided topic.Promise<ResourceResponse,ResourceException>NoOpAuditEventHandler. publishEvent(org.forgerock.services.context.Context context, String topic, JsonValue event)Constructors in org.forgerock.audit.events.handlers with parameters of type JsonValue Constructor Description AuditEventTopicState(org.forgerock.services.context.Context context, String topic, JsonValue event)Creates a (topic,event) pair. -
Uses of JsonValue in org.forgerock.audit.events.handlers.buffering
Methods in org.forgerock.audit.events.handlers.buffering with parameters of type JsonValue Modifier and Type Method Description voidBatchConsumer. addToBatch(String topic, JsonValue event, StringBuilder payload)Adds an audit event to a batch payload.booleanBatchPublisher. offer(String topic, JsonValue event)Offers up an event to be added to a batch.booleanBufferedBatchPublisher. offer(String topic, JsonValue event)Inserts the specified element at the tail of this queue if it is possible to do so immediately without exceeding the queue's capacity, returningtrueupon success andfalseif this queue is full. -
Uses of JsonValue in org.forgerock.audit.filter
Methods in org.forgerock.audit.filter with parameters of type JsonValue Modifier and Type Method Description voidFilter. doFilter(String auditTopic, JsonValue auditEvent)Runs a filter on the given audit event. -
Uses of JsonValue in org.forgerock.audit.handlers.csv
Methods in org.forgerock.audit.handlers.csv with parameters of type JsonValue Modifier and Type Method Description Promise<ResourceResponse,ResourceException>CsvAuditEventHandler. publishEvent(org.forgerock.services.context.Context context, String topic, JsonValue event)Create a csv audit log entry. -
Uses of JsonValue in org.forgerock.audit.handlers.elasticsearch
Methods in org.forgerock.audit.handlers.elasticsearch with parameters of type JsonValue Modifier and Type Method Description voidElasticsearchAuditEventHandler. addToBatch(String topic, JsonValue event, StringBuilder payload)Adds an audit event to an Elasticsearch Bulk API payload.Promise<ResourceResponse,ResourceException>ElasticsearchAuditEventHandler. publishEvent(org.forgerock.services.context.Context context, String topic, JsonValue event)protected Promise<ResourceResponse,ResourceException>ElasticsearchAuditEventHandler. publishSingleEvent(String topic, JsonValue event)Publishes a single event to the provided topic. -
Uses of JsonValue in org.forgerock.audit.handlers.jms
Methods in org.forgerock.audit.handlers.jms with parameters of type JsonValue Modifier and Type Method Description voidJmsAuditEventHandler. addToBatch(String topic, JsonValue event, StringBuilder payload)Promise<ResourceResponse,ResourceException>JmsAuditEventHandler. publishEvent(org.forgerock.services.context.Context context, String topic, JsonValue event) -
Uses of JsonValue in org.forgerock.audit.handlers.json
Methods in org.forgerock.audit.handlers.json with parameters of type JsonValue Modifier and Type Method Description Promise<ResourceResponse,ResourceException>JsonAuditEventHandler. publishEvent(org.forgerock.services.context.Context context, String topic, JsonValue event) -
Uses of JsonValue in org.forgerock.audit.handlers.json.stdout
Methods in org.forgerock.audit.handlers.json.stdout with parameters of type JsonValue Modifier and Type Method Description Promise<ResourceResponse,ResourceException>JsonStdoutAuditEventHandler. publishEvent(org.forgerock.services.context.Context context, String topic, JsonValue event) -
Uses of JsonValue in org.forgerock.audit.handlers.splunk
Methods in org.forgerock.audit.handlers.splunk with parameters of type JsonValue Modifier and Type Method Description voidSplunkAuditEventHandler. addToBatch(String topic, JsonValue event, StringBuilder payload)Promise<ResourceResponse,ResourceException>SplunkAuditEventHandler. publishEvent(org.forgerock.services.context.Context context, String topic, JsonValue event) -
Uses of JsonValue in org.forgerock.audit.handlers.syslog
Methods in org.forgerock.audit.handlers.syslog with parameters of type JsonValue Modifier and Type Method Description Promise<ResourceResponse,ResourceException>SyslogAuditEventHandler. publishEvent(org.forgerock.services.context.Context context, String topic, JsonValue event) -
Uses of JsonValue in org.forgerock.audit.json
Methods in org.forgerock.audit.json that return JsonValue Modifier and Type Method Description static JsonValueAuditJsonConfig. getAuditEventHandlerConfigurationSchema(String className, ClassLoader classLoader)Gets the configuration schema for an audit event handler as json schema.static JsonValueAuditJsonConfig. getJson(InputStream input)Returns a JSON value from the provided input stream.Methods in org.forgerock.audit.json with parameters of type JsonValue Modifier and Type Method Description static <C extends EventHandlerConfiguration>
CAuditJsonConfig. parseAuditEventHandlerConfiguration(Class<C> clazz, JsonValue jsonConfig)Returns the audit event handler configuration from the provided JSON string.static AuditServiceConfigurationAuditJsonConfig. parseAuditServiceConfiguration(JsonValue json)Returns the audit service configuration from the provided JSON value.static voidAuditJsonConfig. registerHandlerToService(JsonValue jsonConfig, AuditServiceBuilder auditServiceBuilder)Configures and registers the audit event handler corresponding to the provided JSON configuration to the provided audit service.static voidAuditJsonConfig. registerHandlerToService(JsonValue jsonConfig, AuditServiceBuilder auditServiceBuilder, ClassLoader classLoader)Configures and registers the audit event handler corresponding to the provided JSON configuration to the provided audit service, using a specific class loader. -
Uses of JsonValue in org.forgerock.audit.util
Methods in org.forgerock.audit.util that return JsonValue Modifier and Type Method Description static JsonValueElasticsearchUtil. denormalizeJson(JsonValue value)De-normalizes JSON that was previously normalized byElasticsearchUtil.normalizeJson(JsonValue).static JsonValueJsonValueUtils. expand(Map<String,Object> object)Expands a Json Object Map, where the keys of the map are theJsonPointers and the values are the value theJsonPointerresolves to.protected static JsonValueElasticsearchUtil. restoreKeyPeriods(JsonValue value, JsonValue normalized)Reverses the normalization steps preformed byElasticsearchUtil.replaceKeyPeriodsWithUnderscores(String).Methods in org.forgerock.audit.util with parameters of type JsonValue Modifier and Type Method Description static JsonValueElasticsearchUtil. denormalizeJson(JsonValue value)De-normalizes JSON that was previously normalized byElasticsearchUtil.normalizeJson(JsonValue).static StringJsonValueUtils. extractValueAsString(JsonValue json, String fieldName)Extracts String representation of field identified byfieldNamefromjsonobject.static StringJsonValueUtils. extractValueAsString(JsonValue json, JsonPointer pointer)Extracts String representation of field identified bypointerfromjsonobject.static Map<String,Object>JsonValueUtils. flatten(JsonValue jsonValue)Flattens aJsonValueto a Map, where the keys of the Map areJsonPointers and the values are the value theJsonPointers resolve to.static Set<String>JsonSchemaUtils. generateJsonPointers(JsonValue schema)Generates the Set ofJsonPointers in a given JsonSchema.static StringElasticsearchUtil. normalizeJson(JsonValue value)Normalizes JSON to conform to Elasticsearch data-format restrictions.static booleanElasticsearchUtil. renameField(JsonValue jsonValue, String oldKey, String newKey)Renames a field within the givenJsonValue.protected static JsonValueElasticsearchUtil. restoreKeyPeriods(JsonValue value, JsonValue normalized)Reverses the normalization steps preformed byElasticsearchUtil.replaceKeyPeriodsWithUnderscores(String). -
Uses of JsonValue in org.forgerock.config.resolvers
Methods in org.forgerock.config.resolvers with parameters of type JsonValue Modifier and Type Method Description static PropertyResolverPropertyResolvers. jsonResolver(String name, JsonValue json)Construct a newJsonValueResolverusing a given aJsonValue.static PropertyResolverPropertyResolvers. jsonResolver(JsonValue json)Construct a newJsonValueResolverusing a given aJsonValue. -
Uses of JsonValue in org.forgerock.config.util
Methods in org.forgerock.config.util that return JsonValue Modifier and Type Method Description JsonValueJsonValuePropertyEvaluator. evaluate(JsonValue object, boolean escape)Traverses aJsonValueand does property substitution as well as any type coercion.JsonValueJsonValuePropertyEvaluator. evaluate(JsonValue object, SubstitutionContext context)Traverses aJsonValueand does property substitution as well as any type coercion.Methods in org.forgerock.config.util that return types with arguments of type JsonValue Modifier and Type Method Description static Predicate<JsonValue>JsonValuePropertyEvaluator. singleKeyWithName(String name)Create a predicate for a JSON coercion function as used in theMapargument toJsonValuePropertyEvaluator(SubstitutionService, List).Methods in org.forgerock.config.util with parameters of type JsonValue Modifier and Type Method Description JsonValueJsonValuePropertyEvaluator. evaluate(JsonValue object, boolean escape)Traverses aJsonValueand does property substitution as well as any type coercion.JsonValueJsonValuePropertyEvaluator. evaluate(JsonValue object, SubstitutionContext context)Traverses aJsonValueand does property substitution as well as any type coercion.Method parameters in org.forgerock.config.util with type arguments of type JsonValue Modifier and Type Method Description static JsonValuePropertyEvaluator.CoercionFunctionSpecBuilderJsonValuePropertyEvaluator. coerce(Predicate<JsonValue> predicate)Define a coercion function.JsonValuePropertyEvaluator.CoercionFunctionSpecJsonValuePropertyEvaluator.CoercionFunctionSpecBuilder. using(BiFunction<JsonValue,SubstitutionService,Object,JsonValueException> function)Specify the function that will convert the matched JSON into an object. -
Uses of JsonValue in org.forgerock.json
Methods in org.forgerock.json that return JsonValue Modifier and Type Method Description JsonValueJsonValue. add(int index, Object object)Adds the specified value to the list.JsonValueJsonValue. add(Object object)Adds the specified value to the end of the list.JsonValueJsonValue. add(String key, Object object)Adds the specified value.JsonValueJsonValue. add(JsonPointer pointer, Object object)Adds the value identified by the specified pointer, relative to this value as root.JsonValueJsonValue. addIfNotNull(String key, Object object)Adds the specified object value only if it is not nullJsonValueJsonValue. addPermissive(JsonPointer pointer, Object object)Adds the value identified by the specified pointer, relative to this value as root.JsonValueJsonValueTraverseFunction. apply(JsonValue value)JsonValueJsonValue. clone()Returns a shallow copy of this JSON value.JsonValueJsonValue. copy()Returns a deep copy of this JSON value.JsonValueJsonValue. defaultTo(Object object)Defaults the JSON value to the specified value if it is currentlynull.static JsonValueJsonPatch. diff(JsonValue original, JsonValue target)Compares two JSON values, and produces a JSON Patch value, which contains the operations necessary to modify theoriginalvalue to arrive at thetargetvalue.JsonValueJsonValue. diff(JsonValue target)Performs a deep comparison of this JSON vlaue with another JSON value, and produces a JSON Patch value, which contains the operations necessary to modify the current value to arrive at thetargetvalue.JsonValueJsonValue. expect(Class<?> type)Called to enforce that the JSON value is of a particular type.JsonValueJsonValue. get(int index)Returns the specified child value.JsonValueJsonValue. get(String key)Returns the specified item value.JsonValueJsonValue. get(JsonPointer pointer)Returns the specified child value with a pointer, relative to this value as root.JsonValueJsonValueException. getJsonValue()Returns the JSON value for which the exception was thrown.static JsonValueJsonValue. json(Object object)Returns a JSON value whose content is the provided object.static JsonValueJsonPatch. merge(JsonValue first, JsonValue second)Creates a new JSON value which combines the contents two JSON values.JsonValueJsonValue. merge(JsonValue other)Creates a new JSON value which combines the contents this JSON value with another.JsonValueJsonValue. put(int index, Object object)Sets the value of the specified child list element.JsonValueJsonValue. put(String key, Object object)Sets the value of the specified member.JsonValueJsonValue. put(JsonPointer pointer, Object object)Sets the value identified by the specified pointer, relative to this value as root.JsonValueJsonValue. putIfNotNull(String key, Object object)Sets the value of the specified member, only if it is not null.JsonValueJsonValue. putPermissive(JsonPointer pointer, Object object)Sets the value identified by the specified pointer, relative to this value as root.JsonValueJsonValue. required()Throws aJsonValueExceptionif the JSON value isnull.Methods in org.forgerock.json that return types with arguments of type JsonValue Modifier and Type Method Description static Function<JsonValue,byte[],JsonValueException>JsonValueFunctions. base64Binary()static Function<JsonValue,byte[],JsonValueException>JsonValueFunctions. base64urlBinary()Returns abyte[]by converting the JsonValue usingasString()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,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()Returns an identity function that will copy the inputJsonValue.static Function<JsonValue,JsonValue,JsonValueException>JsonValueFunctions. identity()Returns an identity function that will copy the inputJsonValue.static Function<JsonValue,Instant,JsonValueException>JsonValueFunctions. instant()static Function<JsonValue,Integer,NumberFormatException>JsonValueFunctions. integer()Returns anIntegerby converting the JsonValue usingasInteger(), or by parsing the JsonValue string usingInteger.parseInt(String).Iterator<JsonValue>JsonValue. iterator()Returns an iterator over the child values that this JSON value contains.static <V,E extends Exception>
Function<JsonValue,List<V>,E>JsonValueFunctions. listOf(Function<JsonValue,V,E> transformFunction)Returns the JSON value as aListcontaining objects whose type (and value) is specified by a transformation function.static Function<JsonValue,Boolean,NeverThrowsException>JsonValueFunctions. parseBoolean()Returns aBooleanby converting the JsonValue usingasLong(), or by parsing the JsonValue string usingBoolean.parseBoolean(String).static Function<JsonValue,Long,NumberFormatException>JsonValueFunctions. parseLong()Returns aLongby converting the JsonValue usingasLong(), or by parsing the JsonValue string usingLong.parseLong(String).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 <V,E extends Exception>
Function<JsonValue,Set<V>,E>JsonValueFunctions. setOf(Function<JsonValue,V,E> transformFunction)Returns the JSON value as aSetcontaining objects whose type (and value) is specified by a transformation function.Stream<JsonValue>JsonValue. stream()Construct a Stream from this JsonValue object.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).Methods in org.forgerock.json with parameters of type JsonValue Modifier and Type Method Description JsonValueJsonValueTraverseFunction. apply(JsonValue value)static JsonValueJsonPatch. diff(JsonValue original, JsonValue target)Compares two JSON values, and produces a JSON Patch value, which contains the operations necessary to modify theoriginalvalue to arrive at thetargetvalue.JsonValueJsonValue. diff(JsonValue target)Performs a deep comparison of this JSON vlaue with another JSON value, and produces a JSON Patch value, which contains the operations necessary to modify the current value to arrive at thetargetvalue.ObjectJsonPatchValueTransformer. getTransformedValue(JsonValue target, JsonValue op)Return the value to be used for a given patch operation.static booleanJsonPatch. isEqual(JsonValue value, JsonValue other)Compares two JSON values, and returns whether the two objects are identical.booleanJsonValue. isEqualTo(JsonValue other)Performs a deep comparison of this JSON value with another JSON value, and returns whether the two objects are identical.static JsonValueJsonPatch. merge(JsonValue first, JsonValue second)Creates a new JSON value which combines the contents two JSON values.JsonValueJsonValue. merge(JsonValue other)Creates a new JSON value which combines the contents this JSON value with another.static voidJsonPatch. patch(JsonValue original, JsonValue patch)Applies a set of modifications in a JSON patch value to an original value, resulting in the intended target value.static voidJsonPatch. patch(JsonValue original, JsonValue patch, JsonPatchValueTransformer transform)Applies a set of modifications in a JSON patch value to an original value, resulting in the intended target value.voidJsonValue. patch(JsonValue patch)Applies a set of modifications in a JSON patch value to the current object, resulting in the intended target value.protected ObjectJsonValueTraverseFunction. traverseList(JsonValue value)Transform a JsonValue List into another object.protected ObjectJsonValueTraverseFunction. traverseMap(JsonValue value)Transform a JsonValue Map into another object.Method parameters in org.forgerock.json with type arguments of type JsonValue Modifier and Type Method Description <V,E extends Exception>
VJsonValue. as(Function<JsonValue,V,E> transformFunction)Returns the JSON value as an object whose type (and value) is specified by a transformation function.<V,E extends Exception>
Promise<V,E>JsonValue. asAsync(AsyncFunction<JsonValue,V,E> transformFunction)Returns the JSON value as a promised object whose type (and value) is specified by a transformation function.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 <V,E extends Exception>
Function<JsonValue,List<V>,E>JsonValueFunctions. listOf(Function<JsonValue,V,E> transformFunction)Returns the JSON value as aListcontaining objects whose type (and value) is specified by a transformation function.static <V,E extends Exception>
Function<JsonValue,Set<V>,E>JsonValueFunctions. setOf(Function<JsonValue,V,E> transformFunction)Returns the JSON value as aSetcontaining objects whose type (and value) is specified by a transformation function.Constructors in org.forgerock.json with parameters of type JsonValue Constructor Description JsonValueException(JsonValue value)Constructs a new exception with the specified JSON value andnullas its detail message.JsonValueException(JsonValue value, String message)Constructs a new exception with the specified JSON value and detail message.JsonValueException(JsonValue value, String message, Throwable cause)Constructs a new exception with the specified JSON value, detail message and cause.JsonValueException(JsonValue value, Throwable cause)Constructs a new exception with the specified JSON value and cause.Constructor parameters in org.forgerock.json with type arguments of type JsonValue 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 JsonValue in org.forgerock.json.resource
Methods in org.forgerock.json.resource that return JsonValue Modifier and Type Method Description static JsonValueResources. filterResource(JsonValue resource, Collection<JsonPointer> fields)Returns a JSON object containing only the specified fields from the provided JSON value.JsonValueActionRequest. getContent()Returns the content of this action request.JsonValueCreateRequest. getContent()Returns the content of the JSON resource to be created.JsonValueResourceResponse. getContent()Returns the JSON content of this resource.JsonValueUpdateRequest. getContent()Returns the content of the JSON resource to be replaced.JsonValueResourceException. getDetail()Returns the additional detail which can be evaluated by applications.JsonValueActionResponse. getJsonContent()Gets theJsonValuecontent contained in theResponse.JsonValuePatchOperation. getValue()Returns the value for the patch operation.JsonValueActionRequest. toJsonValue()JsonValueCreateRequest. toJsonValue()JsonValueDeleteRequest. toJsonValue()JsonValuePatchOperation. toJsonValue()Returns a JSON value representation of this patch operation.JsonValuePatchRequest. toJsonValue()JsonValueQueryRequest. toJsonValue()JsonValueReadRequest. toJsonValue()JsonValueRequest. toJsonValue()Return a JsonValue representation of this request.JsonValueResourceException. toJsonValue()Returns the exception in a JSON object structure, suitable for inclusion in the entity of an HTTP error response.JsonValueUpdateRequest. toJsonValue()Methods in org.forgerock.json.resource that return types with arguments of type JsonValue 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.Methods in org.forgerock.json.resource with parameters of type JsonValue Modifier and Type Method Description PatchRequestPatchRequest. addPatchOperation(String operation, String field, JsonValue value)Adds a single patch operation which should be performed against the targeted resource.intSortKeyComparator. compare(JsonValue left, JsonValue right)static JsonValueResources. filterResource(JsonValue resource, Collection<JsonPointer> fields)Returns a JSON object containing only the specified fields from the provided JSON value.static ActionResponseResponses. newActionResponse(JsonValue json)Returns a newJsonValueresponse with the provided JSON content.static CreateRequestRequests. newCreateRequest(String resourceContainer, String newResourceId, JsonValue content)Returns a new create request with the provided resource path, new resource ID, and JSON content.static CreateRequestRequests. newCreateRequest(String resourceContainer, JsonValue content)Returns a new create request with the provided resource path, and JSON content.static CreateRequestRequests. newCreateRequest(ResourcePath resourceContainer, String newResourceId, JsonValue content)Returns a new create request with the provided resource path, new resource ID, and JSON content.static CreateRequestRequests. newCreateRequest(ResourcePath resourceContainer, JsonValue content)Returns a new create request with the provided resource path, and JSON content.static ResourceResponseResponses. newResourceResponse(String id, String revision, JsonValue content)Returns a newResourceresponse with the provided Resource as content.static UpdateRequestRequests. newUpdateRequest(String resourceContainer, String resourceId, JsonValue newContent)Returns a new update request with the provided resource container path, resource ID, and new JSON content.static UpdateRequestRequests. newUpdateRequest(String resourcePath, JsonValue newContent)Returns a new update request with the provided resource path and new JSON content.static UpdateRequestRequests. newUpdateRequest(ResourcePath resourceContainer, String resourceId, JsonValue newContent)Returns a new update request with the provided resource container path, resource ID, and new JSON content.static UpdateRequestRequests. newUpdateRequest(ResourcePath resourcePath, JsonValue newContent)Returns a new update request with the provided resource path and new JSON content.static ResourceApiVersionSpecificationFilter.ResourcePathAndVersionSpecificationResourceApiVersionSpecificationFilter.ResourcePathAndVersionSpecification. resourcePathAndVersionSpecification(JsonValue versionMatrix)Create a newResourcePathAndVersionSpecificationconfigured with resource path to version specification.ActionRequestActionRequest. setContent(JsonValue content)Sets the content of this action request.CreateRequestCreateRequest. setContent(JsonValue content)Sets the content of the JSON resource to be created.UpdateRequestUpdateRequest. setContent(JsonValue content)Sets the content of the JSON resource to be replaced.<E extends ResourceException>
EResourceException. setDetail(JsonValue detail)Sets the additional detail which can be evaluated by applications.static PatchOperationPatchOperation. valueOf(JsonValue json)Parses the provided JSON content as a patch operation.static List<PatchOperation>PatchOperation. valueOfList(JsonValue json)Parses the provided JSON content as a list of patch operations.Constructors in org.forgerock.json.resource with parameters of type JsonValue Constructor Description AdviceContext(JsonValue savedContext, ClassLoader classLoader)Restore from JSON representation. -
Uses of JsonValue in org.forgerock.json.resource.http
Constructors in org.forgerock.json.resource.http with parameters of type JsonValue Constructor Description HttpContext(JsonValue savedContext, ClassLoader classLoader)Restore from JSON representation. -
Uses of JsonValue in org.forgerock.json.schema.validator.exceptions
Constructors in org.forgerock.json.schema.validator.exceptions with parameters of type JsonValue Constructor Description SchemaException(JsonValue value, Exception e)Create a new SchemaException wrapping an existing exception.SchemaException(JsonValue value, String message)Create the exception with the given value and message.SchemaException(JsonValue value, String message, Exception e)Create a new SchemaException from an existing exception.SchemaException(JsonValue value, String message, Throwable throwable)Create the exception with the given value, message and cause. -
Uses of JsonValue in org.forgerock.opendj.rest2ldap
Methods in org.forgerock.opendj.rest2ldap that return JsonValue Modifier and Type Method Description JsonValueAffinityContext. toJsonValue()Methods in org.forgerock.opendj.rest2ldap with parameters of type JsonValue Modifier and Type Method Description static X509KeyManagerRest2LdapJsonConfigurator. configureKeyManager(JsonValue configuration)Configures aX509KeyManagerusing the provided JSON configuration.static LdapClientRest2LdapJsonConfigurator. configureLdapClient(JsonValue configuration, String name, TrustManager trustManager, X509KeyManager keyManager)Creates a new LDAP client using the named configuration in the provided JSON list of client configurations.static OptionsRest2LdapJsonConfigurator. configureOptions(JsonValue config)Parses Rest2Ldap configuration options.static List<Resource>Rest2LdapJsonConfigurator. configureResources(JsonValue config, Options options)Parses a list of Rest2Ldap resource definitions.static TrustManagerRest2LdapJsonConfigurator. configureTrustManager(JsonValue configuration)Configures aTrustManagerusing the provided JSON configuration.JsonPropertyMapperJsonPropertyMapper. jsonSchema(JsonValue jsonSchema)Sets the JSON schema corresponding to this simple property mapper.SimplePropertyMapperSimplePropertyMapper. jsonSchema(JsonValue jsonSchema)Sets the JSON schema corresponding to this simple property mapper.static voidSimplePropertyMapper. putTypeAndFormat(JsonValue jsonSchema, AttributeType attrType)Puts the type and format corresponding to the provided attribute type on the provided JSON schema. -
Uses of JsonValue in org.forgerock.opendj.server.core
Methods in org.forgerock.opendj.server.core that return JsonValue Modifier and Type Method Description JsonValueAbstractContext. toJsonValue() -
Uses of JsonValue in org.forgerock.tokenhandler
Methods in org.forgerock.tokenhandler that return JsonValue Modifier and Type Method Description JsonValueTokenHandler. validateAndExtractState(String token)Validates and parses the token, extracting any encapsulated state.Methods in org.forgerock.tokenhandler with parameters of type JsonValue Modifier and Type Method Description StringTokenHandler. generate(JsonValue state)Generates a new token using the state. -
Uses of JsonValue in org.forgerock.util.query
Methods in org.forgerock.util.query that return types with arguments of type JsonValue Modifier and Type Method Description static QueryFilterVisitor<Boolean,JsonValue,JsonPointer>JsonValueFilterVisitor. jsonValueFilterVisitor()Returns aQueryFilterVisitorthat can assess if aJsonValueresource matches a set of criteria defined by aQueryFilter.Methods in org.forgerock.util.query with parameters of type JsonValue Modifier and Type Method Description BooleanJsonValueFilterVisitor. visitAndFilter(JsonValue p, List<QueryFilter<JsonPointer>> subFilters)BooleanJsonValueFilterVisitor. visitBooleanLiteralFilter(JsonValue p, boolean value)BooleanJsonValueFilterVisitor. visitComplexFilter(JsonValue p, JsonPointer field, QueryFilter<JsonPointer> subFilter)BooleanJsonValueFilterVisitor. visitContainsFilter(JsonValue p, JsonPointer field, Object valueAssertion)BooleanJsonValueFilterVisitor. visitEqualsFilter(JsonValue p, JsonPointer field, Object valueAssertion)BooleanJsonValueFilterVisitor. visitExtendedMatchFilter(JsonValue p, JsonPointer field, String matchingRuleId, Object valueAssertion)BooleanJsonValueFilterVisitor. visitGreaterThanFilter(JsonValue p, JsonPointer field, Object valueAssertion)BooleanJsonValueFilterVisitor. visitGreaterThanOrEqualToFilter(JsonValue p, JsonPointer field, Object valueAssertion)BooleanJsonValueFilterVisitor. visitLessThanFilter(JsonValue p, JsonPointer field, Object valueAssertion)BooleanJsonValueFilterVisitor. visitLessThanOrEqualToFilter(JsonValue p, JsonPointer field, Object valueAssertion)BooleanJsonValueFilterVisitor. visitNotFilter(JsonValue p, QueryFilter<JsonPointer> subFilter)BooleanJsonValueFilterVisitor. visitOrFilter(JsonValue p, List<QueryFilter<JsonPointer>> subFilters)BooleanJsonValueFilterVisitor. visitPresentFilter(JsonValue p, JsonPointer field)BooleanJsonValueFilterVisitor. visitStartsWithFilter(JsonValue p, JsonPointer field, Object valueAssertion) -
Uses of JsonValue in org.opends.server.api
Methods in org.opends.server.api that return JsonValue Modifier and Type Method Description abstract JsonValueClientConnection. getMonitorSummary()Returns a summary of this client connection in JSON (format that is both human readable and machine parseable). -
Uses of JsonValue in org.opends.server.protocols.jmx
Methods in org.opends.server.protocols.jmx that return JsonValue Modifier and Type Method Description JsonValueJmxClientConnection. getMonitorSummary() -
Uses of JsonValue in org.opends.server.protocols.ldap
Methods in org.opends.server.protocols.ldap that return JsonValue Modifier and Type Method Description JsonValueLdapClientConnection. getMonitorSummary() -
Uses of JsonValue in org.opends.server.replication.common
Methods in org.opends.server.replication.common that return JsonValue Modifier and Type Method Description JsonValueCSN. toJson()Returns the json representation of this CSN. -
Uses of JsonValue in org.opends.server.replication.protocol
Methods in org.opends.server.replication.protocol that return JsonValue Modifier and Type Method Description JsonValueLDAPUpdateMsg. toJson()JsonValueModifyDNMsg. toJson()JsonValueUpdateMsg. toJson()Returns the json representation of this update message. -
Uses of JsonValue in org.opends.server.replication.server.changelog.api
Methods in org.opends.server.replication.server.changelog.api that return JsonValue Modifier and Type Method Description JsonValueChangeNumberIndexRecord. toJson()Returns the json representation of this change number index record.
-