Uses of Class
org.forgerock.json.resource.ResourcePath
Packages that use ResourcePath
Package
Description
Classes and interfaces for core types including connections, request
handlers, resources, and their exceptions.
APIs for implementing REST to LDAP gateways.
-
Uses of ResourcePath in org.forgerock.json.resource
Methods in org.forgerock.json.resource that return ResourcePathModifier and TypeMethodDescriptionCreates a new resource path which is a child of this resource path.Creates a new resource path which is a descendant of this resource path.ResourcePath.concat(ResourcePath suffix) Creates a new resource path which is a descendant of this resource path.static ResourcePathResourcePath.empty()Returns the empty resource path whose string representation is the empty string and which has zero path elements.static ResourcePathCreates a new resource path using the provided path template and unencoded path elements.ResourceApiVersionSpecificationFilter.ResourcePathAndVersion.getResourcePath()Get theResourcePathto match.ActionRequest.getResourcePathObject()CreateRequest.getResourcePathObject()DeleteRequest.getResourcePathObject()PatchRequest.getResourcePathObject()QueryRequest.getResourcePathObject()ReadRequest.getResourcePathObject()Request.getResourcePathObject()Returns the non-nullpath of the JSON resource to which this request should be targeted.UpdateRequest.getResourcePathObject()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.parent()Returns the resource path which is the immediate parent of this resource path, ornullif this resource path is empty.static ResourcePathResourcePath.resourcePath(String path) Parses the provided string representation of a resource path.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 positionbeginIndexand ending with the element at positionendIndex-1.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 positionbeginIndexand ending with the last element in this resource path.static ResourcePathParses the provided string representation of a resource path.Methods in org.forgerock.json.resource that return types with arguments of type ResourcePathModifier and TypeMethodDescriptionJsonValueFunctions.resourcePath()Returns the JSON string value as aResourcePath.Methods in org.forgerock.json.resource with parameters of type ResourcePathModifier and TypeMethodDescriptionintResourcePath.compareTo(ResourcePath o) Compares this resource path with the provided resource path.ResourcePath.concat(ResourcePath suffix) Creates a new resource path which is a descendant of this resource path.booleanResourceApiVersionSpecificationFilter.NoApiVersionHandler.handle(org.forgerock.services.context.Context context, ResourcePath resourcePath) Handler called when a request has no resource API version.voidResourceApiVersionSpecificationFilter.ResourcePathAndVersionSpecification.handleNoApiVersionSupplied(org.forgerock.services.context.Context context, ResourcePath resourcePath) Support handling when no resource API version is supplied on the request.voidResourceApiVersionSpecificationFilter.VersionSpecification.handleNoApiVersionSupplied(org.forgerock.services.context.Context context, ResourcePath resourcePath) Support custom handling when no resource API version is supplied on the request.static ActionRequestRequests.newActionRequest(ResourcePath resourcePath, String actionId) Returns a new action request with the provided resource path and action ID.static ActionRequestRequests.newActionRequest(ResourcePath resourceContainer, String resourceId, String actionId) Returns a new action request with the provided resource container path, resource ID, and action ID.static RequestRequests.newApiRequest(ResourcePath path) Returns a new API request with the provided path.static CreateRequestRequests.newCreateRequest(ResourcePath resourceContainer, String newResourceId, JsonValue content) Returns a new create request with the provided resource path, new resource ID, and JSON content.static CreateRequestRequests.newCreateRequest(ResourcePath resourceContainer, JsonValue content) Returns a new create request with the provided resource path, and JSON content.static DeleteRequestRequests.newDeleteRequest(ResourcePath resourcePath) Returns a new delete request with the provided resource path.static DeleteRequestRequests.newDeleteRequest(ResourcePath resourceContainer, String resourceId) Returns a new delete request with the provided resource container path, and resource ID.static PatchRequestRequests.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 PatchRequestRequests.newPatchRequest(ResourcePath resourcePath, PatchOperation... operations) Returns a new patch request with the provided resource path and JSON patch operations.static QueryRequestRequests.newQueryRequest(ResourcePath resourceContainer) Returns a new query request with the provided resource container path.static ReadRequestRequests.newReadRequest(ResourcePath resourcePath) Returns a new read request with the provided resource path.static ReadRequestRequests.newReadRequest(ResourcePath resourceContainer, String resourceId) Returns a new read request with the provided resource container path, and resource ID.static UpdateRequestRequests.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 UpdateRequestRequests.newUpdateRequest(ResourcePath resourcePath, JsonValue newContent) Returns a new update request with the provided resource path and new JSON content.ActionRequest.setResourcePath(ResourcePath path) CreateRequest.setResourcePath(ResourcePath path) DeleteRequest.setResourcePath(ResourcePath path) PatchRequest.setResourcePath(ResourcePath path) QueryRequest.setResourcePath(ResourcePath path) ReadRequest.setResourcePath(ResourcePath path) Request.setResourcePath(ResourcePath path) Sets the non-nullpath of the JSON resource to which this request should be targeted.UpdateRequest.setResourcePath(ResourcePath path) booleanResourcePath.startsWith(ResourcePath prefix) Returnstrueif this resource path is equal to or begins with the provided resource resource path.Constructors in org.forgerock.json.resource with parameters of type ResourcePathModifierConstructorDescriptionResourcePathAndVersion(ResourcePath resourcePath, org.forgerock.http.routing.Version version) -
Uses of ResourcePath in org.forgerock.opendj.rest2ldap
Methods in org.forgerock.opendj.rest2ldap with parameters of type ResourcePathModifier and TypeMethodDescriptionstatic DnHdap.dnOf(ResourcePath resourcePath, SchemaResolver schemaResolver) Decodes the provided URL encoded resource path as a DN.