Modifier and Type | Method and Description |
---|---|
void |
CrestObjectSchema.validate(JsonValue object) |
void |
CrestBooleanSchema.validate(JsonValue object) |
void |
CrestArraySchema.validate(JsonValue object) |
void |
CrestAnySchema.validate(JsonValue object) |
Modifier and Type | Method and Description |
---|---|
JsonValue |
TranslateJsonSchema.apply(JsonValue value)
Applies the translation to string values by converting them to
LocalizableString . |
abstract JsonValue |
Schema.getSchema()
Obtain the schema definition if it is not a reference.
|
Modifier and Type | Method and Description |
---|---|
JsonValue |
TranslateJsonSchema.apply(JsonValue value)
Applies the translation to string values by converting them to
LocalizableString . |
Schema.Builder |
Schema.Builder.schema(JsonValue schema)
Sets the schema.
|
Constructor and Description |
---|
AuditingContext(JsonValue savedContext,
ClassLoader classLoader)
Restore a serialized audit context.
|
Modifier and Type | Field and Description |
---|---|
protected JsonValue |
AuditEventBuilder.jsonValue
Represents the event as a JSON value.
|
Modifier and Type | Method and Description |
---|---|
static JsonValue |
AuditEventHelper.getAuditEventProperties(JsonValue auditEvent)
Gets the Audit Event schema properties.
|
static JsonValue |
AuditEventHelper.getAuditEventSchema(JsonValue auditEvent)
Gets the Audit Event schema.
|
JsonValue |
EventTopicsMetaData.getSchema(String topic)
Returns the JSON schema for the requested topic if this object has meta-data for that topic.
|
JsonValue |
AuditEvent.getValue()
Returns the Json value of this event.
|
Modifier and Type | Method and Description |
---|---|
static JsonValue |
AuditEventHelper.getAuditEventProperties(JsonValue auditEvent)
Gets the Audit Event schema properties.
|
static JsonValue |
AuditEventHelper.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 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.
|
T |
AccessAuditEventBuilder.request(String protocol,
String operation,
JsonValue detail)
Sets the provided request details for the event.
|
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 |
EventTopicsMetaDataBuilder.withAdditionalTopicSchemas(JsonValue additionalTopicSchemas)
Specifies schemas for additional topics.
|
EventTopicsMetaDataBuilder |
EventTopicsMetaDataBuilder.withCoreTopicSchemaExtensions(JsonValue coreTopicSchemaExtensions)
Specifies additional fields that should be added to the schemas for core event topics.
|
Constructor and Description |
---|
EventTopicsMetaData(Map<String,JsonValue> eventTopicsMetaData)
Create a new EventTopicsMetaData.
|
Modifier and Type | Method and Description |
---|---|
JsonValue |
AuditEventTopicState.getEvent()
Returns the event content.
|
Modifier and Type | Method and Description |
---|---|
Promise<ResourceResponse,ResourceException> |
NoOpAuditEventHandler.publishEvent(Context context,
String topic,
JsonValue event) |
Promise<ResourceResponse,ResourceException> |
AuditEventHandler.publishEvent(Context context,
String topic,
JsonValue event)
Publishes an event to the provided topic.
|
Constructor and Description |
---|
AuditEventTopicState(Context context,
String topic,
JsonValue event)
Creates a (topic,event) pair.
|
Modifier and Type | Method and Description |
---|---|
void |
BatchConsumer.addToBatch(String topic,
JsonValue event,
StringBuilder payload)
Adds an audit event to a batch payload.
|
boolean |
BufferedBatchPublisher.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, returning
true upon success and false if this queue is full. |
boolean |
BatchPublisher.offer(String topic,
JsonValue event)
Offers up an event to be added to a batch.
|
Modifier and Type | Method and Description |
---|---|
void |
FilterChainBuilder.FilterChain.doFilter(String auditTopic,
JsonValue auditEvent)
Runs the filters in the filter chain.
|
void |
Filter.doFilter(String auditTopic,
JsonValue auditEvent)
Runs a filter on the given audit event.
|
Modifier and Type | Method and Description |
---|---|
Promise<ResourceResponse,ResourceException> |
CsvAuditEventHandler.publishEvent(Context context,
String topic,
JsonValue event)
Create a csv audit log entry.
|
Modifier and Type | Method and Description |
---|---|
void |
ElasticsearchAuditEventHandler.addToBatch(String topic,
JsonValue event,
StringBuilder payload)
Adds an audit event to an Elasticsearch Bulk API payload.
|
Promise<ResourceResponse,ResourceException> |
ElasticsearchAuditEventHandler.publishEvent(Context context,
String topic,
JsonValue event) |
protected Promise<ResourceResponse,ResourceException> |
ElasticsearchAuditEventHandler.publishSingleEvent(String topic,
JsonValue event)
Publishes a single event to the provided topic.
|
Modifier and Type | Method and Description |
---|---|
Promise<ResourceResponse,ResourceException> |
JdbcAuditEventHandler.publishEvent(Context context,
String topic,
JsonValue event)
Publishes an event to the provided topic.
|
Modifier and Type | Method and Description |
---|---|
Promise<ResourceResponse,ResourceException> |
JmsAuditEventHandler.publishEvent(Context context,
String auditTopic,
JsonValue auditEvent)
Converts the audit event into a JMS TextMessage and then publishes the message on the configured jmsTopic.
|
Modifier and Type | Method and Description |
---|---|
Promise<ResourceResponse,ResourceException> |
JsonStdoutAuditEventHandler.publishEvent(Context context,
String topic,
JsonValue event) |
Promise<ResourceResponse,ResourceException> |
JsonAuditEventHandler.publishEvent(Context context,
String topic,
JsonValue event) |
Modifier and Type | Method and Description |
---|---|
void |
SplunkAuditEventHandler.addToBatch(String topic,
JsonValue event,
StringBuilder payload) |
Promise<ResourceResponse,ResourceException> |
SplunkAuditEventHandler.publishEvent(Context context,
String topic,
JsonValue event) |
Modifier and Type | Method and Description |
---|---|
Promise<ResourceResponse,ResourceException> |
SyslogAuditEventHandler.publishEvent(Context context,
String topic,
JsonValue event) |
Modifier and Type | Method and Description |
---|---|
static 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.
|
Modifier and Type | Method and Description |
---|---|
static <C extends EventHandlerConfiguration> |
AuditJsonConfig.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.
|
Modifier and Type | Field and Description |
---|---|
static QueryFilterVisitor<Boolean,JsonValue,JsonPointer> |
JsonValueUtils.JSONVALUE_FILTER_VISITOR
A generic JsonValue Query Filter Visitor.
|
Modifier and Type | Method and Description |
---|---|
static JsonValue |
ElasticsearchUtil.denormalizeJson(JsonValue value)
De-normalizes JSON that was previously normalized by
ElasticsearchUtil.normalizeJson(JsonValue) . |
static JsonValue |
JsonValueUtils.expand(Map<String,Object> object)
Expands a Json Object Map, where the keys of the map are the
JsonPointer s
and the values are the value the JsonPointer resolves to. |
protected static JsonValue |
ElasticsearchUtil.restoreKeyPeriods(JsonValue value,
JsonValue normalized)
Reverses the normalization steps preformed by
ElasticsearchUtil.replaceKeyPeriodsWithUnderscores(String) . |
Modifier and Type | Method and Description |
---|---|
static JsonValue |
ElasticsearchUtil.denormalizeJson(JsonValue value)
De-normalizes JSON that was previously normalized by
ElasticsearchUtil.normalizeJson(JsonValue) . |
static String |
JsonValueUtils.extractValueAsString(JsonValue json,
JsonPointer pointer)
Extracts String representation of field identified by
pointer from json object. |
static String |
JsonValueUtils.extractValueAsString(JsonValue json,
String fieldName)
Extracts String representation of field identified by
fieldName from json object. |
static Map<String,Object> |
JsonValueUtils.flatten(JsonValue jsonValue)
Flattens a
JsonValue to a Map, where the keys of the Map are JsonPointer s
and the values are the value the JsonPointer s resolve to. |
static Set<String> |
JsonSchemaUtils.generateJsonPointers(JsonValue schema)
Generates the Set of
JsonPointer s in a given JsonSchema. |
static String |
ElasticsearchUtil.normalizeJson(JsonValue value)
Normalizes JSON to conform to Elasticsearch data-format restrictions.
|
static boolean |
ElasticsearchUtil.renameField(JsonValue jsonValue,
String oldKey,
String newKey)
Renames a field within the given
JsonValue . |
protected static JsonValue |
ElasticsearchUtil.restoreKeyPeriods(JsonValue value,
JsonValue normalized)
Reverses the normalization steps preformed by
ElasticsearchUtil.replaceKeyPeriodsWithUnderscores(String) . |
Modifier and Type | Method and Description |
---|---|
JsonValue |
AuthorizationResult.getDetail()
Gets the detail of why the request is not authorized to access the requested resource.
|
Modifier and Type | Method and Description |
---|---|
static AuthorizationResult |
AuthorizationResult.accessDenied(String reason,
JsonValue detail)
Creates a new
AuthorizationResult instance which indicates that access to the request protected
resource is denied, for the given reason and detail. |
Modifier and Type | Method and Description |
---|---|
protected Set<String> |
RestOAuth2AccessTokenValidator.getScope(JsonValue tokenInfo)
Gets the scopes for the access token.
|
Constructor and Description |
---|
RestOAuth2AccessTokenValidator(JsonValue config,
Client httpClient)
Creates a new instance of the RestOAuth2AccessTokenValidator.
|
Modifier and Type | Method and Description |
---|---|
void |
AuditApi.audit(JsonValue auditMessage)
Audits the authentication request, using the audit information from the given audit message.
|
Modifier and Type | Method and Description |
---|---|
List<JsonValue> |
TestAuditApi.getAuditRecords()
Gets the audit records.
|
Modifier and Type | Method and Description |
---|---|
void |
TestAuditApi.audit(JsonValue auditMessage)
Audits the authentication request, using the audit information from the given audit message.
|
Modifier and Type | Method and Description |
---|---|
JsonValue |
AccessTokenInfo.asJsonValue()
Returns the raw JSON as a
JsonValue . |
Constructor and Description |
---|
AccessTokenInfo(JsonValue rawInfo,
String token,
Set<String> scopes,
long expiresAt)
Build an
AccessTokenInfo with the provided information. |
Constructor and Description |
---|
ApiVersionRouterContext(JsonValue savedContext,
ClassLoader classLoader)
Restore from JSON representation.
|
UriRouterContext(JsonValue savedContext,
ClassLoader classLoader)
Restore from JSON representation.
|
Constructor and Description |
---|
SessionContext(JsonValue savedContext,
ClassLoader classLoader)
Restore from JSON representation.
|
Modifier and Type | Method and Description |
---|---|
JsonValue |
JsonValue.add(int index,
Object object)
Adds the specified value to the list.
|
JsonValue |
JsonValue.add(JsonPointer pointer,
Object object)
Adds the value identified by the specified pointer, relative to this
value as root.
|
JsonValue |
JsonValue.add(Object object)
Adds the specified value to the end of the list.
|
JsonValue |
JsonValue.add(String key,
Object object)
Adds the specified value.
|
JsonValue |
JsonValue.addPermissive(JsonPointer pointer,
Object object)
Adds the value identified by the specified pointer, relative to this
value as root.
|
JsonValue |
JsonValueTraverseFunction.apply(JsonValue value) |
JsonValue |
JsonValue.clone()
Returns a shallow copy of this JSON value.
|
JsonValue |
JsonValue.copy()
Returns a deep copy of this JSON value.
|
JsonValue |
JsonValue.defaultTo(Object object)
Defaults the JSON value to the specified value if it is currently
null . |
JsonValue |
JsonValue.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 the
target value. |
static JsonValue |
JsonPatch.diff(JsonValue original,
JsonValue target)
Compares two JSON values, and produces a JSON Patch value, which contains the
operations necessary to modify the
original value to arrive at the
target value. |
JsonValue |
JsonValue.expect(Class<?> type)
Called to enforce that the JSON value is of a particular type.
|
JsonValue |
JsonValue.get(int index)
Returns the specified child value.
|
JsonValue |
JsonValue.get(JsonPointer pointer)
Returns the specified child value with a pointer, relative to this value
as root.
|
JsonValue |
JsonValue.get(String key)
Returns the specified item value.
|
JsonValue |
JsonValueException.getJsonValue()
Returns the JSON value for which the exception was thrown.
|
static JsonValue |
JsonValue.json(Object object)
Returns a JSON value whose content is the provided object.
|
JsonValue |
JsonValue.put(int index,
Object object)
Sets the value of the specified child list element.
|
JsonValue |
JsonValue.put(JsonPointer pointer,
Object object)
Sets the value identified by the specified pointer, relative to this
value as root.
|
JsonValue |
JsonValue.put(String key,
Object object)
Sets the value of the specified member. Â
|
JsonValue |
JsonValue.putPermissive(JsonPointer pointer,
Object object)
Sets the value identified by the specified pointer, relative to this
value as root.
|
JsonValue |
JsonValue.required()
Throws a
JsonValueException if the JSON value is null . |
Modifier and Type | Method and Description |
---|---|
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 transform
function 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 transform
function to each element. |
static Function<JsonValue,Duration,JsonValueException> |
JsonValueFunctions.duration()
Returns the JSON string value as a
Duration . |
static <T extends Enum<T>> |
JsonValueFunctions.enumConstant(Class<T> type)
Returns the JSON string value as an enum constant of the specified enum
type.
|
static Function<JsonValue,File,JsonValueException> |
JsonValueFunctions.file()
Returns the JSON string value as a
File object. |
static Function<JsonValue,JsonValue,JsonValueException> |
JsonValueFunctions.identity()
Returns an identity function that will copy the input
JsonValue . |
static Function<JsonValue,JsonValue,JsonValueException> |
JsonValueFunctions.identity()
Returns an identity function that will copy the input
JsonValue . |
Iterator<JsonValue> |
JsonValue.iterator()
Returns an iterator over the child values that this JSON value contains.
|
static <V,E extends Exception> |
JsonValueFunctions.listOf(Function<JsonValue,V,E> transformFunction)
Returns the JSON value as a
List containing objects whose type
(and value) is specified by a transformation function. |
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 a
Set containing objects whose type
(and value) is specified by the parameter type . |
static <V,E extends Exception> |
JsonValueFunctions.setOf(Function<JsonValue,V,E> transformFunction)
Returns the JSON value as a
Set containing objects whose type
(and value) is specified by a transformation function. |
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).
|
Modifier and Type | Method and Description |
---|---|
JsonValue |
JsonValueTraverseFunction.apply(JsonValue value) |
JsonValue |
JsonValue.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 the
target value. |
static JsonValue |
JsonPatch.diff(JsonValue original,
JsonValue target)
Compares two JSON values, and produces a JSON Patch value, which contains the
operations necessary to modify the
original value to arrive at the
target value. |
Object |
JsonPatchValueTransformer.getTransformedValue(JsonValue target,
JsonValue op)
Return the value to be used for a given patch operation.
|
static boolean |
JsonPatch.isEqual(JsonValue value,
JsonValue other)
Compares two JSON values, and returns whether the two objects are identical.
|
boolean |
JsonValue.isEqualTo(JsonValue other)
Performs a deep comparison of this JSON value with another JSON value, and returns whether the two objects
are identical.
|
void |
JsonValue.patch(JsonValue patch)
Applies a set of modifications in a JSON patch value to the current object, resulting
in the intended target value.
|
static void |
JsonPatch.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 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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
<V,E extends Exception> |
JsonValue.as(Function<JsonValue,V,E> transformFunction)
Returns the JSON value as an 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 transform
function to each element. |
static <V,E extends Exception> |
JsonValueFunctions.listOf(Function<JsonValue,V,E> transformFunction)
Returns the JSON value as a
List containing objects whose type
(and value) is specified by a transformation function. |
static <V,E extends Exception> |
JsonValueFunctions.setOf(Function<JsonValue,V,E> transformFunction)
Returns the JSON value as a
Set containing objects whose type
(and value) is specified by a transformation function. |
Constructor and Description |
---|
JsonValueException(JsonValue value)
Constructs a new exception with the specified JSON value and
null
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 and 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.
|
Modifier and Type | Method and Description |
---|---|
JsonValue |
JsonEncryptFunction.apply(JsonValue value) |
JsonValue |
JsonDecryptor.decrypt(JsonValue value)
Decrypts the specified value.
|
JsonValue |
JsonEncryptor.encrypt(JsonValue value)
Encrypts the specified value.
|
JsonValue |
JsonCrypto.getValue()
Returns the JSON cryptographic value.
|
JsonValue |
JsonCrypto.toJsonValue()
Returns this object as a
$crypto JSON object value. |
Modifier and Type | Method and Description |
---|---|
JsonValue |
JsonEncryptFunction.apply(JsonValue value) |
JsonValue |
JsonDecryptor.decrypt(JsonValue value)
Decrypts the specified value.
|
JsonValue |
JsonEncryptor.encrypt(JsonValue value)
Encrypts the specified value.
|
void |
JsonCrypto.fromJsonValue(JsonValue value)
Initializes this object from the specified
$crypto JSON object value. |
static boolean |
JsonCrypto.isJsonCrypto(JsonValue value)
Returns
true if the specified JSON value contains a valid $crypto
JSON object structure. |
void |
JsonCrypto.setValue(JsonValue value)
Sets the JSON cryptographic value.
|
void |
JsonCryptoTransformer.transform(JsonValue value) |
protected Object |
JsonDecryptFunction.traverseMap(JsonValue value) |
Constructor and Description |
---|
JsonCrypto(JsonValue value)
Constructs a new JSON cryptographic object, initializing from a JSON value.
|
JsonCrypto(String type,
JsonValue value)
Constructs a new JSON cryptographic object, initializing with the specified type
and cryptographic value.
|
Modifier and Type | Method and Description |
---|---|
JsonValue |
SimpleDecryptor.decrypt(JsonValue value) |
JsonValue |
SimpleEncryptor.encrypt(JsonValue value) |
Modifier and Type | Method and Description |
---|---|
JsonValue |
SimpleDecryptor.decrypt(JsonValue value) |
JsonValue |
SimpleEncryptor.encrypt(JsonValue value) |
Modifier and Type | Class and Description |
---|---|
static class |
RsaJWK.OtherFactors
Holds the other prime factors.
|
Modifier and Type | Method and Description |
---|---|
JsonValue |
JWKSet.getJWKsAsJsonValue()
Get the JWKs in the set.
|
protected static JsonValue |
JWKSet.toJsonValue(String json)
Converts a json string to a jsonValue.
|
protected static JsonValue |
JWK.toJsonValue(String json)
Converts a String into a JsonValue.
|
Modifier and Type | Method and Description |
---|---|
static RsaJWK |
RsaJWK.parse(JsonValue json)
Parses a RsaJWK from a jsonValue Object.
|
static OctJWK |
OctJWK.parse(JsonValue json)
Parses a OctJWK object from a jsonValue object.
|
static JWKSet |
JWKSet.parse(JsonValue json)
Parses a JWKSet object from a jsonValue object.
|
static JWK |
JWK.parse(JsonValue jwk)
Parses a JsonValue into the proper JWK type.
|
static EcJWK |
EcJWK.parse(JsonValue json)
Parses a JWK from a JsonValue json object.
|
Constructor and Description |
---|
JWKSet(JsonValue jwk)
Construct a JWKSet from a single JWK.
|
Modifier and Type | Method and Description |
---|---|
JsonValue |
JWObject.get(String key)
Returns the specified item value.
|
Modifier and Type | Field and Description |
---|---|
protected JsonValue |
JsonReferenceTransformer.root
The root value of the referring document.
|
Modifier and Type | Method and Description |
---|---|
protected JsonValue |
JsonReferenceTransformer.resolve(URI uri)
Resolves the specified URI into a JSON value.
|
JsonValue |
JsonReference.toJsonValue()
Returns this object as a
$ref JSON object value. |
Modifier and Type | Method and Description |
---|---|
JsonReference |
JsonReference.fromJsonValue(JsonValue value)
Initializes this object from a
$ref JSON object value. |
static boolean |
JsonReference.isJsonReference(JsonValue value)
Returns
true if the specified JSON value contains a valid $ref
JSON object structure. |
void |
JsonReferenceTransformer.transform(JsonValue value) |
Constructor and Description |
---|
JsonReferenceTransformer(URI base,
JsonValue root)
Constructs a new JSON reference transformer.
|
Modifier and Type | Method and Description |
---|---|
protected JsonValue |
JacksonReferenceTransformer.resolve(URI uri) |
Constructor and Description |
---|
JacksonReferenceTransformer(URI base,
JsonValue root)
Constructs a new Jackson JSON reference transformer.
|
Modifier and Type | Method and Description |
---|---|
static JsonValue |
Resources.filterResource(JsonValue resource,
Collection<JsonPointer> fields)
Returns a JSON object containing only the specified fields from the
provided JSON value.
|
JsonValue |
UpdateRequest.getContent()
Returns the content of the JSON resource to be replaced.
|
JsonValue |
ResourceResponse.getContent()
Returns the JSON content of this resource.
|
JsonValue |
CreateRequest.getContent()
Returns the content of the JSON resource to be created.
|
JsonValue |
ActionRequest.getContent()
Returns the content of this action request.
|
JsonValue |
ResourceException.getDetail()
Returns the additional detail which can be evaluated by applications.
|
JsonValue |
ActionResponse.getJsonContent()
Gets the
JsonValue content contained in the Response . |
JsonValue |
PatchOperation.getValue()
Returns the value for the patch operation.
|
JsonValue |
UpdateRequest.toJsonValue() |
JsonValue |
ResourceException.toJsonValue()
Returns the exception in a JSON object structure, suitable for inclusion
in the entity of an HTTP error response.
|
JsonValue |
Request.toJsonValue()
Return a JsonValue representation of this request.
|
JsonValue |
ReadRequest.toJsonValue() |
JsonValue |
QueryRequest.toJsonValue() |
JsonValue |
PatchRequest.toJsonValue() |
JsonValue |
PatchOperation.toJsonValue()
Returns a JSON value representation of this patch operation.
|
JsonValue |
DeleteRequest.toJsonValue() |
JsonValue |
CreateRequest.toJsonValue() |
JsonValue |
ActionRequest.toJsonValue() |
Modifier and Type | Method and Description |
---|---|
PatchRequest |
PatchRequest.addPatchOperation(String operation,
String field,
JsonValue value)
Adds a single patch operation which should be performed against the targeted resource.
|
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 new
JsonValue response with the provided JSON content. |
static CreateRequest |
Requests.newCreateRequest(ResourcePath 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(String resourceContainer,
JsonValue content)
Returns a new create request with the provided resource path, and 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 ResourceResponse |
Responses.newResourceResponse(String id,
String revision,
JsonValue content)
Returns a new
Resource response with the provided Resource as
content. |
static UpdateRequest |
Requests.newUpdateRequest(ResourcePath 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(String resourcePath,
JsonValue newContent)
Returns a new update request with the provided resource path and new JSON
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.
|
UpdateRequest |
UpdateRequest.setContent(JsonValue content)
Sets the content of the JSON resource to be replaced.
|
CreateRequest |
CreateRequest.setContent(JsonValue content)
Sets the content of the JSON resource to be created.
|
ActionRequest |
ActionRequest.setContent(JsonValue content)
Sets the content of this action request.
|
ResourceException |
ResourceException.setDetail(JsonValue detail)
Sets the additional detail which can be evaluated by applications.
|
static PatchOperation |
PatchOperation.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.
|
Constructor and Description |
---|
AdviceContext(JsonValue savedContext,
ClassLoader classLoader)
Restore from JSON representation.
|
Constructor and Description |
---|
HttpContext(JsonValue savedContext,
ClassLoader classLoader)
Restore from JSON representation.
|
Constructor and 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.
|
Modifier and Type | Class and Description |
---|---|
static class |
AssertJJsonValueAssert.AbstractJsonValueAssert<T extends org.assertj.core.api.AbstractAssert<T,JsonValue>>
Abstract class for assertions on
JsonValue . |
Modifier and Type | Method and Description |
---|---|
static AssertJJsonValueAssert.AbstractJsonValueAssert |
AssertJJsonValueAssert.assertThat(JsonValue value)
Creates the relevant
AbstractJsonValueAssert instance for the provided JsonValue . |
protected AssertJJsonValueAssert.PromisedJsonValueAssert |
AssertJJsonValueAssert.AssertJJsonValuePromiseAssert.createSucceededAssert(JsonValue jsonValue) |
Modifier and Type | Method and Description |
---|---|
static AssertJJsonValueAssert.AssertJJsonValuePromiseAssert |
AssertJJsonValueAssert.assertThat(Promise<JsonValue,?> promise)
Creates a promise assert class for
JsonValue instances. |
static AssertJJsonValueAssert.AssertJJsonValuePromiseAssert |
AssertJJsonValueAssert.assertThatJsonValue(Promise<JsonValue,?> promise)
An alias for
AssertJJsonValueAssert.assertThat(Promise) for the case where different Promise assertThat methods
are statically imported and would clash. |
Modifier and Type | Method and Description |
---|---|
ScriptEntry |
ScriptRegistry.takeScript(JsonValue script)
Takes a
ScriptEntry from this ScriptRegistry . |
Constructor and Description |
---|
ScriptContext(JsonValue savedContext,
ClassLoader classLoader) |
Modifier and Type | Method and Description |
---|---|
ScriptEntry |
ScriptRegistryImpl.takeScript(JsonValue script) |
Modifier and Type | Method and Description |
---|---|
static JsonValue |
ServiceUtils.emptyJson()
Relieves an empty json object.
|
JsonValue |
ProgressStage.gatherInitialRequirements(ProcessContext context,
C config)
Response for defining any initial requirements the stage may have.
|
JsonValue |
ProcessContext.getInput()
Gets the input provided by the client.
|
JsonValue |
StageResponse.getRequirements()
Returns the requirements.
|
JsonValue |
ProcessContext.getState(String jsonPointer)
Allows retrieval of state persisted throughout the flow.
|
JsonValue |
ProcessStore.remove(String key)
Removes the state out of the store.
|
Modifier and Type | Method and Description |
---|---|
void |
ProcessStore.add(String key,
JsonValue state)
Adds the state into the store against the key.
|
StageResponse.RequirementsBuilder |
StageResponse.Builder.setRequirements(JsonValue requirements)
Sets the json requirements.
|
Constructor and Description |
---|
SelfServiceContext(JsonValue savedContext,
ClassLoader classLoader)
Constructs a new SelfServiceContext.
|
Modifier and Type | Method and Description |
---|---|
JsonValue |
CryptoService.hash(String plainTextValue,
String algorithm)
Hashes a string value.
|
Modifier and Type | Method and Description |
---|---|
boolean |
CryptoService.isHashed(JsonValue value)
Detects if a String is hashed.
|
boolean |
CryptoService.matches(String plainTextValue,
JsonValue value)
Returns true if the supplied plain text value of a field matches the supplied
hashed value.
|
Modifier and Type | Method and Description |
---|---|
JsonValue |
SnapshotTokenHandler.validateAndExtractState(String snapshotToken)
Validates and parses the token, extracting any encapsulated state.
|
Modifier and Type | Method and Description |
---|---|
String |
SnapshotTokenHandler.generate(JsonValue state)
Generates a new snapshot token using the state.
|
Modifier and Type | Method and Description |
---|---|
JsonValue |
RequirementsBuilder.build()
Builds a new json object representing the defined requirements.
|
static JsonValue |
Answers.hashAnswer(CryptoService cryptoService,
JsonValue answer)
Hashes the given answer.
|
static JsonValue |
RequirementsBuilder.newEmptyRequirements()
Creates an empty requirements json object.
|
Modifier and Type | Method and Description |
---|---|
RequirementsBuilder |
RequirementsBuilder.addCustomField(String name,
JsonValue customJsonValue)
Add a custom Json snippet.
|
static JsonValue |
Answers.hashAnswer(CryptoService cryptoService,
JsonValue answer)
Hashes the given answer.
|
static RequirementsBuilder |
RequirementsBuilder.oneOf(JsonValue... oneOfElements)
Creates a new builder instance for oneOf keyword.
|
Modifier and Type | Method and Description |
---|---|
JsonValue |
MathProblemStage.gatherInitialRequirements(ProcessContext context,
MathProblemStageConfig config) |
Modifier and Type | Method and Description |
---|---|
static JsonValue |
JsonReader.jsonFileToJsonValue(String filename)
Given a path to a json file returns a corresponding json value.
|
JsonValue |
SimpleInMemoryStore.remove(String key) |
Modifier and Type | Method and Description |
---|---|
void |
SimpleInMemoryStore.add(String key,
JsonValue state) |
Modifier and Type | Method and Description |
---|---|
JsonAnonymousProcessServiceBuilder |
JsonAnonymousProcessServiceBuilder.withJsonConfig(JsonValue jsonConfig)
Set the JSON config from which to build the
ProcessInstanceConfig . |
Modifier and Type | Method and Description |
---|---|
JsonValue |
CaptchaStage.gatherInitialRequirements(ProcessContext context,
CaptchaStageConfig config) |
Modifier and Type | Method and Description |
---|---|
JsonValue |
VerifyEmailAccountStage.gatherInitialRequirements(ProcessContext context,
VerifyEmailAccountConfig config) |
Modifier and Type | Method and Description |
---|---|
JsonValue |
SecurityAnswerDefinitionStage.gatherInitialRequirements(ProcessContext context,
SecurityAnswerDefinitionConfig config) |
JsonValue |
SecurityAnswerVerificationStage.gatherInitialRequirements(ProcessContext context,
SecurityAnswerVerificationConfig config) |
Modifier and Type | Method and Description |
---|---|
JsonValue |
UserRegistrationStage.gatherInitialRequirements(ProcessContext context,
UserRegistrationConfig config) |
Modifier and Type | Method and Description |
---|---|
JsonValue |
ResetStage.gatherInitialRequirements(ProcessContext context,
ResetStageConfig config) |
Modifier and Type | Method and Description |
---|---|
JsonValue |
TermsAndConditionsStage.gatherInitialRequirements(ProcessContext context,
TermsAndConditionsConfig config) |
Modifier and Type | Method and Description |
---|---|
JsonValue |
JwtTokenHandler.validateAndExtractState(String snapshotToken) |
Modifier and Type | Method and Description |
---|---|
String |
JwtTokenHandler.generate(JsonValue state) |
Modifier and Type | Method and Description |
---|---|
JsonValue |
EmailUsernameStage.gatherInitialRequirements(ProcessContext context,
EmailUsernameConfig config) |
JsonValue |
RetrieveUsernameStage.gatherInitialRequirements(ProcessContext context,
RetrieveUsernameConfig config) |
JsonValue |
UserDetailsStage.gatherInitialRequirements(ProcessContext context,
UserDetailsConfig config) |
JsonValue |
UserQueryStage.gatherInitialRequirements(ProcessContext context,
UserQueryConfig config) |
Modifier and Type | Method and Description |
---|---|
static JsonValue |
JsonUtils.merge(JsonValue... jsons)
Merges the provided json value instances.
|
static JsonValue |
JsonUtils.toJsonValue(String json)
Given a json string return a corresponding json value.
|
Modifier and Type | Method and Description |
---|---|
static JsonValue |
JsonUtils.merge(JsonValue... jsons)
Merges the provided json value instances.
|
Modifier and Type | Method and Description |
---|---|
JsonValue |
TransactionId.toJson()
Returns a representation of this TransactionId as a JsonValue.
|
Modifier and Type | Method and Description |
---|---|
static TransactionId |
TransactionId.valueOf(JsonValue value)
Creates a TransactionId from a JsonValue.
|
Modifier and Type | Field and Description |
---|---|
protected JsonValue |
AbstractContext.data
The Context data.
|
Modifier and Type | Method and Description |
---|---|
JsonValue |
TransactionIdContext.toJsonValue()
Updates the data object to have the current transactionId state.
|
JsonValue |
Context.toJsonValue()
Return this Context as a JsonValue (for persistence).
|
JsonValue |
AbstractContext.toJsonValue() |
Constructor and Description |
---|
AbstractContext(JsonValue savedContext,
ClassLoader classLoader)
Creates a new context from the JSON representation of a previously
persisted context.
|
AttributesContext(JsonValue savedContext,
ClassLoader classLoader)
Restore from JSON representation.
|
ClientContext(JsonValue savedContext,
ClassLoader classLoader)
Restore from JSON representation.
|
RequestAuditContext(JsonValue savedContext,
ClassLoader classLoader)
Restores a saved context.
|
RootContext(JsonValue savedContext,
ClassLoader classLoader)
Restore from JSON representation.
|
SecurityContext(JsonValue savedContext,
ClassLoader classLoader)
Restore from JSON representation.
|
TransactionIdContext(JsonValue savedContext,
ClassLoader classLoader)
Restores a saved context.
|
Copyright © 2025 Open Identity Platform Community. All rights reserved.