Package org.eclipse.jetty.client.util
Jetty Client : Utility Classes
-
Class Summary Class Description AbstractAuthentication AbstractTypedContentProvider BasicAuthentication Implementation of the HTTP "Basic" authentication defined in RFC 2617.BasicAuthentication.BasicResult Basic authentication result.BufferingResponseListener Implementation ofResponse.Listener
that buffers the content up to a maximum length specified to the constructors.ByteBufferContentProvider AContentProvider
forByteBuffer
s.BytesContentProvider AContentProvider
for byte arrays.DeferredContentProvider AContentProvider
that allows to add content afterRequest.send(Response.CompleteListener)
has been called, therefore providing the request content at a later time.DeferredContentProvider.Chunk DigestAuthentication Implementation of the HTTP "Digest" authentication defined in RFC 2617.FormContentProvider AContentProvider
for form uploads with the "application/x-www-form-urlencoded" content type.FutureResponseListener ABufferingResponseListener
that is also aFuture
, to allow applications to block (indefinitely or for a timeout) untilFutureResponseListener.onComplete(Result)
is called, or toabort
the request/response conversation.InputStreamContentProvider AContentProvider
for anInputStream
.InputStreamResponseListener Implementation ofResponse.Listener
that produces anInputStream
that allows applications to read the response content.MultiPartContentProvider AContentProvider
for form uploads with the"multipart/form-data"
content type.OutputStreamContentProvider AContentProvider
that provides content asynchronously through anOutputStream
similar toDeferredContentProvider
.PathContentProvider AContentProvider
for files using JDK 7'sjava.nio.file
APIs.StringContentProvider AContentProvider
for strings.