Uses of Enum Class
com.janeirodigital.sai.httputils.ContentType
-
Uses of ContentType in com.janeirodigital.sai.httputils
Fields in com.janeirodigital.sai.httputils declared as ContentTypeFields in com.janeirodigital.sai.httputils with type parameters of type ContentTypeMethods in com.janeirodigital.sai.httputils that return ContentTypeModifier and TypeMethodDescriptionstatic ContentType
protected static ContentType
HttpUtils.getContentType
(okhttp3.Response response) Get the HTTP Content-Type of the responsestatic ContentType
Returns the enum constant of this class with the specified name.static ContentType[]
ContentType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.janeirodigital.sai.httputils with parameters of type ContentTypeModifier and TypeMethodDescriptionstatic okhttp3.Response
HttpUtils.putRdfContainer
(okhttp3.OkHttpClient httpClient, URI uri, org.apache.jena.rdf.model.Resource resource, ContentType contentType) static okhttp3.Response
HttpUtils.putRdfContainer
(okhttp3.OkHttpClient httpClient, URI uri, org.apache.jena.rdf.model.Resource resource, ContentType contentType, String jsonLdContext) Perform an HTTP PUT on the resource aturi
treated as a Basic Container, with a serialized Jena Resource as the request body.static okhttp3.Response
HttpUtils.putRdfResource
(okhttp3.OkHttpClient httpClient, URI uri, org.apache.jena.rdf.model.Resource resource, ContentType contentType) Perform an HTTP PUT on the resource aturi
using a serialized Jena Resource as the request body.static okhttp3.Response
HttpUtils.putRdfResource
(okhttp3.OkHttpClient httpClient, URI uri, org.apache.jena.rdf.model.Resource resource, ContentType contentType, String jsonLdContext) Perform an HTTP PUT on the resource aturi
using a serialized Jena Resource as the request body with a jsonLdContextstatic okhttp3.Response
HttpUtils.putRdfResource
(okhttp3.OkHttpClient httpClient, URI uri, org.apache.jena.rdf.model.Resource resource, ContentType contentType, String jsonLdContext, okhttp3.Headers headers) Perform an HTTP PUT with optional headers on the resource aturi
using a serialized Jena Resource as the request body.static okhttp3.Response
HttpUtils.putRdfResource
(okhttp3.OkHttpClient httpClient, URI uri, org.apache.jena.rdf.model.Resource resource, ContentType contentType, okhttp3.Headers headers) Perform an HTTP PUT with optional headers on the resource aturi
using a serialized Jena Resource as the request body.static okhttp3.Response
HttpUtils.putResource
(okhttp3.OkHttpClient httpClient, URI uri, okhttp3.Headers headers, String body, ContentType contentType) Perform an HTTP PUT on the resource aturi
.