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.
|
Modifier and Type | Method and Description |
---|---|
Promise<AuthorizationResult,ResourceException> |
CrestAuthorizationModule.authorizePatch(Context context,
PatchRequest request)
Authorizes a received REST patch request.
|
Modifier and Type | Method and Description |
---|---|
PatchRequest |
PatchRequest.addField(JsonPointer... fields) |
PatchRequest |
PatchRequest.addField(String... fields) |
PatchRequest |
PatchRequest.addPatchOperation(PatchOperation... operations)
Adds one or more patch operations which should be performed against the targeted resource.
|
PatchRequest |
PatchRequest.addPatchOperation(String operation,
String field,
JsonValue value)
Adds a single patch operation 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(ResourcePath 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(String resourcePath,
PatchOperation... operations)
Returns a new patch request with the provided resource path and JSON
patch operations.
|
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.
|
PatchRequest |
PatchRequest.setAdditionalParameter(String name,
String value) |
PatchRequest |
PatchRequest.setPreferredLocales(PreferredLocales preferredLocales) |
PatchRequest |
PatchRequest.setResourcePath(ResourcePath path) |
PatchRequest |
PatchRequest.setResourcePath(String path) |
PatchRequest |
PatchRequest.setResourceVersion(Version resourceVersion) |
PatchRequest |
PatchRequest.setRevision(String version)
Sets the expected version information associated with the JSON resource to be patched.
|
Modifier and Type | Method and Description |
---|---|
static PatchRequest |
Requests.copyOfPatchRequest(PatchRequest request)
Returns a copy of the provided patch request.
|
Promise<ResourceResponse,ResourceException> |
ResourceApiVersionRoutingFilter.filterPatch(Context context,
PatchRequest request,
RequestHandler next) |
Promise<ResourceResponse,ResourceException> |
Filter.filterPatch(Context context,
PatchRequest request,
RequestHandler next)
Filters a patch request.
|
ResourceResponse |
SynchronousRequestHandler.handlePatch(Context context,
PatchRequest request)
Updates a JSON resource by applying a set of changes to its existing
content.
|
Promise<ResourceResponse,ResourceException> |
Router.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 a
Promise that will be completed when the
resource has been updated. |
Promise<ResourceResponse,ResourceException> |
FilterChain.handlePatch(Context context,
PatchRequest request) |
ResourceResponse |
Connection.patch(Context context,
PatchRequest request)
Updates a JSON resource by applying a set of changes to its existing
content.
|
ResourceResponse |
AbstractConnectionWrapper.patch(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) |
Promise<ResourceResponse,ResourceException> |
Connection.patchAsync(Context context,
PatchRequest request)
Asynchronously 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.
|
default Promise<ResourceResponse,ResourceException> |
SingletonResourceProvider.patchInstance(Context context,
PatchRequest request)
Patches the single resource instance. |
Promise<ResourceResponse,ResourceException> |
MemoryBackend.patchInstance(Context context,
String id,
PatchRequest request)
Patches an existing resource within the collection. |
default Promise<ResourceResponse,ResourceException> |
CollectionResourceProvider.patchInstance(Context context,
String resourceId,
PatchRequest request)
Patches an existing resource within the collection. |
R |
RequestVisitor.visitPatchRequest(P p,
PatchRequest request)
Visits a patch request.
|
Modifier and Type | Method and Description |
---|---|
Promise<ResourceResponse,ResourceException> |
RestrictedTokenContextFilter.filterPatch(Context context,
PatchRequest request,
RequestHandler next) |
Modifier and Type | Method and Description |
---|---|
Promise<ResourceResponse,ResourceException> |
UserUpdateService.patchInstance(Context context,
String resourceId,
PatchRequest request) |
Copyright © 2010-2018, ForgeRock All Rights Reserved.