Uses of Class
com.janeirodigital.shapetrees.core.validation.ShapeTreeContext
Packages that use ShapeTreeContext
Package
Description
Implementation of
client-side
shape tree validation using the OkHttp HTTP client for Java.
-
Uses of ShapeTreeContext in com.janeirodigital.shapetrees.client.okhttp
Methods in com.janeirodigital.shapetrees.client.okhttp with parameters of type ShapeTreeContextModifier and TypeMethodDescriptionOkHttpResourceAccessor.createResource(ShapeTreeContext context, URL url, ResourceAttributes attributes, String body, String contentType) OkHttpResourceAccessor.deleteResource(ShapeTreeContext context, InstanceResource deleteResource) Deletes the providedInstanceResourcedeleteResourcestatic ShapeTreeManagerOkHttpShapeTreeClient.discover(okhttp3.OkHttpClient okHttpClient, ShapeTreeContext context, URL resourceUrl) Discover the ShapeTreeManager associated with a given target resource.OkHttpResourceAccessor.getResource(ShapeTreeContext context, URL url) Get aInstanceResourceat the providedurl, which may or may not exist.static okhttp3.ResponseOkHttpShapeTreeClient.patch(okhttp3.OkHttpClient okHttpClient, ShapeTreeContext context, URL resourceUrl, List<URL> focusNodes, String body) static okhttp3.ResponseOkHttpShapeTreeClient.plant(okhttp3.OkHttpClient okHttpClient, ShapeTreeContext context, URL resourceUrl, URL shapeTreeUrl, URL focusNodeUrl) Shape Trees, ยง4.2: This operation marks an existing resource as being managed by one or more shape trees, by associating a shape tree manager with the resource, and turning it into a managed resource.static okhttp3.ResponseOkHttpShapeTreeClient.post(okhttp3.OkHttpClient okHttpClient, ShapeTreeContext context, URL parentContainer, List<URL> focusNodes, List<URL> targetShapeTrees, String slug, boolean isContainer, String body, ContentType contentType) static okhttp3.ResponseOkHttpShapeTreeClient.put(okhttp3.OkHttpClient okHttpClient, ShapeTreeContext context, URL resourceUrl, List<URL> focusNodes, String body, ContentType contentType) static okhttp3.ResponseOkHttpShapeTreeClient.put(okhttp3.OkHttpClient okHttpClient, ShapeTreeContext context, URL resourceUrl, List<URL> focusNodes, List<URL> targetShapeTrees, Boolean isContainer, String body, ContentType contentType) static okhttp3.ResponseOkHttpShapeTreeClient.unplant(okhttp3.OkHttpClient okHttpClient, ShapeTreeContext context, URL resourceUrl, URL shapeTreeUrl) OkHttpResourceAccessor.updateResource(ShapeTreeContext context, InstanceResource updateResource, String body) protected abstract Optional<okhttp3.Response>OkHttpValidatingMethodHandler.validateRequest(okhttp3.Request nativeRequest, ShapeTreeRequest shapeTreeRequest, ShapeTreeContext shapeTreeContext, ManageableInstance requestInstance) protected Optional<okhttp3.Response>OkHttpValidatingPatchMethodHandler.validateRequest(okhttp3.Request nativeRequest, ShapeTreeRequest shapeTreeRequest, ShapeTreeContext shapeTreeContext, ManageableInstance targetInstance) protected Optional<okhttp3.Response>OkHttpValidatingPostMethodHandler.validateRequest(okhttp3.Request nativeRequest, ShapeTreeRequest shapeTreeRequest, ShapeTreeContext shapeTreeContext, ManageableInstance targetInstance) protected Optional<okhttp3.Response>OkHttpValidatingPutMethodHandler.validateRequest(okhttp3.Request nativeRequest, ShapeTreeRequest shapeTreeRequest, ShapeTreeContext shapeTreeContext, ManageableInstance targetInstance) -
Uses of ShapeTreeContext in com.janeirodigital.shapetrees.core.helpers
Methods in com.janeirodigital.shapetrees.core.helpers that return ShapeTreeContextModifier and TypeMethodDescriptionstatic ShapeTreeContextRequestHelper.buildContextFromRequest(ShapeTreeRequest shapeTreeRequest) Builds a ShapeTreeContext from the incoming request. -
Uses of ShapeTreeContext in com.janeirodigital.shapetrees.core.resources
Methods in com.janeirodigital.shapetrees.core.resources that return ShapeTreeContextMethods in com.janeirodigital.shapetrees.core.resources with parameters of type ShapeTreeContextModifier and TypeMethodDescriptionstatic ManageableInstanceManageableInstance.createInstanceResource(ResourceAccessor accessor, ShapeTreeContext context, URL resourceUrl, ResourceAttributes headers, String body, String contentType) Creates the resource identified by the providedresourceUrland gets a correspondingManageableInstance.ResourceAccessor.createResource(ShapeTreeContext context, URL resourceUrl, ResourceAttributes headers, String body, String contentType) Creates a specificInstanceResourceidentified by the providedresourceUrl.ResourceAccessor.deleteResource(ShapeTreeContext context, InstanceResource deleteResource) Deletes a specificInstanceResourceidentified by the providedupdatedResourcestatic ManageableInstanceManageableInstance.getInstance(ResourceAccessor accessor, ShapeTreeContext context, URL resourceUrl) Return aManageableInstanceconstructed starting with the resource identified by the providedresourceUrl.ResourceAccessor.getResource(ShapeTreeContext context, URL resourceUrl) Gets a specificInstanceResourceidentified by the providedresourceUrl.ResourceAccessor.updateResource(ShapeTreeContext context, InstanceResource updatedResource, String body) Updates a specificInstanceResourceidentified by the providedupdatedResource -
Uses of ShapeTreeContext in com.janeirodigital.shapetrees.core.validation
Methods in com.janeirodigital.shapetrees.core.validation with parameters of type ShapeTreeContextModifier and TypeMethodDescriptionstatic ValidationResultShapeTreeRequestProcessor.assign(ResourceAccessor accessor, ManageableInstance manageableInstance, ShapeTreeContext shapeTreeContext, ShapeTreeManager rootManager, ShapeTreeAssignment rootAssignment, ShapeTreeAssignment parentAssignment, ValidationResult advanceValidationResult) static ShapeTreeAssignmentShapeTreeRequestProcessor.getRootAssignment(ResourceAccessor accessor, ShapeTreeContext shapeTreeContext, ShapeTreeAssignment assignment) static ValidationResultShapeTreeRequestProcessor.plant(ResourceAccessor accessor, ManageableInstance manageableInstance, ShapeTreeContext shapeTreeContext, ShapeTreeManager updatedRootManager, ShapeTreeManagerDelta delta) Plants a shape tree on an existing resourcestatic ValidationResultShapeTreeRequestProcessor.unassign(ResourceAccessor accessor, ManageableInstance manageableInstance, ShapeTreeContext shapeTreeContext, ShapeTreeAssignment rootAssignment) static ValidationResultShapeTreeRequestProcessor.unplant(ResourceAccessor accessor, ManageableInstance manageableInstance, ShapeTreeContext shapeTreeContext, ShapeTreeManagerDelta delta)