Uses of Class
org.forgerock.json.resource.ResourceException
Package
Description
Package contains the AuditService.
Package contains audit events.
This package contains the default
AuditEventHandlers
.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 utility classes used in the audit service.
Classes and interfaces for core types including connections, request
handlers, resources, and their exceptions.
JSON resource Commons HTTP Framework integration.
Common utility classes for monitoring.
APIs for implementing REST to LDAP gateways.
This package contains
Filter
to authenticate and authorize LDAP connections.-
Uses of ResourceException in org.forgerock.audit
Modifier and TypeMethodDescriptionAuditService.handleAction
(org.forgerock.services.context.Context context, ActionRequest request) Audit service may support actions on the service itself or on handlers.AuditServiceProxy.handleAction
(org.forgerock.services.context.Context context, ActionRequest request) AuditService.handleCreate
(org.forgerock.services.context.Context context, CreateRequest request) Propagates the audit event to theAuditEventHandler
objects that have been registered for the audit event topic.AuditServiceProxy.handleCreate
(org.forgerock.services.context.Context context, CreateRequest request) AuditService.handleDelete
(org.forgerock.services.context.Context context, DeleteRequest request) Audit service does not support changing audit entries.AuditServiceProxy.handleDelete
(org.forgerock.services.context.Context context, DeleteRequest request) AuditService.handlePatch
(org.forgerock.services.context.Context context, PatchRequest request) Audit service does not support changing audit entries.AuditServiceProxy.handlePatch
(org.forgerock.services.context.Context context, PatchRequest request) AuditService.handleQuery
(org.forgerock.services.context.Context context, QueryRequest request, QueryResourceHandler handler) Performs the query on the specified object and returns the associated results.AuditServiceProxy.handleQuery
(org.forgerock.services.context.Context context, QueryRequest request, QueryResourceHandler handler) AuditService.handleRead
(org.forgerock.services.context.Context context, ReadRequest request) Gets an object from the audit logs by identifier.AuditServiceProxy.handleRead
(org.forgerock.services.context.Context context, ReadRequest request) AuditService.handleUpdate
(org.forgerock.services.context.Context context, UpdateRequest request) Audit service does not support changing audit entries.AuditServiceProxy.handleUpdate
(org.forgerock.services.context.Context context, UpdateRequest request) -
Uses of ResourceException in org.forgerock.audit.events
Modifier and TypeMethodDescriptionstatic 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
Modifier and TypeMethodDescriptionAuditEventHandler.handleAction
(org.forgerock.services.context.Context context, String topic, ActionRequest request) Performs an action.AuditEventHandlerBase.handleAction
(org.forgerock.services.context.Context context, String topic, ActionRequest request) AuditEventHandler.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) AuditEventHandler.queryEvents
(org.forgerock.services.context.Context context, String topic, QueryRequest query, QueryResourceHandler handler) Query some events from the provided topic.NoOpAuditEventHandler.queryEvents
(org.forgerock.services.context.Context context, String topic, QueryRequest query, QueryResourceHandler handler) AuditEventHandler.readEvent
(org.forgerock.services.context.Context context, String topic, String resourceId) Reads an event with the provided resource id from the provided topic.NoOpAuditEventHandler.readEvent
(org.forgerock.services.context.Context context, String topic, String resourceId) Modifier and TypeMethodDescriptionvoid
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
Modifier and TypeMethodDescriptionCsvAuditEventHandler.handleAction
(org.forgerock.services.context.Context context, String topic, ActionRequest request) CsvAuditEventHandler.publishEvent
(org.forgerock.services.context.Context context, String topic, JsonValue event) Create a csv audit log entry.CsvAuditEventHandler.queryEvents
(org.forgerock.services.context.Context context, String topic, QueryRequest query, QueryResourceHandler handler) Perform a query on the csv audit log.CsvAuditEventHandler.readEvent
(org.forgerock.services.context.Context context, String topic, String resourceId) Read from the csv audit log. -
Uses of ResourceException in org.forgerock.audit.handlers.elasticsearch
Modifier and TypeMethodDescriptionprotected static ResourceException
ElasticsearchAuditEventHandler.resourceException
(String indexName, String topic, String resourceId, org.forgerock.http.protocol.Response response) Gets anException
Promise
containing an Elasticsearch HTTP response status and payload.Modifier and TypeMethodDescriptionElasticsearchAuditEventHandler.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.ElasticsearchAuditEventHandler.queryEvents
(org.forgerock.services.context.Context context, String topic, QueryRequest query, QueryResourceHandler handler) Queries the Elasticsearch Search API for audit events.ElasticsearchAuditEventHandler.readEvent
(org.forgerock.services.context.Context context, String topic, String resourceId) -
Uses of ResourceException in org.forgerock.audit.handlers.jms
Modifier and TypeMethodDescriptionJmsAuditEventHandler.publishEvent
(org.forgerock.services.context.Context context, String topic, JsonValue event) JmsAuditEventHandler.queryEvents
(org.forgerock.services.context.Context context, String topic, QueryRequest queryRequest, QueryResourceHandler queryResourceHandler) Returns NotSupportedException as query is not implemented for JMS.JmsAuditEventHandler.readEvent
(org.forgerock.services.context.Context context, String topic, String resourceId) Returns NotSupportedException as read is not implemented for JMS.Modifier and TypeMethodDescriptionvoid
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.ModifierConstructorDescriptionJmsAuditEventHandler
(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
Modifier and TypeMethodDescriptionJsonAuditEventHandler.handleAction
(org.forgerock.services.context.Context context, String topic, ActionRequest request) JsonAuditEventHandler.publishEvent
(org.forgerock.services.context.Context context, String topic, JsonValue event) JsonAuditEventHandler.queryEvents
(org.forgerock.services.context.Context context, String topic, QueryRequest query, QueryResourceHandler handler) JsonAuditEventHandler.readEvent
(org.forgerock.services.context.Context context, String topic, String resourceId) -
Uses of ResourceException in org.forgerock.audit.handlers.json.stdout
Modifier and TypeMethodDescriptionJsonStdoutAuditEventHandler.publishEvent
(org.forgerock.services.context.Context context, String topic, JsonValue event) JsonStdoutAuditEventHandler.queryEvents
(org.forgerock.services.context.Context context, String topic, QueryRequest query, QueryResourceHandler handler) JsonStdoutAuditEventHandler.readEvent
(org.forgerock.services.context.Context context, String topic, String resourceId) -
Uses of ResourceException in org.forgerock.audit.handlers.splunk
Modifier and TypeMethodDescriptionSplunkAuditEventHandler.publishEvent
(org.forgerock.services.context.Context context, String topic, JsonValue event) SplunkAuditEventHandler.queryEvents
(org.forgerock.services.context.Context context, String topic, QueryRequest query, QueryResourceHandler handler) SplunkAuditEventHandler.readEvent
(org.forgerock.services.context.Context context, String topic, String resourceId) -
Uses of ResourceException in org.forgerock.audit.handlers.syslog
Modifier and TypeMethodDescriptionSyslogAuditEventHandler.publishEvent
(org.forgerock.services.context.Context context, String topic, JsonValue event) SyslogAuditEventHandler.queryEvents
(org.forgerock.services.context.Context context, String topic, QueryRequest queryRequest, QueryResourceHandler queryResourceHandler) SyslogAuditEventHandler.readEvent
(org.forgerock.services.context.Context context, String topic, String resourceId) -
Uses of ResourceException in org.forgerock.audit.util
Modifier and TypeMethodDescriptionstatic ResourceException
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
Modifier and TypeClassDescriptionclass
An exception that is thrown during a operation on a resource when the requested operation is malformed.class
An exception that is thrown during a operation on a resource when such an operation would result in a conflict.class
A specific exception for when Create is not supported, but Upsert might be being attempted so distinguish from otherBadRequestException
s.class
An exception that is thrown when access to a resource is forbidden during an operation on an resource.class
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
An exception that is thrown when a specified resource cannot be found.class
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
An exception that indicates that a failure is permanent, i.e.class
An exception that is thrown to indicate that a resource's current version does not match the version provided.class
An exception that is thrown to indicate that a resource requires a version, but no version was supplied in the request.class
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
An exception that is thrown during an operation on a resource when the server is temporarily unable to handle the request.class
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
Indicates a 415 Unsupported Media Type response that the Content-Type of the request was not acceptable.Modifier and TypeMethodDescriptionfinal <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.final <E extends ResourceException>
ESets the additional detail which can be evaluated by applications.final <E extends ResourceException>
ESets/overrides the short reason phrase of the exception.Modifier and TypeMethodDescriptionstatic ResourceException
ResourceException.getException
(int code) Deprecated.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.Modifier and TypeMethodDescriptionAbstractConnectionWrapper.actionAsync
(org.forgerock.services.context.Context context, ActionRequest request) Asynchronously performs an action against a specific resource, or set of resources.Connection.actionAsync
(org.forgerock.services.context.Context context, ActionRequest request) Asynchronously performs an action against a specific resource, or set of resources.default Promise<ActionResponse,
ResourceException> CollectionResourceProvider.actionCollection
(org.forgerock.services.context.Context context, ActionRequest request) Performs the providedaction
against the resource collection.MemoryBackend.actionCollection
(org.forgerock.services.context.Context context, ActionRequest request) Performs the providedaction
against the resource collection.default Promise<ActionResponse,
ResourceException> CollectionResourceProvider.actionInstance
(org.forgerock.services.context.Context context, String resourceId, ActionRequest request) Performs the providedaction
against a resource within the collection.MemoryBackend.actionInstance
(org.forgerock.services.context.Context context, String id, ActionRequest request) Performs the providedaction
against a resource within the collection.default Promise<ActionResponse,
ResourceException> SingletonResourceProvider.actionInstance
(org.forgerock.services.context.Context context, ActionRequest request) Performs the providedaction
against the single resource instance.ActionResponse.asPromise()
Return this response as a result Promise.QueryResponse.asPromise()
Return this response as a result Promise.<V> Promise<V,
ResourceException> ResourceException.asPromise()
Return this ResourceException as a Promise.ResourceResponse.asPromise()
Return this response as a result Promise.AbstractConnectionWrapper.createAsync
(org.forgerock.services.context.Context context, CreateRequest request) Asynchronously adds a new JSON resource.Connection.createAsync
(org.forgerock.services.context.Context context, CreateRequest request) Asynchronously adds a new JSON resource.default Promise<ResourceResponse,
ResourceException> CollectionResourceProvider.createInstance
(org.forgerock.services.context.Context context, CreateRequest request) Adds
a new resource instance to the collection.MemoryBackend.createInstance
(org.forgerock.services.context.Context context, CreateRequest request) Adds
a new resource instance to the collection.AbstractConnectionWrapper.deleteAsync
(org.forgerock.services.context.Context context, DeleteRequest request) Asynchronously deletes a JSON resource.Connection.deleteAsync
(org.forgerock.services.context.Context context, DeleteRequest request) Asynchronously deletes a JSON resource.default Promise<ResourceResponse,
ResourceException> CollectionResourceProvider.deleteInstance
(org.forgerock.services.context.Context context, String resourceId, DeleteRequest request) Removes
a resource instance from the collection.MemoryBackend.deleteInstance
(org.forgerock.services.context.Context context, String id, DeleteRequest request) Removes
a resource instance from the collection.Filter.filterAction
(org.forgerock.services.context.Context context, ActionRequest request, RequestHandler next) Filters an action request.ResourceApiVersionRoutingFilter.filterAction
(org.forgerock.services.context.Context context, ActionRequest request, RequestHandler next) ResourceApiVersionSpecificationFilter.filterAction
(org.forgerock.services.context.Context context, ActionRequest request, RequestHandler next) Filter.filterCreate
(org.forgerock.services.context.Context context, CreateRequest request, RequestHandler next) Filters a create request.ResourceApiVersionRoutingFilter.filterCreate
(org.forgerock.services.context.Context context, CreateRequest request, RequestHandler next) ResourceApiVersionSpecificationFilter.filterCreate
(org.forgerock.services.context.Context context, CreateRequest request, RequestHandler next) Filter.filterDelete
(org.forgerock.services.context.Context context, DeleteRequest request, RequestHandler next) Filters a delete request.ResourceApiVersionRoutingFilter.filterDelete
(org.forgerock.services.context.Context context, DeleteRequest request, RequestHandler next) ResourceApiVersionSpecificationFilter.filterDelete
(org.forgerock.services.context.Context context, DeleteRequest request, RequestHandler next) Filter.filterPatch
(org.forgerock.services.context.Context context, PatchRequest request, RequestHandler next) Filters a patch request.ResourceApiVersionRoutingFilter.filterPatch
(org.forgerock.services.context.Context context, PatchRequest request, RequestHandler next) ResourceApiVersionSpecificationFilter.filterPatch
(org.forgerock.services.context.Context context, PatchRequest request, RequestHandler next) Filter.filterQuery
(org.forgerock.services.context.Context context, QueryRequest request, QueryResourceHandler handler, RequestHandler next) Filters a query request.ResourceApiVersionRoutingFilter.filterQuery
(org.forgerock.services.context.Context context, QueryRequest request, QueryResourceHandler handler, RequestHandler next) ResourceApiVersionSpecificationFilter.filterQuery
(org.forgerock.services.context.Context context, QueryRequest request, QueryResourceHandler handler, RequestHandler next) Filter.filterRead
(org.forgerock.services.context.Context context, ReadRequest request, RequestHandler next) Filters a read request.ResourceApiVersionRoutingFilter.filterRead
(org.forgerock.services.context.Context context, ReadRequest request, RequestHandler next) ResourceApiVersionSpecificationFilter.filterRead
(org.forgerock.services.context.Context context, ReadRequest request, RequestHandler next) Filter.filterUpdate
(org.forgerock.services.context.Context context, UpdateRequest request, RequestHandler next) Filters an update request.ResourceApiVersionRoutingFilter.filterUpdate
(org.forgerock.services.context.Context context, UpdateRequest request, RequestHandler next) ResourceApiVersionSpecificationFilter.filterUpdate
(org.forgerock.services.context.Context context, UpdateRequest request, RequestHandler next) ConnectionFactory.getConnectionAsync()
Asynchronously obtains a connection to the JSON resource provider associated with this connection factory.FilterChain.handleAction
(org.forgerock.services.context.Context context, ActionRequest request) default Promise<ActionResponse,
ResourceException> RequestHandler.handleAction
(org.forgerock.services.context.Context context, ActionRequest request) Handles performing an action on a resource, and optionally returns an associated result.Router.handleAction
(org.forgerock.services.context.Context context, ActionRequest request) FilterChain.handleCreate
(org.forgerock.services.context.Context context, CreateRequest request) default Promise<ResourceResponse,
ResourceException> RequestHandler.handleCreate
(org.forgerock.services.context.Context context, CreateRequest request) Adds a new JSON resource, returning aPromise
that will be completed when the resource has been added.Router.handleCreate
(org.forgerock.services.context.Context context, CreateRequest request) FilterChain.handleDelete
(org.forgerock.services.context.Context context, DeleteRequest request) default Promise<ResourceResponse,
ResourceException> RequestHandler.handleDelete
(org.forgerock.services.context.Context context, DeleteRequest request) Deletes a JSON resource, returning aPromise
that will be completed when the resource has been deleted.Router.handleDelete
(org.forgerock.services.context.Context context, DeleteRequest request) FilterChain.handlePatch
(org.forgerock.services.context.Context context, PatchRequest request) default Promise<ResourceResponse,
ResourceException> RequestHandler.handlePatch
(org.forgerock.services.context.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.Router.handlePatch
(org.forgerock.services.context.Context context, PatchRequest request) FilterChain.handleQuery
(org.forgerock.services.context.Context context, QueryRequest request, QueryResourceHandler handler) default Promise<QueryResponse,
ResourceException> RequestHandler.handleQuery
(org.forgerock.services.context.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.Router.handleQuery
(org.forgerock.services.context.Context context, QueryRequest request, QueryResourceHandler handler) FilterChain.handleRead
(org.forgerock.services.context.Context context, ReadRequest request) default Promise<ResourceResponse,
ResourceException> RequestHandler.handleRead
(org.forgerock.services.context.Context context, ReadRequest request) Reads a JSON resource, returning aPromise
that will be completed when the resource has been read.Router.handleRead
(org.forgerock.services.context.Context context, ReadRequest request) FilterChain.handleUpdate
(org.forgerock.services.context.Context context, UpdateRequest request) default Promise<ResourceResponse,
ResourceException> RequestHandler.handleUpdate
(org.forgerock.services.context.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.Router.handleUpdate
(org.forgerock.services.context.Context context, UpdateRequest request) AbstractConnectionWrapper.patchAsync
(org.forgerock.services.context.Context context, PatchRequest request) Asynchronously updates a JSON resource by applying a set of changes to its existing content.Connection.patchAsync
(org.forgerock.services.context.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
(org.forgerock.services.context.Context context, String resourceId, PatchRequest request) Patches
an existing resource within the collection.MemoryBackend.patchInstance
(org.forgerock.services.context.Context context, String id, PatchRequest request) Patches
an existing resource within the collection.default Promise<ResourceResponse,
ResourceException> SingletonResourceProvider.patchInstance
(org.forgerock.services.context.Context context, PatchRequest request) Patches
the single resource instance.AbstractConnectionWrapper.queryAsync
(org.forgerock.services.context.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.Connection.queryAsync
(org.forgerock.services.context.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
(org.forgerock.services.context.Context context, QueryRequest request, QueryResourceHandler handler) Searches
the collection for all resources which match the query request criteria.MemoryBackend.queryCollection
(org.forgerock.services.context.Context context, QueryRequest request, QueryResourceHandler handler) Searches
the collection for all resources which match the query request criteria.AbstractConnectionWrapper.readAsync
(org.forgerock.services.context.Context context, ReadRequest request) Asynchronously reads a JSON resource.Connection.readAsync
(org.forgerock.services.context.Context context, ReadRequest request) Asynchronously reads a JSON resource.default Promise<ResourceResponse,
ResourceException> CollectionResourceProvider.readInstance
(org.forgerock.services.context.Context context, String resourceId, ReadRequest request) Reads
an existing resource within the collection.MemoryBackend.readInstance
(org.forgerock.services.context.Context context, String id, ReadRequest request) Reads
an existing resource within the collection.default Promise<ResourceResponse,
ResourceException> SingletonResourceProvider.readInstance
(org.forgerock.services.context.Context context, ReadRequest request) Reads
the single resource instance.AbstractConnectionWrapper.updateAsync
(org.forgerock.services.context.Context context, UpdateRequest request) Asynchronously updates a JSON resource by replacing its existing content with new content.Connection.updateAsync
(org.forgerock.services.context.Context context, UpdateRequest request) Asynchronously updates a JSON resource by replacing its existing content with new content.default Promise<ResourceResponse,
ResourceException> CollectionResourceProvider.updateInstance
(org.forgerock.services.context.Context context, String resourceId, UpdateRequest request) Updates
an existing resource within the collection.MemoryBackend.updateInstance
(org.forgerock.services.context.Context context, String id, UpdateRequest request) Updates
an existing resource within the collection.default Promise<ResourceResponse,
ResourceException> SingletonResourceProvider.updateInstance
(org.forgerock.services.context.Context context, UpdateRequest request) Updates
the single resource instance.Modifier and TypeMethodDescriptionAbstractAsynchronousConnection.action
(org.forgerock.services.context.Context context, ActionRequest request) AbstractConnectionWrapper.action
(org.forgerock.services.context.Context context, ActionRequest request) Performs an action against a specific resource, or set of resources.Connection.action
(org.forgerock.services.context.Context context, ActionRequest request) Performs an action against a specific resource, or set of resources.AbstractAsynchronousConnection.create
(org.forgerock.services.context.Context context, CreateRequest request) AbstractConnectionWrapper.create
(org.forgerock.services.context.Context context, CreateRequest request) Adds a new JSON resource.Connection.create
(org.forgerock.services.context.Context context, CreateRequest request) Adds a new JSON resource.AbstractAsynchronousConnection.delete
(org.forgerock.services.context.Context context, DeleteRequest request) AbstractConnectionWrapper.delete
(org.forgerock.services.context.Context context, DeleteRequest request) Deletes a JSON resource.Connection.delete
(org.forgerock.services.context.Context context, DeleteRequest request) Deletes a JSON resource.ConnectionFactory.getConnection()
Returns a connection to the JSON resource provider associated with this connection factory.SynchronousRequestHandler.handleAction
(org.forgerock.services.context.Context context, ActionRequest request) Handles performing an action on a resource, and optionally returns an associated result.SynchronousRequestHandler.handleCreate
(org.forgerock.services.context.Context context, CreateRequest request) Adds a new JSON resource.SynchronousRequestHandler.handleDelete
(org.forgerock.services.context.Context context, DeleteRequest request) Deletes a JSON resource.SynchronousRequestHandler.handlePatch
(org.forgerock.services.context.Context context, PatchRequest request) Updates a JSON resource by applying a set of changes to its existing content.SynchronousRequestHandler.handleQuery
(org.forgerock.services.context.Context context, QueryRequest request, Collection<ResourceResponse> resources) Searches for all JSON resources matching a user specified set of criteria.SynchronousRequestHandler.handleRead
(org.forgerock.services.context.Context context, ReadRequest request) Reads a JSON resource.SynchronousRequestHandler.handleUpdate
(org.forgerock.services.context.Context context, UpdateRequest request) Updates a JSON resource by replacing its existing content with new content.AbstractAsynchronousConnection.patch
(org.forgerock.services.context.Context context, PatchRequest request) AbstractConnectionWrapper.patch
(org.forgerock.services.context.Context context, PatchRequest request) Updates a JSON resource by applying a set of changes to its existing content.Connection.patch
(org.forgerock.services.context.Context context, PatchRequest request) Updates a JSON resource by applying a set of changes to its existing content.AbstractAsynchronousConnection.query
(org.forgerock.services.context.Context context, QueryRequest request, Collection<? super ResourceResponse> results) AbstractAsynchronousConnection.query
(org.forgerock.services.context.Context context, QueryRequest request, QueryResourceHandler handler) AbstractConnectionWrapper.query
(org.forgerock.services.context.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.AbstractConnectionWrapper.query
(org.forgerock.services.context.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.Connection.query
(org.forgerock.services.context.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.Connection.query
(org.forgerock.services.context.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.AbstractAsynchronousConnection.read
(org.forgerock.services.context.Context context, ReadRequest request) AbstractConnectionWrapper.read
(org.forgerock.services.context.Context context, ReadRequest request) Reads a JSON resource.Connection.read
(org.forgerock.services.context.Context context, ReadRequest request) Reads a JSON resource.AbstractAsynchronousConnection.update
(org.forgerock.services.context.Context context, UpdateRequest request) AbstractConnectionWrapper.update
(org.forgerock.services.context.Context context, UpdateRequest request) Updates a JSON resource by replacing its existing content with new content.Connection.update
(org.forgerock.services.context.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
Modifier and TypeMethodDescriptionorg.forgerock.services.context.Context
HttpContextFactory.createContext
(org.forgerock.services.context.Context parent, org.forgerock.http.protocol.Request request) Returns the context which should be used for the provided HTTP request.org.forgerock.services.context.SecurityContext
SecurityContextFactory.createContext
(org.forgerock.services.context.Context parent) Deprecated.Creates a newSecurityContext
using the attributes contained in the provided HTTP request.org.forgerock.services.context.SecurityContext
SecurityContextFactory.createContext
(org.forgerock.services.context.Context context, org.forgerock.http.protocol.Request request) Deprecated.Creates a newSecurityContext
using the attributes contained in the provided HTTP request.static RequestType
HttpUtils.determineRequestType
(org.forgerock.http.protocol.Request request) Determines which CREST operation (CRUDPAQ) of the incoming request. -
Uses of ResourceException in org.forgerock.monitoring
Modifier and TypeMethodDescriptionDropwizardMetricsCollectionResourceProvider.queryCollection
(org.forgerock.services.context.Context context, QueryRequest request, QueryResourceHandler handler) DropwizardMetricsCollectionResourceProvider.readInstance
(org.forgerock.services.context.Context context, String resourceId, ReadRequest request) -
Uses of ResourceException in org.forgerock.opendj.rest2ldap
Modifier and TypeMethodDescriptionstatic ResourceException
Rest2Ldap.asResourceException
(Throwable t) Adapts aThrowable
to aResourceException
.Modifier and TypeMethodDescriptionDescribableRequestHandler.handleAction
(org.forgerock.services.context.Context context, ActionRequest request) DescribableRequestHandler.handleCreate
(org.forgerock.services.context.Context context, CreateRequest request) DescribableRequestHandler.handleDelete
(org.forgerock.services.context.Context context, DeleteRequest request) DescribableRequestHandler.handlePatch
(org.forgerock.services.context.Context context, PatchRequest request) DescribableRequestHandler.handleQuery
(org.forgerock.services.context.Context context, QueryRequest request, QueryResourceHandler handler) DescribableRequestHandler.handleRead
(org.forgerock.services.context.Context context, ReadRequest request) DescribableRequestHandler.handleUpdate
(org.forgerock.services.context.Context context, UpdateRequest request) -
Uses of ResourceException in org.forgerock.opendj.rest2ldap.authz
Modifier and TypeMethodDescriptionPromise<org.forgerock.json.jose.jws.SignedJwt,
ResourceException> Verifies the given bearerToken is a validSignedJwt
.
newResourceException(int)