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 ContentTypeprotected static ContentTypeHttpUtils.getContentType(okhttp3.Response response) Get the HTTP Content-Type of the responsestatic ContentTypeReturns 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.ResponseHttpUtils.putRdfContainer(okhttp3.OkHttpClient httpClient, URI uri, org.apache.jena.rdf.model.Resource resource, ContentType contentType) static okhttp3.ResponseHttpUtils.putRdfContainer(okhttp3.OkHttpClient httpClient, URI uri, org.apache.jena.rdf.model.Resource resource, ContentType contentType, String jsonLdContext) Perform an HTTP PUT on the resource aturitreated as a Basic Container, with a serialized Jena Resource as the request body.static okhttp3.ResponseHttpUtils.putRdfResource(okhttp3.OkHttpClient httpClient, URI uri, org.apache.jena.rdf.model.Resource resource, ContentType contentType) Perform an HTTP PUT on the resource aturiusing a serialized Jena Resource as the request body.static okhttp3.ResponseHttpUtils.putRdfResource(okhttp3.OkHttpClient httpClient, URI uri, org.apache.jena.rdf.model.Resource resource, ContentType contentType, String jsonLdContext) Perform an HTTP PUT on the resource aturiusing a serialized Jena Resource as the request body with a jsonLdContextstatic okhttp3.ResponseHttpUtils.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 aturiusing a serialized Jena Resource as the request body.static okhttp3.ResponseHttpUtils.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 aturiusing a serialized Jena Resource as the request body.static okhttp3.ResponseHttpUtils.putResource(okhttp3.OkHttpClient httpClient, URI uri, okhttp3.Headers headers, String body, ContentType contentType) Perform an HTTP PUT on the resource aturi.