Uses of Class
org.forgerock.json.JsonValue
Packages that use JsonValue
Package
Description
Package contains the AuditService.
Package contains audit events.
This package contains the default
AuditEventHandlers
.This package contains the batch publisher and its various implementations.
Contains the classes for filtering audit events.
This package contains the default AuditEventHandler implementations.
This package contains the Elasticsearch
AuditEventHandler
implementation.This package contains a JMS AuditEventHandler implementation.
This package contains the JSON-file
AuditEventHandler
implementation.This package contains the JSON-stdout
AuditEventHandler
implementation.This package contains the audit handler implementation for Splunk.
This package contains a Syslog AuditEventHandler implementation.
This package contains utilities to build and configure audit service and handlers from JSON configuration.
This package contains utility classes used in the audit service.
This package contains the common config property resolvers.
Contains utility classes for commons config.
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.
JSON resource Commons HTTP Framework integration.
Schema validator exceptions.
APIs for implementing REST to LDAP gateways.
Classes implementing core server APIs.
Provides token handler definition.
Provides a mechanism for implementing query filters.
Contains a number of API declarations for use throughout the Directory Server.
Contains the implementation for the Directory Server connection handler that is responsible for interacting with
clients using JMX.
This package contains utilities that can are used by all the packages below org.opends.server.replication.
This package contains the code used by the replication server and by the code running on the Directory Server side to
exchange their information.
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 JsonValueModifierConstructorDescriptionAuditingContext
(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 JsonValueModifier and TypeFieldDescriptionprotected JsonValue
AuditEventBuilder.jsonValue
Represents the event as a JSON value.Methods in org.forgerock.audit.events that return JsonValueModifier and TypeMethodDescriptionstatic JsonValue
AuditEventHelper.getAuditEventProperties
(JsonValue auditEvent) Gets the Audit Event schema properties.static JsonValue
AuditEventHelper.getAuditEventSchema
(JsonValue auditEvent) Gets the Audit Event schema.Returns the JSON schema for the requested topic if this object has meta-data for that topic.AuditEvent.getValue()
Returns the Json value of this event.Methods in org.forgerock.audit.events with parameters of type JsonValueModifier and TypeMethodDescriptionstatic JsonValue
AuditEventHelper.getAuditEventProperties
(JsonValue auditEvent) Gets the Audit Event schema properties.static JsonValue
AuditEventHelper.getAuditEventSchema
(JsonValue auditEvent) Gets the Audit Event schema.AuditEventHelper.getConfiguredAuditEventHandlers
(JsonValue auditEvent) Gets the AuditEventHandlers that the audit event is configure to log to.static String
AuditEventHelper.getPropertyType
(JsonValue auditEvent, JsonPointer property) Gets a AuditEvent property type.static boolean
AuditEventHelper.isPropertyRequired
(JsonValue auditEvent, JsonPointer property) Gets whether a AuditEvent property is required.final T
Sets the provided request details for the event.final T
AccessAuditEventBuilder.responseWithDetail
(AccessAuditEventBuilder.ResponseStatus status, String statusCode, long elapsedTime, TimeUnit elapsedTimeUnits, JsonValue detail) Sets the provided response for the event, with an additional detail.EventTopicsMetaDataBuilder.withAdditionalTopicSchemas
(JsonValue additionalTopicSchemas) Specifies schemas for additional topics.EventTopicsMetaDataBuilder.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 JsonValueModifierConstructorDescriptionEventTopicsMetaData
(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 JsonValueMethods in org.forgerock.audit.events.handlers with parameters of type JsonValueModifier and TypeMethodDescriptionAuditEventHandler.publishEvent
(org.forgerock.services.context.Context context, String topic, JsonValue event) Publishes an event to the provided topic.NoOpAuditEventHandler.publishEvent
(org.forgerock.services.context.Context context, String topic, JsonValue event) Constructors in org.forgerock.audit.events.handlers with parameters of type JsonValueModifierConstructorDescriptionAuditEventTopicState
(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 JsonValueModifier and TypeMethodDescriptionvoid
BatchConsumer.addToBatch
(String topic, JsonValue event, StringBuilder payload) Adds an audit event to a batch payload.boolean
Offers up an event to be added to a batch.boolean
Inserts the specified element at the tail of this queue if it is possible to do so immediately without exceeding the queue's capacity, returningtrue
upon success andfalse
if this queue is full. -
Uses of JsonValue in org.forgerock.audit.filter
Methods in org.forgerock.audit.filter with parameters of type JsonValue -
Uses of JsonValue in org.forgerock.audit.handlers.csv
Methods in org.forgerock.audit.handlers.csv with parameters of type JsonValueModifier and TypeMethodDescriptionCsvAuditEventHandler.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 JsonValueModifier and TypeMethodDescriptionvoid
ElasticsearchAuditEventHandler.addToBatch
(String topic, JsonValue event, StringBuilder payload) Adds an audit event to an Elasticsearch Bulk API payload.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 JsonValueModifier and TypeMethodDescriptionvoid
JmsAuditEventHandler.addToBatch
(String topic, JsonValue event, StringBuilder payload) 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 JsonValueModifier and TypeMethodDescriptionJsonAuditEventHandler.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 JsonValueModifier and TypeMethodDescriptionJsonStdoutAuditEventHandler.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 JsonValueModifier and TypeMethodDescriptionvoid
SplunkAuditEventHandler.addToBatch
(String topic, JsonValue event, StringBuilder payload) 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 JsonValueModifier and TypeMethodDescriptionSyslogAuditEventHandler.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 JsonValueModifier and TypeMethodDescriptionstatic JsonValue
AuditJsonConfig.getAuditEventHandlerConfigurationSchema
(String className, ClassLoader classLoader) Gets the configuration schema for an audit event handler as json schema.static JsonValue
AuditJsonConfig.getJson
(InputStream input) Returns a JSON value from the provided input stream.Methods in org.forgerock.audit.json with parameters of type JsonValueModifier and TypeMethodDescriptionstatic <C extends EventHandlerConfiguration>
CAuditJsonConfig.parseAuditEventHandlerConfiguration
(Class<C> clazz, JsonValue jsonConfig) Returns the audit event handler configuration from the provided JSON string.static AuditServiceConfiguration
AuditJsonConfig.parseAuditServiceConfiguration
(JsonValue json) Returns the audit service configuration from the provided JSON value.static void
AuditJsonConfig.registerHandlerToService
(JsonValue jsonConfig, AuditServiceBuilder auditServiceBuilder) Configures and registers the audit event handler corresponding to the provided JSON configuration to the provided audit service.static void
AuditJsonConfig.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 JsonValueModifier and TypeMethodDescriptionstatic JsonValue
ElasticsearchUtil.denormalizeJson
(JsonValue value) De-normalizes JSON that was previously normalized byElasticsearchUtil.normalizeJson(JsonValue)
.static JsonValue
Expands a Json Object Map, where the keys of the map are theJsonPointer
s and the values are the value theJsonPointer
resolves to.protected static JsonValue
ElasticsearchUtil.restoreKeyPeriods
(JsonValue value, JsonValue normalized) Reverses the normalization steps preformed byElasticsearchUtil.replaceKeyPeriodsWithUnderscores(String)
.Methods in org.forgerock.audit.util with parameters of type JsonValueModifier and TypeMethodDescriptionstatic JsonValue
ElasticsearchUtil.denormalizeJson
(JsonValue value) De-normalizes JSON that was previously normalized byElasticsearchUtil.normalizeJson(JsonValue)
.static String
JsonValueUtils.extractValueAsString
(JsonValue json, String fieldName) Extracts String representation of field identified byfieldName
fromjson
object.static String
JsonValueUtils.extractValueAsString
(JsonValue json, JsonPointer pointer) Extracts String representation of field identified bypointer
fromjson
object.Flattens aJsonValue
to a Map, where the keys of the Map areJsonPointer
s and the values are the value theJsonPointer
s resolve to.JsonSchemaUtils.generateJsonPointers
(JsonValue schema) Generates the Set ofJsonPointer
s in a given JsonSchema.static String
ElasticsearchUtil.normalizeJson
(JsonValue value) Deprecated.static boolean
ElasticsearchUtil.renameField
(JsonValue jsonValue, String oldKey, String newKey) Renames a field within the givenJsonValue
.protected static JsonValue
ElasticsearchUtil.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 JsonValueModifier and TypeMethodDescriptionstatic PropertyResolver
PropertyResolvers.jsonResolver
(String name, JsonValue json) Construct a newJsonValueResolver
using a given aJsonValue
.static PropertyResolver
PropertyResolvers.jsonResolver
(JsonValue json) Construct a newJsonValueResolver
using a given aJsonValue
. -
Uses of JsonValue in org.forgerock.config.util
Methods in org.forgerock.config.util that return JsonValueModifier and TypeMethodDescriptionTraverses aJsonValue
and does property substitution as well as any type coercion.JsonValuePropertyEvaluator.evaluate
(JsonValue object, SubstitutionContext context) Traverses aJsonValue
and does property substitution as well as any type coercion.Methods in org.forgerock.config.util that return types with arguments of type JsonValueModifier and TypeMethodDescriptionJsonValuePropertyEvaluator.singleKeyWithName
(String name) Create a predicate for a JSON coercion function as used in theMap
argument toJsonValuePropertyEvaluator(SubstitutionService, List)
.Methods in org.forgerock.config.util with parameters of type JsonValueModifier and TypeMethodDescriptionTraverses aJsonValue
and does property substitution as well as any type coercion.JsonValuePropertyEvaluator.evaluate
(JsonValue object, SubstitutionContext context) Traverses aJsonValue
and does property substitution as well as any type coercion.Method parameters in org.forgerock.config.util with type arguments of type JsonValueModifier and TypeMethodDescriptionDefine a coercion function.JsonValuePropertyEvaluator.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 JsonValueModifier and TypeMethodDescriptionAdds the specified value to the list.Adds the specified value to the end of the list.Adds the specified value.JsonValue.add
(JsonPointer pointer, Object object) Adds the value identified by the specified pointer, relative to this value as root.JsonValue.addIfNotNull
(String key, Object object) Adds the specified object value only if it is not nullJsonValue.addPermissive
(JsonPointer pointer, Object object) Adds the value identified by the specified pointer, relative to this value as root.final JsonValue
JsonValue.clone()
Returns a shallow copy of this JSON value.JsonValue.copy()
Returns a deep copy of this JSON value.Defaults the JSON value to the specified value if it is currentlynull
.static JsonValue
Compares two JSON values, and produces a JSON Patch value, which contains the operations necessary to modify theoriginal
value to arrive at thetarget
value.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 thetarget
value.Called to enforce that the JSON value is of a particular type.JsonValue.get
(int index) Returns the specified child value.Returns the specified item value.JsonValue.get
(JsonPointer pointer) Returns the specified child value with a pointer, relative to this value as root.JsonValueException.getJsonValue()
Returns the JSON value for which the exception was thrown.static JsonValue
Returns a JSON value whose content is the provided object.static JsonValue
Creates a new JSON value which combines the contents two JSON values.Creates a new JSON value which combines the contents this JSON value with another.Sets the value of the specified child list element.Sets the value of the specified member.JsonValue.put
(JsonPointer pointer, Object object) Sets the value identified by the specified pointer, relative to this value as root.JsonValue.putIfNotNull
(String key, Object object) Sets the value of the specified member, only if it is not null.JsonValue.putPermissive
(JsonPointer pointer, Object object) Sets the value identified by the specified pointer, relative to this value as root.JsonValue.required()
Throws aJsonValueException
if the JSON value isnull
.Methods in org.forgerock.json that return types with arguments of type JsonValueModifier and TypeMethodDescriptionstatic 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 transformfunction
to 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 transformfunction
to 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 aInstant
by 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 aFile
object.static Function<JsonValue,
JsonValue, JsonValueException> JsonValueFunctions.identity()
Deprecated.useJsonValue::copy
directly insteadstatic Function<JsonValue,
JsonValue, JsonValueException> JsonValueFunctions.identity()
Deprecated.useJsonValue::copy
directly insteadstatic Function<JsonValue,
Instant, JsonValueException> JsonValueFunctions.instant()
JsonValueFunctions.integer()
Returns anInteger
by converting the JsonValue usingasInteger()
, or by parsing the JsonValue string usingInteger.parseInt(String)
.JsonValue.iterator()
Returns an iterator over the child values that this JSON value contains.Returns the JSON value as aList
containing objects whose type (and value) is specified by a transformation function.static Function<JsonValue,
Optional<JsonValue>, JsonValueException> JsonValueFunctions.optional()
Return anOptional
if the given JsonValue has a value, orOptional.empty()
if the JsonValue contains a null value.static Function<JsonValue,
Optional<JsonValue>, JsonValueException> JsonValueFunctions.optional()
Return anOptional
if 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 anOptional
of a new type if the given JsonValue has a value, orOptional.empty()
if the JsonValue contains a null value.static Function<JsonValue,
Boolean, NeverThrowsException> JsonValueFunctions.parseBoolean()
Returns aBoolean
by converting the JsonValue usingasLong()
, or by parsing the JsonValue string usingBoolean.parseBoolean(String)
.static Function<JsonValue,
Long, NumberFormatException> JsonValueFunctions.parseLong()
Returns aLong
by 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.JsonValueFunctions.pointer()
Returns the JSON string value as a JSON pointer.static <V> Function<JsonValue,
Set<V>, JsonValueException> Returns the JSON value as aSet
containing objects whose type (and value) is specified by the parametertype
.Returns the JSON value as aSet
containing objects whose type (and value) is specified by a transformation function.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 JsonValueModifier and TypeMethodDescriptionfinal JsonValue
static JsonValue
Compares two JSON values, and produces a JSON Patch value, which contains the operations necessary to modify theoriginal
value to arrive at thetarget
value.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 thetarget
value.JsonPatchValueTransformer.getTransformedValue
(JsonValue target, JsonValue op) Return the value to be used for a given patch operation.static boolean
Compares two JSON values, and returns whether the two objects are identical.boolean
Performs a deep comparison of this JSON value with another JSON value, and returns whether the two objects are identical.static JsonValue
Creates a new JSON value which combines the contents two JSON values.Creates a new JSON value which combines the contents this JSON value with another.static void
Applies a set of modifications in a JSON patch value to an original value, resulting in the intended target value.static void
JsonPatch.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.void
Applies a set of modifications in a JSON patch value to the current object, resulting in the intended target value.protected Object
JsonValueTraverseFunction.traverseList
(JsonValue value) Transform a JsonValue List into another object.protected Object
JsonValueTraverseFunction.traverseMap
(JsonValue value) Transform a JsonValue Map into another object.Method parameters in org.forgerock.json with type arguments of type JsonValueModifier and TypeMethodDescription<V,
E extends Exception>
VReturns the JSON value as an object whose type (and value) is specified by a transformation function.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 transformfunction
to each element.Returns the JSON value as aList
containing objects whose type (and value) is specified by a transformation function.static <T> Function<JsonValue,
Optional<T>, JsonValueException> JsonValueFunctions.optionalOf
(Function<JsonValue, T, JsonValueException> mappingFunction) Return anOptional
of a new type if the given JsonValue has a value, orOptional.empty()
if the JsonValue contains a null value.Returns the JSON value as aSet
containing objects whose type (and value) is specified by a transformation function.Constructors in org.forgerock.json with parameters of type JsonValueModifierConstructorDescriptionJsonValueException
(JsonValue value) Constructs a new exception with the specified JSON value andnull
as 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 JsonValueModifierConstructorDescriptionJsonValueTraverseFunction
(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 JsonValueModifier and TypeMethodDescriptionstatic JsonValue
Resources.filterResource
(JsonValue resource, Collection<JsonPointer> fields) Returns a JSON object containing only the specified fields from the provided JSON value.ActionRequest.getContent()
Returns the content of this action request.CreateRequest.getContent()
Returns the content of the JSON resource to be created.ResourceResponse.getContent()
Returns the JSON content of this resource.UpdateRequest.getContent()
Returns the content of the JSON resource to be replaced.final JsonValue
ResourceException.getDetail()
Returns the additional detail which can be evaluated by applications.ActionResponse.getJsonContent()
Gets theJsonValue
content contained in theResponse
.PatchOperation.getValue()
Returns the value for the patch operation.ActionRequest.toJsonValue()
CreateRequest.toJsonValue()
DeleteRequest.toJsonValue()
PatchOperation.toJsonValue()
Returns a JSON value representation of this patch operation.PatchRequest.toJsonValue()
QueryRequest.toJsonValue()
ReadRequest.toJsonValue()
Request.toJsonValue()
Return a JsonValue representation of this request.final JsonValue
ResourceException.toJsonValue()
Returns the exception in a JSON object structure, suitable for inclusion in the entity of an HTTP error response.UpdateRequest.toJsonValue()
Methods in org.forgerock.json.resource that return types with arguments of type JsonValueModifier and TypeMethodDescriptionJsonValueFunctions.queryFilter()
Parses and returns the JSON string value as aQueryFilter
.JsonValueFunctions.resourcePath()
Returns the JSON string value as aResourcePath
.Methods in org.forgerock.json.resource with parameters of type JsonValueModifier and TypeMethodDescriptionPatchRequest.addPatchOperation
(String operation, String field, JsonValue value) Adds a single patch operation which should be performed against the targeted resource.int
static JsonValue
Resources.filterResource
(JsonValue resource, Collection<JsonPointer> fields) Returns a JSON object containing only the specified fields from the provided JSON value.static ActionResponse
Responses.newActionResponse
(JsonValue json) Returns a newJsonValue
response with the provided JSON content.static CreateRequest
Requests.newCreateRequest
(String resourceContainer, String newResourceId, JsonValue content) Returns a new create request with the provided resource path, new resource ID, and JSON content.static CreateRequest
Requests.newCreateRequest
(String resourceContainer, JsonValue content) Returns a new create request with the provided resource path, and JSON content.static CreateRequest
Requests.newCreateRequest
(ResourcePath resourceContainer, String newResourceId, JsonValue content) Returns a new create request with the provided resource path, new resource ID, and JSON content.static CreateRequest
Requests.newCreateRequest
(ResourcePath resourceContainer, JsonValue content) Returns a new create request with the provided resource path, and JSON content.static ResourceResponse
Responses.newResourceResponse
(String id, String revision, JsonValue content) Returns a newResource
response with the provided Resource as content.static UpdateRequest
Requests.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 UpdateRequest
Requests.newUpdateRequest
(String resourcePath, JsonValue newContent) Returns a new update request with the provided resource path and new JSON content.static UpdateRequest
Requests.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 UpdateRequest
Requests.newUpdateRequest
(ResourcePath resourcePath, JsonValue newContent) Returns a new update request with the provided resource path and new JSON content.ResourceApiVersionSpecificationFilter.ResourcePathAndVersionSpecification.resourcePathAndVersionSpecification
(JsonValue versionMatrix) Create a newResourcePathAndVersionSpecification
configured with resource path to version specification.ActionRequest.setContent
(JsonValue content) Sets the content of this action request.CreateRequest.setContent
(JsonValue content) Sets the content of the JSON resource to be created.UpdateRequest.setContent
(JsonValue content) Sets the content of the JSON resource to be replaced.final <E extends ResourceException>
ESets the additional detail which can be evaluated by applications.static PatchOperation
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 JsonValueModifierConstructorDescriptionAdviceContext
(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 JsonValueModifierConstructorDescriptionHttpContext
(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 JsonValueModifierConstructorDescriptionSchemaException
(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 JsonValueMethods in org.forgerock.opendj.rest2ldap with parameters of type JsonValueModifier and TypeMethodDescriptionstatic X509KeyManager
Rest2LdapJsonConfigurator.configureKeyManager
(JsonValue configuration) Configures aX509KeyManager
using the provided JSON configuration.static LdapClient
Rest2LdapJsonConfigurator.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 Options
Rest2LdapJsonConfigurator.configureOptions
(JsonValue config) Parses Rest2Ldap configuration options.Rest2LdapJsonConfigurator.configureResources
(JsonValue config, Options options) Parses a list of Rest2Ldap resource definitions.static TrustManager
Rest2LdapJsonConfigurator.configureTrustManager
(JsonValue configuration) Configures aTrustManager
using the provided JSON configuration.JsonPropertyMapper.jsonSchema
(JsonValue jsonSchema) Sets the JSON schema corresponding to this simple property mapper.SimplePropertyMapper.jsonSchema
(JsonValue jsonSchema) Sets the JSON schema corresponding to this simple property mapper.static void
SimplePropertyMapper.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 -
Uses of JsonValue in org.forgerock.tokenhandler
Methods in org.forgerock.tokenhandler that return JsonValueModifier and TypeMethodDescriptionTokenHandler.validateAndExtractState
(String token) Validates and parses the token, extracting any encapsulated state.Methods in org.forgerock.tokenhandler with parameters of type JsonValue -
Uses of JsonValue in org.forgerock.util.query
Methods in org.forgerock.util.query that return types with arguments of type JsonValueModifier and TypeMethodDescriptionJsonValueFilterVisitor.jsonValueFilterVisitor()
Returns aQueryFilterVisitor
that can assess if aJsonValue
resource matches a set of criteria defined by aQueryFilter
.Methods in org.forgerock.util.query with parameters of type JsonValueModifier and TypeMethodDescriptionJsonValueFilterVisitor.visitAndFilter
(JsonValue p, List<QueryFilter<JsonPointer>> subFilters) JsonValueFilterVisitor.visitBooleanLiteralFilter
(JsonValue p, boolean value) JsonValueFilterVisitor.visitComplexFilter
(JsonValue p, JsonPointer field, QueryFilter<JsonPointer> subFilter) JsonValueFilterVisitor.visitContainsFilter
(JsonValue p, JsonPointer field, Object valueAssertion) JsonValueFilterVisitor.visitEqualsFilter
(JsonValue p, JsonPointer field, Object valueAssertion) JsonValueFilterVisitor.visitExtendedMatchFilter
(JsonValue p, JsonPointer field, String matchingRuleId, Object valueAssertion) JsonValueFilterVisitor.visitGreaterThanFilter
(JsonValue p, JsonPointer field, Object valueAssertion) JsonValueFilterVisitor.visitGreaterThanOrEqualToFilter
(JsonValue p, JsonPointer field, Object valueAssertion) JsonValueFilterVisitor.visitLessThanFilter
(JsonValue p, JsonPointer field, Object valueAssertion) JsonValueFilterVisitor.visitLessThanOrEqualToFilter
(JsonValue p, JsonPointer field, Object valueAssertion) JsonValueFilterVisitor.visitNotFilter
(JsonValue p, QueryFilter<JsonPointer> subFilter) JsonValueFilterVisitor.visitOrFilter
(JsonValue p, List<QueryFilter<JsonPointer>> subFilters) JsonValueFilterVisitor.visitPresentFilter
(JsonValue p, JsonPointer field) JsonValueFilterVisitor.visitStartsWithFilter
(JsonValue p, JsonPointer field, Object valueAssertion) -
Uses of JsonValue in org.opends.server.api
Methods in org.opends.server.api that return JsonValueModifier and TypeMethodDescriptionabstract JsonValue
ClientConnection.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 -
Uses of JsonValue in org.opends.server.replication.common
Methods in org.opends.server.replication.common that return JsonValue -
Uses of JsonValue in org.opends.server.replication.protocol
Methods in org.opends.server.replication.protocol that return JsonValue -
Uses of JsonValue in org.opends.server.replication.server.changelog.api
Methods in org.opends.server.replication.server.changelog.api that return JsonValue
ElasticsearchUtil.NORMALIZING_OBJECT_MAPPER
instead.