Package com.inrupt.client
Application interfaces for the Inrupt Java Client Libraries.
The Inrupt Java Client Libraries use a set of generic interfaces which help integrate with some of the higher-level modules.
Working with an HTTP client is easier by implementing the Client
. Then, to make use of the HTTP client,
which previously was loaded on the classpath, one can call the ClientProvider
.
Request
and Response
classes help with interacting with an HTTP client. And Headers
helps parsing header values, including those often used with Solid, such as Headers.Link
or Headers.WacAllow
.
Further, to work with HTTP resources as RDF-based resources, one can make use of the Resource
class.
ValidationResult
can be of use when validation of the Solid resource is needed.
The InruptClientException
provides a runtime exception used as a generic exception throughout the
Inrupt Java Client Libraries.
-
Interface Summary Interface Description Client An API for an HTTP client.Client.Builder An API for an HTTP client builder.Request.BodyPublisher An API for serializing an HTTP Request.Resource A base class for all resources.Response<T> An HTTP Response.Response.BodyHandler<T> An interface for mapping an HTTP response into a specific Java type.Response.ResponseInfo Initial response info supplied to aResponse.BodyHandler
before the body is processed. -
Class Summary Class Description ClientProvider An API for loading the HTTP client.Headers A read-only view of a collection of HTTP headers.Headers.Link A class for representing an HTTP Link header.Headers.WacAllow a class for parsing WAC-allow headers.Headers.WwwAuthenticate Part of the HTTP Challenge and Response authentication framework, this class represents a challenge object as represented in a WWW-Authenticate Response Header.NonRDFSource A base class for non-RDF-bearing resources.RDFSource A base class for RDF-based resource mapping.Request An HTTP Request.Request.BodyPublishers Built-inRequest.BodyPublisher
implementations.Request.Builder ARequest
builder.Response.BodyHandlers Convenience methods for creating commonResponse.BodyHandler
objects.ValidationResult The result of performing validation on aResource
. -
Exception Summary Exception Description InruptClientException A generic Inrupt runtime exception for use as a superclass.