Uses of Interface
org.forgerock.json.resource.UpdateRequest
Package
Description
This package defines the authorization API interfaces for use in a CREST environment.
Classes and interfaces for core types including connections, request
handlers, resources, and their exceptions.
This package contains classes for the handling of REST request to CREST Resource endpoints with the concept of realms
in OpenAM built in.
-
Uses of UpdateRequest in org.forgerock.authz.filter.crest.api
Modifier and TypeMethodDescriptionCrestAuthorizationModule.authorizeUpdate
(Context context, UpdateRequest request) Authorizes a received REST update request. -
Uses of UpdateRequest in org.forgerock.json.resource
Modifier and TypeMethodDescriptionUpdateRequest.addField
(JsonPointer... fields) static UpdateRequest
Requests.copyOfUpdateRequest
(UpdateRequest request) Returns a copy of the provided update request.static UpdateRequest
Requests.newUpdateRequest
(String resourceContainer, String resourceId, JsonValue newContent) Returns a new update request with the provided resource container path, resource ID, and new JSON content.static UpdateRequest
Requests.newUpdateRequest
(String resourcePath, JsonValue newContent) Returns a new update request with the provided resource path and new JSON content.static UpdateRequest
Requests.newUpdateRequest
(CreateRequest createRequest) Returns a new update request built based on the provided create request.static UpdateRequest
Requests.newUpdateRequest
(ResourcePath resourceContainer, String resourceId, JsonValue newContent) Returns a new update request with the provided resource container path, resource ID, and new JSON content.static UpdateRequest
Requests.newUpdateRequest
(ResourcePath resourcePath, JsonValue newContent) Returns a new update request with the provided resource path and new JSON content.UpdateRequest.setAdditionalParameter
(String name, String value) UpdateRequest.setContent
(JsonValue content) Sets the content of the JSON resource to be replaced.UpdateRequest.setPreferredLocales
(PreferredLocales preferredLocales) UpdateRequest.setResourcePath
(String path) UpdateRequest.setResourcePath
(ResourcePath path) UpdateRequest.setResourceVersion
(Version resourceVersion) UpdateRequest.setRevision
(String version) Sets the expected version information associated with the JSON resource to be updated.Modifier and TypeMethodDescriptionstatic UpdateRequest
Requests.copyOfUpdateRequest
(UpdateRequest request) Returns a copy of the provided update request.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.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) SynchronousRequestHandler.handleUpdate
(Context context, UpdateRequest request) Updates a JSON resource by replacing its existing content with new content.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.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.RequestVisitor.visitUpdateRequest
(P p, UpdateRequest request) Visits an update request. -
Uses of UpdateRequest in org.forgerock.openam.rest.resource
Modifier and TypeMethodDescriptionRestrictedTokenContextFilter.filterUpdate
(Context context, UpdateRequest request, RequestHandler next)