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.
|
Modifier and Type | Method and Description |
---|---|
Promise<AuthorizationResult,ResourceException> |
CrestAuthorizationModule.authorizeUpdate(Context context,
UpdateRequest request)
Authorizes a received REST update request.
|
Modifier and Type | Method and Description |
---|---|
UpdateRequest |
UpdateRequest.addField(JsonPointer... fields) |
UpdateRequest |
UpdateRequest.addField(String... fields) |
static UpdateRequest |
Requests.copyOfUpdateRequest(UpdateRequest request)
Returns a copy of the provided update request.
|
static UpdateRequest |
Requests.newUpdateRequest(CreateRequest createRequest)
Returns a new update request built based on the provided create request.
|
static UpdateRequest |
Requests.newUpdateRequest(ResourcePath resourcePath,
JsonValue newContent)
Returns a new update request with the provided resource path and new JSON
content.
|
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(String resourcePath,
JsonValue newContent)
Returns a new update request with the provided resource path and new JSON
content.
|
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.
|
UpdateRequest |
UpdateRequest.setAdditionalParameter(String name,
String value) |
UpdateRequest |
UpdateRequest.setContent(JsonValue content)
Sets the content of the JSON resource to be replaced.
|
UpdateRequest |
UpdateRequest.setPreferredLocales(PreferredLocales preferredLocales) |
UpdateRequest |
UpdateRequest.setResourcePath(ResourcePath path) |
UpdateRequest |
UpdateRequest.setResourcePath(String path) |
UpdateRequest |
UpdateRequest.setResourceVersion(Version resourceVersion) |
UpdateRequest |
UpdateRequest.setRevision(String version)
Sets the expected version information associated with the JSON resource to be updated.
|
Modifier and Type | Method and Description |
---|---|
static UpdateRequest |
Requests.copyOfUpdateRequest(UpdateRequest request)
Returns a copy of the provided update request.
|
Promise<ResourceResponse,ResourceException> |
ResourceApiVersionRoutingFilter.filterUpdate(Context context,
UpdateRequest request,
RequestHandler next) |
Promise<ResourceResponse,ResourceException> |
Filter.filterUpdate(Context context,
UpdateRequest request,
RequestHandler next)
Filters an update request.
|
ResourceResponse |
SynchronousRequestHandler.handleUpdate(Context context,
UpdateRequest request)
Updates a JSON resource by replacing its existing content with new
content.
|
Promise<ResourceResponse,ResourceException> |
Router.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 a
Promise that will be completed when the
resource has been updated. |
Promise<ResourceResponse,ResourceException> |
FilterChain.handleUpdate(Context context,
UpdateRequest request) |
ResourceResponse |
Connection.update(Context context,
UpdateRequest request)
Updates a JSON resource by replacing its existing content with new
content.
|
ResourceResponse |
AbstractConnectionWrapper.update(Context context,
UpdateRequest request)
Updates a JSON resource by replacing its existing content with new
content.
|
ResourceResponse |
AbstractAsynchronousConnection.update(Context context,
UpdateRequest request) |
Promise<ResourceResponse,ResourceException> |
Connection.updateAsync(Context context,
UpdateRequest request)
Asynchronously updates a JSON resource by replacing its existing content
with new content.
|
Promise<ResourceResponse,ResourceException> |
AbstractConnectionWrapper.updateAsync(Context context,
UpdateRequest request)
Asynchronously updates a JSON resource by replacing its existing content
with new content.
|
Promise<ResourceResponse,ResourceException> |
MemoryBackend.updateInstance(Context context,
String id,
UpdateRequest request)
Updates an existing resource within the collection. |
default Promise<ResourceResponse,ResourceException> |
CollectionResourceProvider.updateInstance(Context context,
String resourceId,
UpdateRequest request)
Updates an existing resource within the collection. |
default Promise<ResourceResponse,ResourceException> |
SingletonResourceProvider.updateInstance(Context context,
UpdateRequest request)
Updates the single resource instance. |
R |
RequestVisitor.visitUpdateRequest(P p,
UpdateRequest request)
Visits an update request.
|
Modifier and Type | Method and Description |
---|---|
Promise<ResourceResponse,ResourceException> |
RestrictedTokenContextFilter.filterUpdate(Context context,
UpdateRequest request,
RequestHandler next) |
Copyright © 2010-2018, ForgeRock All Rights Reserved.