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, you 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, you 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.
-
ClassDescriptionAn API for an HTTP client.An API for an HTTP client builder.ClientCache<T,
U> A generic caching abstraction for use in the Inrupt Client Libraries.An API for loading the HTTP client.A read-only view of a collection of HTTP headers.A class for representing an HTTP Link header.a class for parsing WAC-allow headers.Part of the HTTP Challenge and Response authentication framework, this class represents a challenge object as represented in a WWW-Authenticate Response Header.A generic Inrupt runtime exception for use as a superclass.A base class for non-RDF-bearing resources.A data class representing a structured problem description sent by the server on error response.A base class for RDF-based resource mapping.An HTTP Request.An API for serializing an HTTP Request.Built-inRequest.BodyPublisher
implementations.ARequest
builder.A base class for all resources.Response<T>An HTTP Response.An interface for mapping an HTTP response into a specific Java type.Convenience methods for creating commonResponse.BodyHandler
objects.Initial response info supplied to aResponse.BodyHandler
before the body is processed.The result of performing validation on aResource
.