Uses of Class
com.janeirodigital.shapetrees.core.resources.ResourceAttributes
Packages that use ResourceAttributes
Package
Description
Implementation of
client-side
shape tree validation using the OkHttp HTTP client for Java.
-
Uses of ResourceAttributes in com.janeirodigital.shapetrees.client.okhttp
Methods in com.janeirodigital.shapetrees.client.okhttp that return ResourceAttributesMethods in com.janeirodigital.shapetrees.client.okhttp with parameters of type ResourceAttributesModifier and TypeMethodDescriptionstatic okhttp3.HeadersOkHttpHelper.attributesToHeaders(ResourceAttributes attributes) Converts "multi map" representation of attributes to the OkHttp Headers class public for OkHttpValidatingShapeTreeInterceptor.createResponseOkHttpResourceAccessor.createResource(ShapeTreeContext context, URL url, ResourceAttributes attributes, String body, String contentType) -
Uses of ResourceAttributes in com.janeirodigital.shapetrees.core.helpers
Methods in com.janeirodigital.shapetrees.core.helpers with parameters of type ResourceAttributesModifier and TypeMethodDescriptionDocumentResponseHelper.getHeader(ResourceAttributes attributes, HttpHeader header) Gets the string value of the http headerheaderstored in the providedattributes.DocumentResponseHelper.getLinkRelation(ResourceAttributes linkRelations, LinkRelation relation) Gets a single link relation value from the providedlinkRelationsmap of HTTP Link Relations -
Uses of ResourceAttributes in com.janeirodigital.shapetrees.core.resources
Subclasses of ResourceAttributes in com.janeirodigital.shapetrees.core.resourcesModifier and TypeClassDescriptionclassExtension ofResourceAttributesused specifically for storage of Link Relation attribute mapsMethods in com.janeirodigital.shapetrees.core.resources that return ResourceAttributesModifier and TypeMethodDescriptionInstanceResource.getAttributes()DocumentResponse.getResourceAttributes()make a new HttpClientHeaders with the additional attr/value set.Methods in com.janeirodigital.shapetrees.core.resources with parameters of type ResourceAttributesModifier and TypeMethodDescriptionstatic URLManageableInstance.calculateManagedUrl(URL managerUrl, ResourceAttributes attributes) Looks for the presence of the http://www.w3.org/ns/shapetrees#manages HTTP Link Relation in the providedattributes, with a valid target URL of aManagedResource.static 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.Constructors in com.janeirodigital.shapetrees.core.resources with parameters of type ResourceAttributesModifierConstructorDescriptionDocumentResponse(ResourceAttributes resourceAttributes, String body, int statusCode) ManageableResource(URL url, ShapeTreeResourceType resourceType, ResourceAttributes attributes, String body, String name, boolean exists, Optional<URL> managerResourceUrl) Construct a manageable resource.ManagerResource(URL url, ShapeTreeResourceType resourceType, ResourceAttributes attributes, String body, String name, boolean exists, URL managedResourceUrl) Construct a manager resourceMissingManageableResource(URL url, ShapeTreeResourceType resourceType, ResourceAttributes attributes, String body, String name, Optional<URL> managerResourceUrl) Construct a missing manageable resource.MissingManagerResource(URL url, ShapeTreeResourceType resourceType, ResourceAttributes attributes, String body, String name, URL managedResourceUrl) Construct a missing manager resource. -
Uses of ResourceAttributes in com.janeirodigital.shapetrees.core.validation
Methods in com.janeirodigital.shapetrees.core.validation that return ResourceAttributesModifier and TypeMethodDescriptionShapeTreeRequest.getHeaders()ShapeTreeRequest.getLinkHeaders()