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 providedInstanceResourcedeleteResourceOkHttpExternalDocumentLoader.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 headerheaderstored in the ResourceAttributes of the providedresponse.DocumentResponseHelper.getLinkHeaders(DocumentResponse response) Gets a list of string values for HTTP Link headers stored in the providedresponsestatic RelationAttributesDocumentResponseHelper.getLinkRelations(DocumentResponse response) Extracts HTTP Link Relations from the HTTP Headers of the providedresponse.static ShapeTreeResourceTypeDocumentResponseHelper.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 specificInstanceResourceidentified by the providedupdatedResourceResourceAccessor.updateResource(ShapeTreeContext context, InstanceResource updatedResource, String body) Updates a specificInstanceResourceidentified by the providedupdatedResource