Uses of Interface
org.forgerock.json.resource.PatchRequest
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.
This package contains the core implementation for the anonymous process service.
-
Uses of PatchRequest in org.forgerock.authz.filter.crest.api
Modifier and TypeMethodDescriptionCrestAuthorizationModule.authorizePatch
(Context context, PatchRequest request) Authorizes a received REST patch request. -
Uses of PatchRequest in org.forgerock.json.resource
Modifier and TypeMethodDescriptionPatchRequest.addField
(JsonPointer... fields) PatchRequest.addPatchOperation
(String operation, String field, JsonValue value) Adds a single patch operation which should be performed against the targeted resource.PatchRequest.addPatchOperation
(PatchOperation... operations) Adds one or more patch operations which should be performed against the targeted resource.static PatchRequest
Requests.copyOfPatchRequest
(PatchRequest request) Returns a copy of the provided patch request.static PatchRequest
Requests.newPatchRequest
(String resourceContainer, String resourceId, PatchOperation... operations) Returns a new patch request with the provided resource container path, resource ID, and JSON patch operations.static PatchRequest
Requests.newPatchRequest
(String resourcePath, PatchOperation... operations) Returns a new patch request with the provided resource path and JSON patch operations.static PatchRequest
Requests.newPatchRequest
(ResourcePath resourceContainer, String resourceId, PatchOperation... operations) Returns a new patch request with the provided resource container path, resource ID, and JSON patch operations.static PatchRequest
Requests.newPatchRequest
(ResourcePath resourcePath, PatchOperation... operations) Returns a new patch request with the provided resource path and JSON patch operations.PatchRequest.setAdditionalParameter
(String name, String value) PatchRequest.setPreferredLocales
(PreferredLocales preferredLocales) PatchRequest.setResourcePath
(String path) PatchRequest.setResourcePath
(ResourcePath path) PatchRequest.setResourceVersion
(Version resourceVersion) PatchRequest.setRevision
(String version) Sets the expected version information associated with the JSON resource to be patched.Modifier and TypeMethodDescriptionstatic PatchRequest
Requests.copyOfPatchRequest
(PatchRequest request) Returns a copy of the provided patch request.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) 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) SynchronousRequestHandler.handlePatch
(Context context, PatchRequest request) Updates a JSON resource by applying a set of changes to its existing 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.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.RequestVisitor.visitPatchRequest
(P p, PatchRequest request) Visits a patch request. -
Uses of PatchRequest in org.forgerock.openam.rest.resource
Modifier and TypeMethodDescriptionRestrictedTokenContextFilter.filterPatch
(Context context, PatchRequest request, RequestHandler next) -
Uses of PatchRequest in org.forgerock.selfservice.core
Modifier and TypeMethodDescriptionUserUpdateService.patchInstance
(Context context, String resourceId, PatchRequest request)