Adds a child to the end of the path of baseUrl
protected static okhttp3.Response
Check the provided response
for viable for an RDF resource.
static okhttp3.Response
static okhttp3.Response
HttpUtils.deleteResource(okhttp3.OkHttpClient httpClient,
URI uri,
okhttp3.Headers headers)
Perform an HTTP DELETE on the resource at uri
.
Get the HTTP Content-Type of the response
static org.apache.jena.rdf.model.Model
Get a Jena RDF Model from the body of the OkHttp Response.
static okhttp3.Response
Perform an HTTP GET on an RDF resource at uri
.
static okhttp3.Response
HttpUtils.getRdfResource(okhttp3.OkHttpClient httpClient,
URI uri,
okhttp3.Headers headers)
Perform an HTTP GET on an RDF resource at uri
.
static okhttp3.Response
Perform an HTTP GET on an RDF resource at uri
.
static okhttp3.Response
Perform an HTTP GET on the resource at uri
, and throws an exception if the resource
cannot be found or the response is otherwise unsuccessful.
static okhttp3.Response
static okhttp3.Response
HttpUtils.getResource(okhttp3.OkHttpClient httpClient,
URI uri,
okhttp3.Headers headers)
Perform an HTTP GET on the resource at uri
.
static okhttp3.Response
static okhttp3.Response
Perform an HTTP PUT on the resource at uri
treated as a Basic Container,
with a serialized Jena Resource as the request body.
static okhttp3.Response
Perform an HTTP PUT on the resource at uri
using a serialized Jena
Resource as the request body.
static okhttp3.Response
Perform an HTTP PUT on the resource at uri
using a serialized Jena
Resource as the request body with a jsonLdContext
static 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 at uri
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 at uri
using a serialized Jena
Resource as the request body.
static okhttp3.Response
Perform an HTTP PUT on the resource at uri
.
Converts a string to a URL
Returns the scheme, domain name, port, and path of a URL, removing
any query parameters or fragments.