Uses of Interface
org.forgerock.json.resource.ResourceResponse
Package
Description
This package contains all classes pertaining to AM's IoT functionality.
Classes and interfaces for core types including connections, request
handlers, resources, and their exceptions.
Common utility classes for monitoring.
This package contains classes for the handling of REST request to CREST Resource endpoints with the concept of realms
in OpenAM built in.
This package contains the core implementation for the anonymous process service.
-
Uses of ResourceResponse in org.forgerock.am.iot
Modifier and TypeMethodDescriptionThingsResource.readInstance
(Context context, String id, ReadRequest request) -
Uses of ResourceResponse in org.forgerock.json.resource
Modifier and TypeMethodDescriptionAbstractAsynchronousConnection.create
(Context context, CreateRequest request) AbstractConnectionWrapper.create
(Context context, CreateRequest request) Adds a new JSON resource.Connection.create
(Context context, CreateRequest request) Adds a new JSON resource.AbstractAsynchronousConnection.delete
(Context context, DeleteRequest request) AbstractConnectionWrapper.delete
(Context context, DeleteRequest request) Deletes a JSON resource.Connection.delete
(Context context, DeleteRequest request) Deletes a JSON resource.static ResourceResponse
Resources.filterResource
(ResourceResponse resource, Collection<JsonPointer> fields) Returns a JSON object containing only the specified fields from the provided resource.IdentifierQueryResourceHandler.getResourceResponse()
Gets theResourceResponse
query result.SynchronousRequestHandler.handleCreate
(Context context, CreateRequest request) Adds a new JSON resource.SynchronousRequestHandler.handleDelete
(Context context, DeleteRequest request) Deletes a JSON resource.SynchronousRequestHandler.handlePatch
(Context context, PatchRequest request) Updates a JSON resource by applying a set of changes to its existing content.SynchronousRequestHandler.handleRead
(Context context, ReadRequest request) Reads a JSON resource.SynchronousRequestHandler.handleUpdate
(Context context, UpdateRequest request) Updates a JSON resource by replacing its existing content with new content.static ResourceResponse
Responses.newResourceResponse
(String id, String revision, JsonValue content) Returns a newResource
response with the provided Resource as content.AbstractAsynchronousConnection.patch
(Context context, PatchRequest request) AbstractConnectionWrapper.patch
(Context context, PatchRequest request) Updates a JSON resource by applying a set of changes to its existing content.Connection.patch
(Context context, PatchRequest request) Updates a JSON resource by applying a set of changes to its existing content.AbstractAsynchronousConnection.read
(Context context, ReadRequest request) AbstractConnectionWrapper.read
(Context context, ReadRequest request) Reads a JSON resource.Connection.read
(Context context, ReadRequest request) Reads a JSON resource.default ResourceResponse
ResourceResponse.setCacheControl
(ResponseCacheControl cacheControl) Sets the cache control for this response.AbstractAsynchronousConnection.update
(Context context, UpdateRequest request) AbstractConnectionWrapper.update
(Context context, UpdateRequest request) Updates a JSON resource by replacing its existing content with new content.Connection.update
(Context context, UpdateRequest request) Updates a JSON resource by replacing its existing content with new content.Modifier and TypeMethodDescriptionResourceResponse.asPromise()
Return this response as a result Promise.AbstractConnectionWrapper.createAsync
(Context context, CreateRequest request) Asynchronously adds a new JSON resource.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.MemoryBackend.createInstance
(Context context, CreateRequest request) Adds
a new resource instance to the collection.AbstractConnectionWrapper.deleteAsync
(Context context, DeleteRequest request) Asynchronously deletes a JSON resource.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.MemoryBackend.deleteInstance
(Context context, String id, DeleteRequest request) Removes
a resource instance from the collection.Filter.filterCreate
(Context context, CreateRequest request, RequestHandler next) Filters a create request.ResourceApiVersionRoutingFilter.filterCreate
(Context context, CreateRequest request, RequestHandler next) ResourceApiVersionSpecificationFilter.filterCreate
(Context context, CreateRequest request, RequestHandler next) Filter.filterDelete
(Context context, DeleteRequest request, RequestHandler next) Filters a delete request.ResourceApiVersionRoutingFilter.filterDelete
(Context context, DeleteRequest request, RequestHandler next) ResourceApiVersionSpecificationFilter.filterDelete
(Context context, DeleteRequest request, RequestHandler next) Filter.filterPatch
(Context context, PatchRequest request, RequestHandler next) Filters a patch request.ResourceApiVersionRoutingFilter.filterPatch
(Context context, PatchRequest request, RequestHandler next) ResourceApiVersionSpecificationFilter.filterPatch
(Context context, PatchRequest request, RequestHandler next) Filter.filterRead
(Context context, ReadRequest request, RequestHandler next) Filters a read request.ResourceApiVersionRoutingFilter.filterRead
(Context context, ReadRequest request, RequestHandler next) ResourceApiVersionSpecificationFilter.filterRead
(Context context, ReadRequest request, RequestHandler next) Filter.filterUpdate
(Context context, UpdateRequest request, RequestHandler next) Filters an update request.ResourceApiVersionRoutingFilter.filterUpdate
(Context context, UpdateRequest request, RequestHandler next) ResourceApiVersionSpecificationFilter.filterUpdate
(Context context, UpdateRequest request, RequestHandler next) 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.Router.handleCreate
(Context context, CreateRequest request) 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.Router.handleDelete
(Context context, DeleteRequest request) 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.Router.handlePatch
(Context context, PatchRequest request) 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.Router.handleRead
(Context context, ReadRequest request) 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.Router.handleUpdate
(Context context, UpdateRequest request) AbstractConnectionWrapper.patchAsync
(Context context, PatchRequest request) Asynchronously updates a JSON resource by applying a set of changes to its existing content.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.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.AbstractConnectionWrapper.readAsync
(Context context, ReadRequest request) Asynchronously reads a JSON resource.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.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.AbstractConnectionWrapper.updateAsync
(Context context, UpdateRequest request) Asynchronously updates a JSON resource by replacing its existing content with new content.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.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.Modifier and TypeMethodDescriptionstatic ResourceResponse
Resources.filterResource
(ResourceResponse resource, Collection<JsonPointer> fields) Returns a JSON object containing only the specified fields from the provided resource.boolean
IdentifierQueryResourceHandler.handleResource
(ResourceResponse resource) boolean
QueryResourceHandler.handleResource
(ResourceResponse resource) Invoked each time a matching JSON resource is returned from a query request.Modifier and TypeMethodDescriptionSynchronousRequestHandler.handleQuery
(Context context, QueryRequest request, Collection<ResourceResponse> resources) Searches for all JSON resources matching a user specified set of criteria.AbstractAsynchronousConnection.query
(Context context, QueryRequest request, Collection<? super ResourceResponse> results) 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.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. -
Uses of ResourceResponse in org.forgerock.monitoring
Modifier and TypeMethodDescriptionDropwizardMetricsCollectionResourceProvider.readInstance
(Context context, String resourceId, ReadRequest request) -
Uses of ResourceResponse in org.forgerock.openam.rest.resource
Modifier and TypeMethodDescriptionRestrictedTokenContextFilter.filterCreate
(Context context, CreateRequest request, RequestHandler next) RestrictedTokenContextFilter.filterDelete
(Context context, DeleteRequest request, RequestHandler next) RestrictedTokenContextFilter.filterPatch
(Context context, PatchRequest request, RequestHandler next) RestrictedTokenContextFilter.filterRead
(Context context, ReadRequest request, RequestHandler next) RestrictedTokenContextFilter.filterUpdate
(Context context, UpdateRequest request, RequestHandler next) -
Uses of ResourceResponse in org.forgerock.selfservice.core
Modifier and TypeMethodDescriptionAnonymousProcessService.handleRead
(Context context, ReadRequest request) UserUpdateService.patchInstance
(Context context, String resourceId, PatchRequest request)