Uses of Interface
org.forgerock.json.resource.CreateRequest
Package
Description
This package defines the authorization API interfaces for use in a CREST environment.
Classes and interfaces for core types including connections, request
handlers, resources, and their exceptions.
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
Modifier and TypeMethodDescriptionCrestAuthorizationModule.authorizeCreate
(Context context, CreateRequest request) Authorizes a received REST create request. -
Uses of CreateRequest in org.forgerock.json.resource
Modifier and TypeMethodDescriptionCreateRequest.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.setAdditionalParameter
(String name, String value) CreateRequest.setContent
(JsonValue content) Sets the content of the JSON resource to be created.CreateRequest.setNewResourceId
(String id) Sets the client provided ID of the resource to be created.CreateRequest.setPreferredLocales
(PreferredLocales preferredLocales) CreateRequest.setResourcePath
(String path) Sets the path of the JSON resource container beneath which the new resource should be created.CreateRequest.setResourcePath
(ResourcePath path) CreateRequest.setResourceVersion
(Version resourceVersion) Modifier and TypeMethodDescriptionstatic CreateRequest
Requests.copyOfCreateRequest
(CreateRequest request) Returns a copy of the provided create request.AbstractAsynchronousConnection.create
(Context context, CreateRequest request) AbstractConnectionWrapper.create
(Context context, CreateRequest request) Adds a new JSON resource.Connection.create
(Context context, CreateRequest request) Adds a new JSON resource.AbstractConnectionWrapper.createAsync
(Context context, CreateRequest request) Asynchronously adds a new JSON resource.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.MemoryBackend.createInstance
(Context context, CreateRequest request) Adds
a new resource instance to the collection.Filter.filterCreate
(Context context, CreateRequest request, RequestHandler next) Filters a create request.ResourceApiVersionRoutingFilter.filterCreate
(Context context, CreateRequest request, RequestHandler next) ResourceApiVersionSpecificationFilter.filterCreate
(Context context, CreateRequest request, RequestHandler next) 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.Router.handleCreate
(Context context, CreateRequest request) 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.RequestVisitor.visitCreateRequest
(P p, CreateRequest request) Visits a create request. -
Uses of CreateRequest in org.forgerock.openam.rest.resource
Modifier and TypeMethodDescriptionRestrictedTokenContextFilter.filterCreate
(Context context, CreateRequest request, RequestHandler next)