Package org.eclipse.jetty.client.api
Jetty Client : API Classes
-
Interface Summary Interface Description Authentication Authentication
represents a mechanism to authenticate requests for protected resources.Authentication.Result Authentication.Result
holds the information needed to authenticate aRequest
viaAuthentication.Result.apply(org.eclipse.jetty.client.api.Request)
.AuthenticationStore A store forAuthentication
s andAuthentication.Result
s.Connection Connection
represent a connection to aDestination
and allow applications to send requests viaConnection.send(Request, Response.CompleteListener)
.ContentProvider ContentProvider
provides a source of request content.ContentProvider.Typed An extension ofContentProvider
that provides a content type string to be used as aContent-Type
HTTP header in requests.ContentResponse A specializedResponse
that can hold a limited content in memory.Destination Destination
represents the triple made of theDestination.getScheme()
, theDestination.getHost()
and theDestination.getPort()
.Request Request
represents an HTTP request, and offers a fluent interface to customize various attributes such as the path, the headers, the content, etc.Request.BeginListener Listener for the request begin event.Request.CommitListener Listener for the request committed event.Request.ContentListener Listener for the request content event.Request.FailureListener Listener for the request failed event.Request.HeadersListener Listener for the request headers event.Request.Listener Listener for all request events.Request.QueuedListener Listener for the request queued event.Request.RequestListener Common, empty, super-interface for request listeners.Request.SuccessListener Listener for the request succeeded event.Response Response
represents an HTTP response and offers methods to retrieve status code, HTTP version and headers.Response.AsyncContentListener Asynchronous listener for the response content events.Response.BeginListener Listener for the response begin event.Response.CompleteListener Listener for the request and response completed event.Response.ContentListener Synchronous listener for the response content events.Response.DemandedContentListener Asynchronous listener for the response content events.Response.FailureListener Listener for the response failure event.Response.HeaderListener Listener for a response header event.Response.HeadersListener Listener for the response headers event.Response.Listener Listener for all response events.Response.ResponseListener Common, empty, super-interface for response listenersResponse.SuccessListener Listener for the response succeeded event. -
Class Summary Class Description Authentication.HeaderInfo Structure holding information about theWWW-Authenticate
(orProxy-Authenticate
) header.Request.Listener.Adapter An empty implementation ofRequest.Listener
Response.Listener.Adapter An empty implementation ofResponse.Listener
Result