HTTP Transport UtilitiesThis package contains classes and other utilities useful for accessing and providing access to resources via the HTTP transport protocols. Currently, only HTTP/1.0 and HTTP/1.1 are supported.
The package is organized into four distinct parts,
Protocol UtilitiesThe protocol utilities, which reside in this package, are used for enumerating HTTP
versions, as well as for organizing HTTP
Client and Consumer UtilitiesThese are used to initiate HTTP connections to remote hosts. The
client utilitiesare primarily useful for establishing connections to regular HTTP servers, while the
consumer utilitiesassist in fulfilling the additional requirements for connecting to Arrowhead HTTP services.
Service UtilitiesThese are useful for providing Arrowhead services over HTTP. Refer to the
package documentationfor more details.
Interface Summary Interface Description HttpConnectionA connection established with a remote peer, allowing for messages to either be sent to or received from that peer. HttpConnectionWithArSystemAn
HttpConnectionestablished between a local and a remote Arrowhead system.
HttpIncoming<Self>An incoming HTTP message. HttpIncomingRequest<Self>An incoming HTTP request. HttpIncomingResponse<Self,Request extends HttpOutgoingRequest<?>>An incoming HTTP response. HttpMessage<Self>An arbitrary HTTP message. HttpOutgoing<Self>An outgoing HTTP message. HttpOutgoingRequest<Self>An outgoing HTTP request. HttpOutgoingResponse<Self>An outgoing HTTP response.
Class Summary Class Description HttpHeadersA collection of HTTP header name/value pairs, where names are case-insensitive. HttpMethodHTTP request methods. HttpStatusHTTP status codes. HttpVersionHTTP protocol version.
Exception Summary Exception Description HttpIncomingResponseUnexpectedSignifies that some HTTP response received via a
HttpClientConnectionwas rejected due to not satisfying some arbitrary requirement.
HttpOutgoingRequestExceptionSignifies that some outgoing HTTP request is subject to an error.