Uses of Interface
org.forgerock.json.resource.PatchRequest
Packages that use PatchRequest
Package
Description
Classes and interfaces for core types including connections, request
handlers, resources, and their exceptions.
-
Uses of PatchRequest in org.forgerock.json.resource
Methods in org.forgerock.json.resource that return PatchRequestModifier 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 PatchRequestRequests.copyOfPatchRequest(PatchRequest request) Returns a copy of the provided patch request.static PatchRequestRequests.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 PatchRequestRequests.newPatchRequest(String resourcePath, PatchOperation... operations) Returns a new patch request with the provided resource path and JSON patch operations.static PatchRequestRequests.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 PatchRequestRequests.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.Methods in org.forgerock.json.resource with parameters of type PatchRequestModifier and TypeMethodDescriptionstatic PatchRequestRequests.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) AbstractRequestHandler.handlePatch(Context context, PatchRequest request) Updates a JSON resource by applying a set of changes to its existing content, returning aPromisethat will be completed when the resource has been updated.FilterChain.handlePatch(Context context, PatchRequest request) RequestHandler.handlePatch(Context context, PatchRequest request) Updates a JSON resource by applying a set of changes to its existing content, returning aPromisethat 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.CollectionResourceProvider.patchInstance(Context context, String resourceId, PatchRequest request) Patchesan existing resource within the collection.MemoryBackend.patchInstance(Context context, String id, PatchRequest request) Patchesan existing resource within the collection.SingletonResourceProvider.patchInstance(Context context, PatchRequest request) Patchesthe single resource instance.RequestVisitor.visitPatchRequest(P p, PatchRequest request) Visits a patch request.