Uses of Interface
org.forgerock.json.resource.CreateRequest
-
Packages that use CreateRequest 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. -
-
Uses of CreateRequest in org.forgerock.authz.filter.crest.api
Methods in org.forgerock.authz.filter.crest.api with parameters of type CreateRequest Modifier and Type Method Description Promise<AuthorizationResult,ResourceException>
CrestAuthorizationModule. authorizeCreate(Context context, CreateRequest request)
Authorizes a received REST create request. -
Uses of CreateRequest in org.forgerock.json.resource
Methods in org.forgerock.json.resource that return CreateRequest Modifier and Type Method Description CreateRequest
CreateRequest. addField(String... fields)
CreateRequest
CreateRequest. addField(JsonPointer... fields)
static CreateRequest
Requests. copyOfCreateRequest(CreateRequest request)
Returns a copy of the provided create request.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.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(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(ResourcePath resourceContainer, JsonValue content)
Returns a new create request with the provided resource path, 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(String path)
Sets the path of the JSON resource container beneath which the new resource should be created.CreateRequest
CreateRequest. setResourcePath(ResourcePath path)
CreateRequest
CreateRequest. setResourceVersion(Version resourceVersion)
Methods in org.forgerock.json.resource with parameters of type CreateRequest Modifier and Type Method Description static CreateRequest
Requests. copyOfCreateRequest(CreateRequest request)
Returns a copy of the provided create request.ResourceResponse
AbstractAsynchronousConnection. create(Context context, CreateRequest request)
ResourceResponse
AbstractConnectionWrapper. create(Context context, CreateRequest request)
Adds a new JSON resource.ResourceResponse
Connection. create(Context context, CreateRequest request)
Adds a new JSON resource.Promise<ResourceResponse,ResourceException>
AbstractConnectionWrapper. createAsync(Context context, CreateRequest request)
Asynchronously adds a new JSON resource.Promise<ResourceResponse,ResourceException>
Connection. createAsync(Context context, CreateRequest request)
Asynchronously adds a new JSON resource.default Promise<ResourceResponse,ResourceException>
CollectionResourceProvider. createInstance(Context context, CreateRequest request)
Adds
a new resource instance to the collection.Promise<ResourceResponse,ResourceException>
MemoryBackend. createInstance(Context context, CreateRequest request)
Adds
a new resource instance to the collection.Promise<ResourceResponse,ResourceException>
Filter. filterCreate(Context context, CreateRequest request, RequestHandler next)
Filters a create request.Promise<ResourceResponse,ResourceException>
ResourceApiVersionRoutingFilter. filterCreate(Context context, CreateRequest request, RequestHandler next)
Promise<ResourceResponse,ResourceException>
ResourceApiVersionSpecificationFilter. filterCreate(Context context, CreateRequest request, RequestHandler next)
Promise<ResourceResponse,ResourceException>
FilterChain. handleCreate(Context context, CreateRequest request)
default Promise<ResourceResponse,ResourceException>
RequestHandler. handleCreate(Context context, CreateRequest request)
Adds a new JSON resource, returning aPromise
that will be completed when the resource has been added.Promise<ResourceResponse,ResourceException>
Router. handleCreate(Context context, CreateRequest request)
ResourceResponse
SynchronousRequestHandler. handleCreate(Context context, CreateRequest request)
Adds a new JSON resource.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. -
Uses of CreateRequest in org.forgerock.openam.rest.resource
Methods in org.forgerock.openam.rest.resource with parameters of type CreateRequest Modifier and Type Method Description Promise<ResourceResponse,ResourceException>
RestrictedTokenContextFilter. filterCreate(Context context, CreateRequest request, RequestHandler next)
-