Uses of Class
org.forgerock.json.resource.ResourceException
-
Packages that use ResourceException 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.handlers.csv This package contains the default AuditEventHandler implementations.org.forgerock.audit.handlers.elasticsearch This package contains the ElasticsearchAuditEventHandler
implementation.org.forgerock.audit.handlers.jdbc This package contains a JDBC AuditEventHandler implementation.org.forgerock.audit.handlers.jms This package contains a JMS AuditEventHandler implementation.org.forgerock.audit.handlers.json This package contains the JSON-fileAuditEventHandler
implementation.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.util This package contains utility classes used in the audit service.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.openig.audit Service Provider interface for registering audit events.org.forgerock.openig.http Integrates with the ForgeRock HTTP Framework.org.forgerock.openig.tools Common tools used in policy service.org.forgerock.openig.ui.record Defines a storage service to be used by the UI to persist its component model. -
-
Uses of ResourceException in org.forgerock.audit
Methods in org.forgerock.audit that return types with arguments of type ResourceException Modifier and Type Method Description Promise<ActionResponse,ResourceException>
AuditService. handleAction(Context context, ActionRequest request)
Audit service may support actions on the service itself or on handlers.Promise<ActionResponse,ResourceException>
AuditServiceProxy. handleAction(Context context, ActionRequest request)
Promise<ResourceResponse,ResourceException>
AuditService. handleCreate(Context context, CreateRequest request)
Propagates the audit event to theAuditEventHandler
objects that have been registered for the audit event topic.Promise<ResourceResponse,ResourceException>
AuditServiceProxy. handleCreate(Context context, CreateRequest request)
Promise<ResourceResponse,ResourceException>
AuditService. handleDelete(Context context, DeleteRequest request)
Audit service does not support changing audit entries.Promise<ResourceResponse,ResourceException>
AuditServiceProxy. handleDelete(Context context, DeleteRequest request)
Promise<ResourceResponse,ResourceException>
AuditService. handlePatch(Context context, PatchRequest request)
Audit service does not support changing audit entries.Promise<ResourceResponse,ResourceException>
AuditServiceProxy. handlePatch(Context context, PatchRequest request)
Promise<QueryResponse,ResourceException>
AuditService. handleQuery(Context context, QueryRequest request, QueryResourceHandler handler)
Performs the query on the specified object and returns the associated results.Promise<QueryResponse,ResourceException>
AuditServiceProxy. handleQuery(Context context, QueryRequest request, QueryResourceHandler handler)
Promise<ResourceResponse,ResourceException>
AuditService. handleRead(Context context, ReadRequest request)
Gets an object from the audit logs by identifier.Promise<ResourceResponse,ResourceException>
AuditServiceProxy. handleRead(Context context, ReadRequest request)
Promise<ResourceResponse,ResourceException>
AuditService. handleUpdate(Context context, UpdateRequest request)
Audit service does not support changing audit entries.Promise<ResourceResponse,ResourceException>
AuditServiceProxy. handleUpdate(Context context, UpdateRequest request)
-
Uses of ResourceException in org.forgerock.audit.events
Methods in org.forgerock.audit.events that throw ResourceException Modifier and Type Method 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 String
AuditEventHelper. getPropertyType(JsonValue auditEvent, JsonPointer property)
Gets a AuditEvent property type. -
Uses of ResourceException in org.forgerock.audit.events.handlers
Methods in org.forgerock.audit.events.handlers that return types with arguments of type ResourceException Modifier and Type Method Description Promise<ActionResponse,ResourceException>
AuditEventHandler. handleAction(Context context, String topic, ActionRequest request)
Performs an action.Promise<ActionResponse,ResourceException>
AuditEventHandlerBase. handleAction(Context context, String topic, ActionRequest request)
Promise<ResourceResponse,ResourceException>
AuditEventHandler. publishEvent(Context context, String topic, JsonValue event)
Publishes an event to the provided topic.Promise<ResourceResponse,ResourceException>
NoOpAuditEventHandler. publishEvent(Context context, String topic, JsonValue event)
Promise<QueryResponse,ResourceException>
AuditEventHandler. queryEvents(Context context, String topic, QueryRequest query, QueryResourceHandler handler)
Query some events from the provided topic.Promise<QueryResponse,ResourceException>
NoOpAuditEventHandler. queryEvents(Context context, String topic, QueryRequest query, QueryResourceHandler handler)
Promise<ResourceResponse,ResourceException>
AuditEventHandler. readEvent(Context context, String topic, String resourceId)
Reads an event with the provided resource id from the provided topic.Promise<ResourceResponse,ResourceException>
NoOpAuditEventHandler. readEvent(Context context, String topic, String resourceId)
Methods in org.forgerock.audit.events.handlers that throw ResourceException Modifier and Type Method Description void
AuditEventHandler. shutdown()
Instruct this object to flush any buffers and close any open file handles or network connections.void
NoOpAuditEventHandler. shutdown()
void
AuditEventHandler. startup()
Instruct this object that it is safe to initialize file handles and network connections.void
NoOpAuditEventHandler. startup()
-
Uses of ResourceException in org.forgerock.audit.handlers.csv
Methods in org.forgerock.audit.handlers.csv that return types with arguments of type ResourceException Modifier and Type Method Description Promise<ActionResponse,ResourceException>
CsvAuditEventHandler. handleAction(Context context, String topic, ActionRequest request)
Promise<ResourceResponse,ResourceException>
CsvAuditEventHandler. publishEvent(Context context, String topic, JsonValue event)
Create a csv audit log entry.Promise<QueryResponse,ResourceException>
CsvAuditEventHandler. queryEvents(Context context, String topic, QueryRequest query, QueryResourceHandler handler)
Perform a query on the csv audit log.Promise<ResourceResponse,ResourceException>
CsvAuditEventHandler. readEvent(Context context, String topic, String resourceId)
Read from the csv audit log.Methods in org.forgerock.audit.handlers.csv that throw ResourceException Modifier and Type Method Description void
CsvAuditEventHandler. shutdown()
Instruct this object to flush any buffers and close any open file handles or network connections.void
CsvAuditEventHandler. startup()
Instruct this object that it is safe to initialize file handles and network connections. -
Uses of ResourceException in org.forgerock.audit.handlers.elasticsearch
Methods in org.forgerock.audit.handlers.elasticsearch that return ResourceException Modifier and Type Method Description protected static ResourceException
ElasticsearchAuditEventHandler. resourceException(String indexName, String topic, String resourceId, Response response)
Gets anException
Promise
containing an Elasticsearch HTTP response status and payload.Methods in org.forgerock.audit.handlers.elasticsearch that return types with arguments of type ResourceException Modifier and Type Method Description 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.Promise<QueryResponse,ResourceException>
ElasticsearchAuditEventHandler. queryEvents(Context context, String topic, QueryRequest query, QueryResourceHandler handler)
Queries the Elasticsearch Search API for audit events.Promise<ResourceResponse,ResourceException>
ElasticsearchAuditEventHandler. readEvent(Context context, String topic, String resourceId)
Methods in org.forgerock.audit.handlers.elasticsearch that throw ResourceException Modifier and Type Method Description void
ElasticsearchAuditEventHandler. shutdown()
void
ElasticsearchAuditEventHandler. startup()
-
Uses of ResourceException in org.forgerock.audit.handlers.jdbc
Methods in org.forgerock.audit.handlers.jdbc that return types with arguments of type ResourceException Modifier and Type Method Description Promise<ResourceResponse,ResourceException>
JdbcAuditEventHandler. publishEvent(Context context, String topic, JsonValue event)
Publishes an event to the provided topic.Promise<QueryResponse,ResourceException>
JdbcAuditEventHandler. queryEvents(Context context, String topic, QueryRequest queryRequest, QueryResourceHandler queryResourceHandler)
Query some events from the provided topic.Promise<ResourceResponse,ResourceException>
JdbcAuditEventHandler. readEvent(Context context, String topic, String resourceId)
Methods in org.forgerock.audit.handlers.jdbc that throw ResourceException Modifier and Type Method Description void
JdbcAuditEventHandler. shutdown()
Instruct this object to flush any buffers and close any open file handles or network connections.void
JdbcAuditEventHandler. startup()
Instruct this object that it is safe to initialize file handles and network connections. -
Uses of ResourceException in org.forgerock.audit.handlers.jms
Methods in org.forgerock.audit.handlers.jms that return types with arguments of type ResourceException Modifier and Type Method Description Promise<ResourceResponse,ResourceException>
JmsAuditEventHandler. publishEvent(Context context, String topic, JsonValue event)
Promise<QueryResponse,ResourceException>
JmsAuditEventHandler. queryEvents(Context context, String topic, QueryRequest queryRequest, QueryResourceHandler queryResourceHandler)
Returns NotSupportedException as query is not implemented for JMS.Promise<ResourceResponse,ResourceException>
JmsAuditEventHandler. readEvent(Context context, String topic, String resourceId)
Returns NotSupportedException as read is not implemented for JMS.Methods in org.forgerock.audit.handlers.jms that throw ResourceException Modifier and Type Method Description void
JmsAuditEventHandler. shutdown()
Closes the JMS connection.void
JmsAuditEventHandler. startup()
Creates the JMS Topic and ConnectionFactory from the context configuration settings and opens the JMS connection.Constructors in org.forgerock.audit.handlers.jms that throw ResourceException Constructor Description JmsAuditEventHandler(JmsContextManager jmsContextManager, BatchPublisherFactory publisherFactory, JmsAuditEventHandlerConfiguration configuration, EventTopicsMetaData eventTopicsMetaData)
Creates a new AuditEventHandler instance that publishes JMS messages on a JMS Topic for each Audit event. -
Uses of ResourceException in org.forgerock.audit.handlers.json
Methods in org.forgerock.audit.handlers.json that return types with arguments of type ResourceException Modifier and Type Method Description Promise<ActionResponse,ResourceException>
JsonAuditEventHandler. handleAction(Context context, String topic, ActionRequest request)
Promise<ResourceResponse,ResourceException>
JsonAuditEventHandler. publishEvent(Context context, String topic, JsonValue event)
Promise<QueryResponse,ResourceException>
JsonAuditEventHandler. queryEvents(Context context, String topic, QueryRequest query, QueryResourceHandler handler)
Promise<ResourceResponse,ResourceException>
JsonAuditEventHandler. readEvent(Context context, String topic, String resourceId)
Methods in org.forgerock.audit.handlers.json that throw ResourceException Modifier and Type Method Description void
JsonAuditEventHandler. shutdown()
void
JsonAuditEventHandler. startup()
-
Uses of ResourceException in org.forgerock.audit.handlers.splunk
Methods in org.forgerock.audit.handlers.splunk that return types with arguments of type ResourceException Modifier and Type Method Description Promise<ResourceResponse,ResourceException>
SplunkAuditEventHandler. publishEvent(Context context, String topic, JsonValue event)
Promise<QueryResponse,ResourceException>
SplunkAuditEventHandler. queryEvents(Context context, String topic, QueryRequest query, QueryResourceHandler handler)
Promise<ResourceResponse,ResourceException>
SplunkAuditEventHandler. readEvent(Context context, String topic, String resourceId)
Methods in org.forgerock.audit.handlers.splunk that throw ResourceException Modifier and Type Method Description void
SplunkAuditEventHandler. shutdown()
void
SplunkAuditEventHandler. startup()
-
Uses of ResourceException in org.forgerock.audit.handlers.syslog
Methods in org.forgerock.audit.handlers.syslog that return types with arguments of type ResourceException Modifier and Type Method Description Promise<ResourceResponse,ResourceException>
SyslogAuditEventHandler. publishEvent(Context context, String topic, JsonValue event)
Promise<QueryResponse,ResourceException>
SyslogAuditEventHandler. queryEvents(Context context, String topic, QueryRequest queryRequest, QueryResourceHandler queryResourceHandler)
Promise<ResourceResponse,ResourceException>
SyslogAuditEventHandler. readEvent(Context context, String topic, String resourceId)
-
Uses of ResourceException in org.forgerock.audit.util
Methods in org.forgerock.audit.util that return ResourceException Modifier and Type Method Description static ResourceException
ResourceExceptionsUtil. adapt(Throwable t)
Adapts aThrowable
to aResourceException
.static ResourceException
ResourceExceptionsUtil. notSupported(Request request)
Creates a NotSupportedException.static ResourceException
ResourceExceptionsUtil. notSupportedOnCollection(Request request)
Creates a NotSupportedException.static ResourceException
ResourceExceptionsUtil. notSupportedOnInstance(Request request)
Creates a NotSupportedException. -
Uses of ResourceException in org.forgerock.json.resource
Subclasses of ResourceException in org.forgerock.json.resource Modifier and Type Class Description class
BadRequestException
An exception that is thrown during a operation on a resource when the requested operation is malformed.class
ConflictException
An exception that is thrown during a operation on a resource when such an operation would result in a conflict.class
CreateNotSupportedException
A specific exception for when Create is not supported, but Upsert might be being attempted so distinguish from otherBadRequestException
s.class
ForbiddenException
An exception that is thrown when access to a resource is forbidden during an operation on an resource.class
InternalServerErrorException
An exception that is thrown during an operation on a resource when the server encountered an unexpected condition which prevented it from fulfilling the request.class
NotFoundException
An exception that is thrown when a specified resource cannot be found.class
NotSupportedException
An exception that is thrown during an operation on a resource when the resource does not implement/support the feature to fulfill the request.class
PermanentException
An exception that indicates that a failure is permanent, i.e.class
PreconditionFailedException
An exception that is thrown to indicate that a resource's current version does not match the version provided.class
PreconditionRequiredException
An exception that is thrown to indicate that a resource requires a version, but no version was supplied in the request.class
RetryableException
An exception that indicates that a failure may be temporary, and that retrying the same request may be able to succeed in the future.class
ServiceUnavailableException
An exception that is thrown during an operation on a resource when the server is temporarily unable to handle the request.class
UncategorizedException
An exception that indicates that a failure is not directly known to the system, and hence requires out-of-band knowledge or enhancements to determine if a failure should be categorized as temporary or permanent.class
UnsupportedMediaTypeException
Indicates a 415 Unsupported Media Type response that the Content-Type of the request was not acceptable.Methods in org.forgerock.json.resource with type parameters of type ResourceException Modifier and Type Method Description <E extends ResourceException>
EResourceException. includeCauseInJsonValue()
Returns this ResourceException with the includeCause flag set to true so that toJsonValue() method will include the cause if there is one supplied.<E extends ResourceException>
EResourceException. setDetail(JsonValue detail)
Sets the additional detail which can be evaluated by applications.<E extends ResourceException>
EResourceException. setReason(String reason)
Sets/overrides the short reason phrase of the exception.Methods in org.forgerock.json.resource that return ResourceException Modifier and Type Method Description static ResourceException
ResourceException. getException(int code)
Deprecated.in favor ofnewResourceException(int)
static ResourceException
ResourceException. getException(int code, String message)
Deprecated.in favor ofnewResourceException(int, String)
static ResourceException
ResourceException. getException(int code, String message, Throwable cause)
Deprecated.in favor ofnewResourceException(int, String, Throwable)
static ResourceException
ResourceException. newResourceException(int code)
Returns an exception with the specified HTTP error code, but no detail message or cause, and a default reason phrase.static ResourceException
ResourceException. newResourceException(int code, String message)
Returns an exception with the specified HTTP error code and detail message, but no cause, and a default reason phrase.static ResourceException
ResourceException. newResourceException(int code, String message, Throwable cause)
Returns an exception with the specified HTTP error code, detail message, and cause, and a default reason phrase.Methods in org.forgerock.json.resource that return types with arguments of type ResourceException Modifier and Type Method Description Promise<ActionResponse,ResourceException>
AbstractConnectionWrapper. actionAsync(Context context, ActionRequest request)
Asynchronously performs an action against a specific resource, or set of resources.Promise<ActionResponse,ResourceException>
Connection. actionAsync(Context context, ActionRequest request)
Asynchronously performs an action against a specific resource, or set of resources.default Promise<ActionResponse,ResourceException>
CollectionResourceProvider. actionCollection(Context context, ActionRequest request)
Performs the providedaction
against the resource collection.Promise<ActionResponse,ResourceException>
MemoryBackend. actionCollection(Context context, ActionRequest request)
Performs the providedaction
against the resource collection.default Promise<ActionResponse,ResourceException>
CollectionResourceProvider. actionInstance(Context context, String resourceId, ActionRequest request)
Performs the providedaction
against a resource within the collection.Promise<ActionResponse,ResourceException>
MemoryBackend. actionInstance(Context context, String id, ActionRequest request)
Performs the providedaction
against a resource within the collection.default Promise<ActionResponse,ResourceException>
SingletonResourceProvider. actionInstance(Context context, ActionRequest request)
Performs the providedaction
against the single resource instance.Promise<ActionResponse,ResourceException>
ActionResponse. asPromise()
Return this response as a result Promise.Promise<QueryResponse,ResourceException>
QueryResponse. asPromise()
Return this response as a result Promise.<V> Promise<V,ResourceException>
ResourceException. asPromise()
Return this ResourceException as a Promise.Promise<ResourceResponse,ResourceException>
ResourceResponse. asPromise()
Return this response as a result Promise.Promise<ResourceResponse,ResourceException>
AbstractConnectionWrapper. createAsync(Context context, CreateRequest request)
Asynchronously adds a new JSON resource.Promise<ResourceResponse,ResourceException>
Connection. createAsync(Context context, CreateRequest request)
Asynchronously adds a new JSON resource.default Promise<ResourceResponse,ResourceException>
CollectionResourceProvider. createInstance(Context context, CreateRequest request)
Adds
a new resource instance to the collection.Promise<ResourceResponse,ResourceException>
MemoryBackend. createInstance(Context context, CreateRequest request)
Adds
a new resource instance to the collection.Promise<ResourceResponse,ResourceException>
AbstractConnectionWrapper. deleteAsync(Context context, DeleteRequest request)
Asynchronously deletes a JSON resource.Promise<ResourceResponse,ResourceException>
Connection. deleteAsync(Context context, DeleteRequest request)
Asynchronously deletes a JSON resource.default Promise<ResourceResponse,ResourceException>
CollectionResourceProvider. deleteInstance(Context context, String resourceId, DeleteRequest request)
Removes
a resource instance from the collection.Promise<ResourceResponse,ResourceException>
MemoryBackend. deleteInstance(Context context, String id, DeleteRequest request)
Removes
a resource instance from the collection.Promise<ActionResponse,ResourceException>
Filter. filterAction(Context context, ActionRequest request, RequestHandler next)
Filters an action request.Promise<ActionResponse,ResourceException>
ResourceApiVersionRoutingFilter. filterAction(Context context, ActionRequest request, RequestHandler next)
Promise<ActionResponse,ResourceException>
ResourceApiVersionSpecificationFilter. filterAction(Context context, ActionRequest request, RequestHandler next)
Promise<ResourceResponse,ResourceException>
Filter. filterCreate(Context context, CreateRequest request, RequestHandler next)
Filters a create request.Promise<ResourceResponse,ResourceException>
ResourceApiVersionRoutingFilter. filterCreate(Context context, CreateRequest request, RequestHandler next)
Promise<ResourceResponse,ResourceException>
ResourceApiVersionSpecificationFilter. filterCreate(Context context, CreateRequest request, RequestHandler next)
Promise<ResourceResponse,ResourceException>
Filter. filterDelete(Context context, DeleteRequest request, RequestHandler next)
Filters a delete request.Promise<ResourceResponse,ResourceException>
ResourceApiVersionRoutingFilter. filterDelete(Context context, DeleteRequest request, RequestHandler next)
Promise<ResourceResponse,ResourceException>
ResourceApiVersionSpecificationFilter. filterDelete(Context context, DeleteRequest request, RequestHandler next)
Promise<ResourceResponse,ResourceException>
Filter. filterPatch(Context context, PatchRequest request, RequestHandler next)
Filters a patch request.Promise<ResourceResponse,ResourceException>
ResourceApiVersionRoutingFilter. filterPatch(Context context, PatchRequest request, RequestHandler next)
Promise<ResourceResponse,ResourceException>
ResourceApiVersionSpecificationFilter. filterPatch(Context context, PatchRequest request, RequestHandler next)
Promise<QueryResponse,ResourceException>
Filter. filterQuery(Context context, QueryRequest request, QueryResourceHandler handler, RequestHandler next)
Filters a query request.Promise<QueryResponse,ResourceException>
ResourceApiVersionRoutingFilter. filterQuery(Context context, QueryRequest request, QueryResourceHandler handler, RequestHandler next)
Promise<QueryResponse,ResourceException>
ResourceApiVersionSpecificationFilter. filterQuery(Context context, QueryRequest request, QueryResourceHandler handler, RequestHandler next)
Promise<ResourceResponse,ResourceException>
Filter. filterRead(Context context, ReadRequest request, RequestHandler next)
Filters a read request.Promise<ResourceResponse,ResourceException>
ResourceApiVersionRoutingFilter. filterRead(Context context, ReadRequest request, RequestHandler next)
Promise<ResourceResponse,ResourceException>
ResourceApiVersionSpecificationFilter. filterRead(Context context, ReadRequest request, RequestHandler next)
Promise<ResourceResponse,ResourceException>
Filter. filterUpdate(Context context, UpdateRequest request, RequestHandler next)
Filters an update request.Promise<ResourceResponse,ResourceException>
ResourceApiVersionRoutingFilter. filterUpdate(Context context, UpdateRequest request, RequestHandler next)
Promise<ResourceResponse,ResourceException>
ResourceApiVersionSpecificationFilter. filterUpdate(Context context, UpdateRequest request, RequestHandler next)
Promise<Connection,ResourceException>
ConnectionFactory. getConnectionAsync()
Asynchronously obtains a connection to the JSON resource provider associated with this connection factory.Promise<ActionResponse,ResourceException>
FilterChain. handleAction(Context context, ActionRequest request)
default Promise<ActionResponse,ResourceException>
RequestHandler. handleAction(Context context, ActionRequest request)
Handles performing an action on a resource, and optionally returns an associated result.Promise<ActionResponse,ResourceException>
Router. handleAction(Context context, ActionRequest request)
Promise<ResourceResponse,ResourceException>
FilterChain. handleCreate(Context context, CreateRequest request)
default Promise<ResourceResponse,ResourceException>
RequestHandler. handleCreate(Context context, CreateRequest request)
Adds a new JSON resource, returning aPromise
that will be completed when the resource has been added.Promise<ResourceResponse,ResourceException>
Router. handleCreate(Context context, CreateRequest request)
Promise<ResourceResponse,ResourceException>
FilterChain. handleDelete(Context context, DeleteRequest request)
default Promise<ResourceResponse,ResourceException>
RequestHandler. handleDelete(Context context, DeleteRequest request)
Deletes a JSON resource, returning aPromise
that will be completed when the resource has been deleted.Promise<ResourceResponse,ResourceException>
Router. handleDelete(Context context, DeleteRequest request)
Promise<ResourceResponse,ResourceException>
FilterChain. handlePatch(Context context, PatchRequest request)
default Promise<ResourceResponse,ResourceException>
RequestHandler. handlePatch(Context context, PatchRequest request)
Updates a JSON resource by applying a set of changes to its existing content, returning aPromise
that will be completed when the resource has been updated.Promise<ResourceResponse,ResourceException>
Router. handlePatch(Context context, PatchRequest request)
Promise<QueryResponse,ResourceException>
FilterChain. handleQuery(Context context, QueryRequest request, QueryResourceHandler handler)
default Promise<QueryResponse,ResourceException>
RequestHandler. handleQuery(Context context, QueryRequest request, QueryResourceHandler handler)
Searches for all JSON resources matching a user specified set of criteria, returning aPromise
that will be completed when the search has completed.Promise<QueryResponse,ResourceException>
Router. handleQuery(Context context, QueryRequest request, QueryResourceHandler handler)
Promise<ResourceResponse,ResourceException>
FilterChain. handleRead(Context context, ReadRequest request)
default Promise<ResourceResponse,ResourceException>
RequestHandler. handleRead(Context context, ReadRequest request)
Reads a JSON resource, returning aPromise
that will be completed when the resource has been read.Promise<ResourceResponse,ResourceException>
Router. handleRead(Context context, ReadRequest request)
Promise<ResourceResponse,ResourceException>
FilterChain. handleUpdate(Context context, UpdateRequest request)
default Promise<ResourceResponse,ResourceException>
RequestHandler. handleUpdate(Context context, UpdateRequest request)
Updates a JSON resource by replacing its existing content with new content, returning aPromise
that will be completed when the resource has been updated.Promise<ResourceResponse,ResourceException>
Router. handleUpdate(Context context, UpdateRequest request)
Promise<ResourceResponse,ResourceException>
AbstractConnectionWrapper. patchAsync(Context context, PatchRequest request)
Asynchronously updates a JSON resource by applying a set of changes to its existing content.Promise<ResourceResponse,ResourceException>
Connection. patchAsync(Context context, PatchRequest request)
Asynchronously updates a JSON resource by applying a set of changes to its existing content.default Promise<ResourceResponse,ResourceException>
CollectionResourceProvider. patchInstance(Context context, String resourceId, PatchRequest request)
Patches
an existing resource within the collection.Promise<ResourceResponse,ResourceException>
MemoryBackend. patchInstance(Context context, String id, PatchRequest request)
Patches
an existing resource within the collection.default Promise<ResourceResponse,ResourceException>
SingletonResourceProvider. patchInstance(Context context, PatchRequest request)
Patches
the single resource instance.Promise<QueryResponse,ResourceException>
AbstractConnectionWrapper. queryAsync(Context context, QueryRequest request, QueryResourceHandler handler)
Asynchronously searches for all JSON resources matching a user specified set of criteria, and returns aPromise
that will be completed with the results of the search.Promise<QueryResponse,ResourceException>
Connection. queryAsync(Context context, QueryRequest request, QueryResourceHandler handler)
Asynchronously searches for all JSON resources matching a user specified set of criteria, and returns aPromise
that will be completed with the results of the search.default Promise<QueryResponse,ResourceException>
CollectionResourceProvider. queryCollection(Context context, QueryRequest request, QueryResourceHandler handler)
Searches
the collection for all resources which match the query request criteria.Promise<QueryResponse,ResourceException>
MemoryBackend. queryCollection(Context context, QueryRequest request, QueryResourceHandler handler)
Searches
the collection for all resources which match the query request criteria.Promise<ResourceResponse,ResourceException>
AbstractConnectionWrapper. readAsync(Context context, ReadRequest request)
Asynchronously reads a JSON resource.Promise<ResourceResponse,ResourceException>
Connection. readAsync(Context context, ReadRequest request)
Asynchronously reads a JSON resource.default Promise<ResourceResponse,ResourceException>
CollectionResourceProvider. readInstance(Context context, String resourceId, ReadRequest request)
Reads
an existing resource within the collection.Promise<ResourceResponse,ResourceException>
MemoryBackend. readInstance(Context context, String id, ReadRequest request)
Reads
an existing resource within the collection.default Promise<ResourceResponse,ResourceException>
SingletonResourceProvider. readInstance(Context context, ReadRequest request)
Reads
the single resource instance.Promise<ResourceResponse,ResourceException>
AbstractConnectionWrapper. updateAsync(Context context, UpdateRequest request)
Asynchronously updates a JSON resource by replacing its existing content with new content.Promise<ResourceResponse,ResourceException>
Connection. updateAsync(Context context, UpdateRequest request)
Asynchronously updates a JSON resource by replacing its existing content with new content.default Promise<ResourceResponse,ResourceException>
CollectionResourceProvider. updateInstance(Context context, String resourceId, UpdateRequest request)
Updates
an existing resource within the collection.Promise<ResourceResponse,ResourceException>
MemoryBackend. updateInstance(Context context, String id, UpdateRequest request)
Updates
an existing resource within the collection.default Promise<ResourceResponse,ResourceException>
SingletonResourceProvider. updateInstance(Context context, UpdateRequest request)
Updates
the single resource instance.Methods in org.forgerock.json.resource that throw ResourceException Modifier and Type Method Description ActionResponse
AbstractAsynchronousConnection. action(Context context, ActionRequest request)
ActionResponse
AbstractConnectionWrapper. action(Context context, ActionRequest request)
Performs an action against a specific resource, or set of resources.ActionResponse
Connection. action(Context context, ActionRequest request)
Performs an action against a specific resource, or set of resources.ResourceResponse
AbstractAsynchronousConnection. create(Context context, CreateRequest request)
ResourceResponse
AbstractConnectionWrapper. create(Context context, CreateRequest request)
Adds a new JSON resource.ResourceResponse
Connection. create(Context context, CreateRequest request)
Adds a new JSON resource.ResourceResponse
AbstractAsynchronousConnection. delete(Context context, DeleteRequest request)
ResourceResponse
AbstractConnectionWrapper. delete(Context context, DeleteRequest request)
Deletes a JSON resource.ResourceResponse
Connection. delete(Context context, DeleteRequest request)
Deletes a JSON resource.Connection
ConnectionFactory. getConnection()
Returns a connection to the JSON resource provider associated with this connection factory.ActionResponse
SynchronousRequestHandler. handleAction(Context context, ActionRequest request)
Handles performing an action on a resource, and optionally returns an associated result.ResourceResponse
SynchronousRequestHandler. handleCreate(Context context, CreateRequest request)
Adds a new JSON resource.ResourceResponse
SynchronousRequestHandler. handleDelete(Context context, DeleteRequest request)
Deletes a JSON resource.ResourceResponse
SynchronousRequestHandler. handlePatch(Context context, PatchRequest request)
Updates a JSON resource by applying a set of changes to its existing content.QueryResponse
SynchronousRequestHandler. handleQuery(Context context, QueryRequest request, Collection<ResourceResponse> resources)
Searches for all JSON resources matching a user specified set of criteria.ResourceResponse
SynchronousRequestHandler. handleRead(Context context, ReadRequest request)
Reads a JSON resource.ResourceResponse
SynchronousRequestHandler. handleUpdate(Context context, UpdateRequest request)
Updates a JSON resource by replacing its existing content with new content.ResourceResponse
AbstractAsynchronousConnection. patch(Context context, PatchRequest request)
ResourceResponse
AbstractConnectionWrapper. patch(Context context, PatchRequest request)
Updates a JSON resource by applying a set of changes to its existing content.ResourceResponse
Connection. patch(Context context, PatchRequest request)
Updates a JSON resource by applying a set of changes to its existing content.QueryResponse
AbstractAsynchronousConnection. query(Context context, QueryRequest request, Collection<? super ResourceResponse> results)
QueryResponse
AbstractAsynchronousConnection. query(Context context, QueryRequest request, QueryResourceHandler handler)
QueryResponse
AbstractConnectionWrapper. query(Context context, QueryRequest request, Collection<? super ResourceResponse> results)
Searches for all JSON resources matching a user specified set of criteria, and places the results in the provided collection.QueryResponse
AbstractConnectionWrapper. query(Context context, QueryRequest request, QueryResourceHandler handler)
Searches for all JSON resources matching a user specified set of criteria, and returns aPromise
that will be completed with the results of the search.QueryResponse
Connection. query(Context context, QueryRequest request, Collection<? super ResourceResponse> results)
Searches for all JSON resources matching a user specified set of criteria, and places the results in the provided collection.QueryResponse
Connection. query(Context context, QueryRequest request, QueryResourceHandler handler)
Searches for all JSON resources matching a user specified set of criteria, and returns aPromise
that will be completed with the results of the search.ResourceResponse
AbstractAsynchronousConnection. read(Context context, ReadRequest request)
ResourceResponse
AbstractConnectionWrapper. read(Context context, ReadRequest request)
Reads a JSON resource.ResourceResponse
Connection. read(Context context, ReadRequest request)
Reads a JSON resource.ResourceResponse
AbstractAsynchronousConnection. update(Context context, UpdateRequest request)
ResourceResponse
AbstractConnectionWrapper. update(Context context, UpdateRequest request)
Updates a JSON resource by replacing its existing content with new content.ResourceResponse
Connection. update(Context context, UpdateRequest request)
Updates a JSON resource by replacing its existing content with new content. -
Uses of ResourceException in org.forgerock.json.resource.http
Methods in org.forgerock.json.resource.http that throw ResourceException Modifier and Type Method Description Context
HttpContextFactory. createContext(Context parent, Request request)
Returns the context which should be used for the provided HTTP request.SecurityContext
SecurityContextFactory. createContext(Context parent)
Deprecated.Creates a newSecurityContext
using the attributes contained in the provided HTTP request.SecurityContext
SecurityContextFactory. createContext(Context context, Request request)
Deprecated.Creates a newSecurityContext
using the attributes contained in the provided HTTP request.static RequestType
HttpUtils. determineRequestType(Request request)
Determines which CREST operation (CRUDPAQ) of the incoming request. -
Uses of ResourceException in org.forgerock.openig.audit
-
Uses of ResourceException in org.forgerock.openig.http
Methods in org.forgerock.openig.http that return types with arguments of type ResourceException Modifier and Type Method Description Promise<ActionResponse,ResourceException>
ServerInfoSingletonProvider. actionInstance(Context context, ActionRequest request)
Promise<ResourceResponse,ResourceException>
ServerInfoSingletonProvider. patchInstance(Context context, PatchRequest request)
Promise<ResourceResponse,ResourceException>
ServerInfoSingletonProvider. readInstance(Context context, ReadRequest request)
Promise<ResourceResponse,ResourceException>
ServerInfoSingletonProvider. updateInstance(Context context, UpdateRequest request)
-
Uses of ResourceException in org.forgerock.openig.tools
-
Uses of ResourceException in org.forgerock.openig.ui.record
-