Uses of Class
com.janeirodigital.shapetrees.core.resources.DocumentResponse
Packages that use DocumentResponse
Package
Description
Implementation of
client-side
shape tree validation using the OkHttp HTTP client for Java.
-
Uses of DocumentResponse in com.janeirodigital.shapetrees.client.okhttp
Methods in com.janeirodigital.shapetrees.client.okhttp that return DocumentResponseModifier and TypeMethodDescriptionOkHttpResourceAccessor.deleteResource
(ShapeTreeContext context, InstanceResource deleteResource) Deletes the providedInstanceResource
deleteResource
OkHttpExternalDocumentLoader.loadExternalDocument
(URL resourceUrl) Load a non-POD document This fulfils the ExternalDocumentLoader interface, so this factory can be use in DocumentLoaderManager.setLoader(new OkHttpShapeTreeClientFactory(...));OkHttpResourceAccessor.updateResource
(ShapeTreeContext context, InstanceResource updateResource, String body) -
Uses of DocumentResponse in com.janeirodigital.shapetrees.core.contentloaders
Methods in com.janeirodigital.shapetrees.core.contentloaders that return DocumentResponseModifier and TypeMethodDescriptionExternalDocumentLoader.loadExternalDocument
(URL resourceUrl) Describes the retrieval of a remote documentHttpExternalDocumentLoader.loadExternalDocument
(URL resourceUrl) -
Uses of DocumentResponse in com.janeirodigital.shapetrees.core.helpers
Methods in com.janeirodigital.shapetrees.core.helpers with parameters of type DocumentResponseModifier and TypeMethodDescriptionDocumentResponseHelper.getHeader
(DocumentResponse response, HttpHeader header) Gets the string value of the http headerheader
stored in the ResourceAttributes of the providedresponse
.DocumentResponseHelper.getLinkHeaders
(DocumentResponse response) Gets a list of string values for HTTP Link headers stored in the providedresponse
static RelationAttributes
DocumentResponseHelper.getLinkRelations
(DocumentResponse response) Extracts HTTP Link Relations from the HTTP Headers of the providedresponse
.static ShapeTreeResourceType
DocumentResponseHelper.getResourceType
(DocumentResponse response) Determine a resource type by parsing Link rel=type headers -
Uses of DocumentResponse in com.janeirodigital.shapetrees.core.resources
Methods in com.janeirodigital.shapetrees.core.resources that return DocumentResponseModifier and TypeMethodDescriptionResourceAccessor.deleteResource
(ShapeTreeContext context, InstanceResource deleteResource) Deletes a specificInstanceResource
identified by the providedupdatedResource
ResourceAccessor.updateResource
(ShapeTreeContext context, InstanceResource updatedResource, String body) Updates a specificInstanceResource
identified by the providedupdatedResource