Uses of Class
org.forgerock.json.resource.ResourcePath
-
Packages that use ResourcePath Package Description org.forgerock.json.resource Classes and interfaces for core types including connections, request handlers, resources, and their exceptions.org.forgerock.selfservice.core This package contains the core implementation for the anonymous process service. -
-
Uses of ResourcePath in org.forgerock.json.resource
Methods in org.forgerock.json.resource that return ResourcePath Modifier and Type Method Description ResourcePath
ResourcePath. child(Object pathElement)
Creates a new resource path which is a child of this resource path.ResourcePath
ResourcePath. concat(String suffix)
Creates a new resource path which is a descendant of this resource path.ResourcePath
ResourcePath. concat(ResourcePath suffix)
Creates a new resource path which is a descendant of this resource path.static ResourcePath
ResourcePath. empty()
Returns the empty resource path whose string representation is the empty string and which has zero path elements.static ResourcePath
ResourcePath. format(String template, Object... pathElements)
Creates a new resource path using the provided path template and unencoded path elements.ResourcePath
ResourceApiVersionSpecificationFilter.ResourcePathAndVersion. getResourcePath()
Get theResourcePath
to match.ResourcePath
ActionRequest. getResourcePathObject()
ResourcePath
CreateRequest. getResourcePathObject()
ResourcePath
DeleteRequest. getResourcePathObject()
ResourcePath
PatchRequest. getResourcePathObject()
ResourcePath
QueryRequest. getResourcePathObject()
ResourcePath
ReadRequest. getResourcePathObject()
ResourcePath
Request. getResourcePathObject()
Returns the non-null
path of the JSON resource to which this request should be targeted.ResourcePath
UpdateRequest. getResourcePathObject()
ResourcePath
ResourcePath. head(int endIndex)
Returns a resource path which is a subsequence of the path elements contained in this resource path beginning with the first element (0) and ending with the element at positionendIndex-1
.ResourcePath
ResourcePath. parent()
Returns the resource path which is the immediate parent of this resource path, ornull
if this resource path is empty.static ResourcePath
ResourcePath. resourcePath(String path)
Parses the provided string representation of a resource path.ResourcePath
ResourcePath. subSequence(int beginIndex, int endIndex)
Returns a resource path which is a subsequence of the path elements contained in this resource path beginning with the element at positionbeginIndex
and ending with the element at positionendIndex-1
.ResourcePath
ResourcePath. tail(int beginIndex)
Returns a resource path which is a subsequence of the path elements contained in this resource path beginning with the element at positionbeginIndex
and ending with the last element in this resource path.static ResourcePath
ResourcePath. valueOf(String path)
Parses the provided string representation of a resource path.Methods in org.forgerock.json.resource that return types with arguments of type ResourcePath Modifier and Type Method Description static Function<JsonValue,ResourcePath,JsonValueException>
JsonValueFunctions. resourcePath()
Returns the JSON string value as aResourcePath
.Methods in org.forgerock.json.resource with parameters of type ResourcePath Modifier and Type Method Description int
ResourcePath. compareTo(ResourcePath o)
Compares this resource path with the provided resource path.ResourcePath
ResourcePath. concat(ResourcePath suffix)
Creates a new resource path which is a descendant of this resource path.boolean
ResourceApiVersionSpecificationFilter.NoApiVersionHandler. handle(Context context, ResourcePath resourcePath)
Handler called when a request has no resource API version.void
ResourceApiVersionSpecificationFilter.ResourcePathAndVersionSpecification. handleNoApiVersionSupplied(Context context, ResourcePath resourcePath)
Support handling when no resource API version is supplied on the request.void
ResourceApiVersionSpecificationFilter.VersionSpecification. handleNoApiVersionSupplied(Context context, ResourcePath resourcePath)
Support custom handling when no resource API version is supplied on the request.static ActionRequest
Requests. newActionRequest(ResourcePath resourcePath, String actionId)
Returns a new action request with the provided resource path and action ID.static ActionRequest
Requests. newActionRequest(ResourcePath resourceContainer, String resourceId, String actionId)
Returns a new action request with the provided resource container path, resource ID, and action ID.static Request
Requests. newApiRequest(ResourcePath path)
Returns a new API request with the provided path.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.static DeleteRequest
Requests. newDeleteRequest(ResourcePath resourcePath)
Returns a new delete request with the provided resource path.static DeleteRequest
Requests. newDeleteRequest(ResourcePath resourceContainer, String resourceId)
Returns a new delete request with the provided resource container path, and resource ID.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(ResourcePath resourcePath, PatchOperation... operations)
Returns a new patch request with the provided resource path and JSON patch operations.static QueryRequest
Requests. newQueryRequest(ResourcePath resourceContainer)
Returns a new query request with the provided resource container path.static ReadRequest
Requests. newReadRequest(ResourcePath resourcePath)
Returns a new read request with the provided resource path.static ReadRequest
Requests. newReadRequest(ResourcePath resourceContainer, String resourceId)
Returns a new read request with the provided resource container path, and resource ID.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(ResourcePath resourcePath, JsonValue newContent)
Returns a new update request with the provided resource path and new JSON content.ActionRequest
ActionRequest. setResourcePath(ResourcePath path)
CreateRequest
CreateRequest. setResourcePath(ResourcePath path)
DeleteRequest
DeleteRequest. setResourcePath(ResourcePath path)
PatchRequest
PatchRequest. setResourcePath(ResourcePath path)
QueryRequest
QueryRequest. setResourcePath(ResourcePath path)
ReadRequest
ReadRequest. setResourcePath(ResourcePath path)
Request
Request. setResourcePath(ResourcePath path)
Sets the non-null
path of the JSON resource to which this request should be targeted.UpdateRequest
UpdateRequest. setResourcePath(ResourcePath path)
boolean
ResourcePath. startsWith(ResourcePath prefix)
Returnstrue
if this resource path is equal to or begins with the provided resource resource path.Constructors in org.forgerock.json.resource with parameters of type ResourcePath Constructor Description ResourcePathAndVersion(ResourcePath resourcePath, Version version)
-
Uses of ResourcePath in org.forgerock.selfservice.core
Constructors in org.forgerock.selfservice.core with parameters of type ResourcePath Constructor Description UserUpdateService(ConnectionFactory connectionFactory, SecurityAnswer securityAnswer, ResourcePath identityService, KbaConfig kbaConfig)
Construct a service to update the user's KBA info.
-