Uses of Interface
org.forgerock.json.resource.PatchRequest
-
Packages that use PatchRequest Package Description org.forgerock.authz.filter.crest.api This package defines the authorization API interfaces for use in a CREST environment.org.forgerock.json.resource Classes and interfaces for core types including connections, request handlers, resources, and their exceptions.org.forgerock.openam.rest.resource This package contains classes for the handling of REST request to CREST Resource endpoints with the concept of realms in OpenAM built in.org.forgerock.selfservice.core This package contains the core implementation for the anonymous process service. -
-
Uses of PatchRequest in org.forgerock.authz.filter.crest.api
Methods in org.forgerock.authz.filter.crest.api with parameters of type PatchRequest Modifier and Type Method Description Promise<AuthorizationResult,ResourceException>
CrestAuthorizationModule. authorizePatch(Context context, PatchRequest request)
Authorizes a received REST patch request. -
Uses of PatchRequest in org.forgerock.json.resource
Methods in org.forgerock.json.resource that return PatchRequest Modifier and Type Method Description PatchRequest
PatchRequest. addField(String... fields)
PatchRequest
PatchRequest. addField(JsonPointer... fields)
PatchRequest
PatchRequest. addPatchOperation(String operation, String field, JsonValue value)
Adds a single patch operation which should be performed against the targeted resource.PatchRequest
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
PatchRequest. setAdditionalParameter(String name, String value)
PatchRequest
PatchRequest. setPreferredLocales(PreferredLocales preferredLocales)
PatchRequest
PatchRequest. setResourcePath(String path)
PatchRequest
PatchRequest. setResourcePath(ResourcePath path)
PatchRequest
PatchRequest. setResourceVersion(Version resourceVersion)
PatchRequest
PatchRequest. setRevision(String version)
Sets the expected version information associated with the JSON resource to be patched.Methods in org.forgerock.json.resource with parameters of type PatchRequest Modifier and Type Method Description static PatchRequest
Requests. copyOfPatchRequest(PatchRequest request)
Returns a copy of the provided patch request.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<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)
ResourceResponse
SynchronousRequestHandler. handlePatch(Context context, PatchRequest request)
Updates a JSON resource by applying a set of changes to its existing 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.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.R
RequestVisitor. visitPatchRequest(P p, PatchRequest request)
Visits a patch request. -
Uses of PatchRequest in org.forgerock.openam.rest.resource
Methods in org.forgerock.openam.rest.resource with parameters of type PatchRequest Modifier and Type Method Description Promise<ResourceResponse,ResourceException>
RestrictedTokenContextFilter. filterPatch(Context context, PatchRequest request, RequestHandler next)
-
Uses of PatchRequest in org.forgerock.selfservice.core
Methods in org.forgerock.selfservice.core with parameters of type PatchRequest Modifier and Type Method Description Promise<ResourceResponse,ResourceException>
UserUpdateService. patchInstance(Context context, String resourceId, PatchRequest request)
-