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.authorizeCreate(Context context,
CreateRequest request)
Authorizes a received REST create request.
|
Modifier and Type | Method and Description |
---|---|
CreateRequest |
CreateRequest.addField(JsonPointer... fields) |
CreateRequest |
CreateRequest.addField(String... fields) |
static CreateRequest |
Requests.copyOfCreateRequest(CreateRequest request)
Returns a copy of the provided create request.
|
static CreateRequest |
Requests.newCreateRequest(ResourcePath resourceContainer,
JsonValue content)
Returns a new create request with the provided resource path, and JSON
content.
|
static CreateRequest |
Requests.newCreateRequest(ResourcePath resourceContainer,
String newResourceId,
JsonValue content)
Returns a new create request with the provided resource path, new
resource ID, and JSON content.
|
static CreateRequest |
Requests.newCreateRequest(String resourceContainer,
JsonValue content)
Returns a new create request with the provided resource path, and JSON
content.
|
static CreateRequest |
Requests.newCreateRequest(String resourceContainer,
String newResourceId,
JsonValue content)
Returns a new create request with the provided resource path, new
resource ID, and JSON content.
|
CreateRequest |
CreateRequest.setAdditionalParameter(String name,
String value) |
CreateRequest |
CreateRequest.setContent(JsonValue content)
Sets the content of the JSON resource to be created.
|
CreateRequest |
CreateRequest.setNewResourceId(String id)
Sets the client provided ID of the resource to be created.
|
CreateRequest |
CreateRequest.setPreferredLocales(PreferredLocales preferredLocales) |
CreateRequest |
CreateRequest.setResourcePath(ResourcePath path) |
CreateRequest |
CreateRequest.setResourcePath(String path)
Sets the path of the JSON resource container beneath which the new resource should be created.
|
CreateRequest |
CreateRequest.setResourceVersion(Version resourceVersion) |
Modifier and Type | Method and Description |
---|---|
static CreateRequest |
Requests.copyOfCreateRequest(CreateRequest request)
Returns a copy of the provided create request.
|
ResourceResponse |
Connection.create(Context context,
CreateRequest request)
Adds a new JSON resource.
|
ResourceResponse |
AbstractConnectionWrapper.create(Context context,
CreateRequest request)
Adds a new JSON resource.
|
ResourceResponse |
AbstractAsynchronousConnection.create(Context context,
CreateRequest request) |
Promise<ResourceResponse,ResourceException> |
Connection.createAsync(Context context,
CreateRequest request)
Asynchronously adds a new JSON resource.
|
Promise<ResourceResponse,ResourceException> |
AbstractConnectionWrapper.createAsync(Context context,
CreateRequest request)
Asynchronously adds a new JSON resource.
|
Promise<ResourceResponse,ResourceException> |
MemoryBackend.createInstance(Context context,
CreateRequest request)
Adds a new resource instance to the collection. |
default Promise<ResourceResponse,ResourceException> |
CollectionResourceProvider.createInstance(Context context,
CreateRequest request)
Adds a new resource instance to the collection. |
Promise<ResourceResponse,ResourceException> |
ResourceApiVersionRoutingFilter.filterCreate(Context context,
CreateRequest request,
RequestHandler next) |
Promise<ResourceResponse,ResourceException> |
Filter.filterCreate(Context context,
CreateRequest request,
RequestHandler next)
Filters a create request.
|
ResourceResponse |
SynchronousRequestHandler.handleCreate(Context context,
CreateRequest request)
Adds a new JSON resource.
|
Promise<ResourceResponse,ResourceException> |
Router.handleCreate(Context context,
CreateRequest request) |
default Promise<ResourceResponse,ResourceException> |
RequestHandler.handleCreate(Context context,
CreateRequest request)
Adds a new JSON resource, returning a
Promise that will be
completed when the resource has been added. |
Promise<ResourceResponse,ResourceException> |
FilterChain.handleCreate(Context context,
CreateRequest request) |
static UpdateRequest |
Requests.newUpdateRequest(CreateRequest createRequest)
Returns a new update request built based on the provided create request.
|
R |
RequestVisitor.visitCreateRequest(P p,
CreateRequest request)
Visits a create request.
|
Modifier and Type | Method and Description |
---|---|
Promise<ResourceResponse,ResourceException> |
RestrictedTokenContextFilter.filterCreate(Context context,
CreateRequest request,
RequestHandler next) |
Copyright © 2010-2018, ForgeRock All Rights Reserved.