Uses of Interface
org.eclipse.jetty.client.api.ContentProvider
Packages that use ContentProvider
Package
Description
Jetty Client : Implementation and Core Classes
This package provides APIs, utility classes and an implementation of an asynchronous HTTP client.
Jetty Client : API Classes
Jetty Client : Utility Classes
-
Uses of ContentProvider in org.eclipse.jetty.client
Subinterfaces of ContentProvider in org.eclipse.jetty.clientModifier and TypeInterfaceDescriptioninterface
AContentProvider
that notifies listeners that content is available.Fields in org.eclipse.jetty.client declared as ContentProviderModifier and TypeFieldDescriptionprivate ContentProvider
HttpRequest.content
private final ContentProvider
HttpContent.provider
Methods in org.eclipse.jetty.client that return ContentProviderMethods in org.eclipse.jetty.client with parameters of type ContentProviderModifier and TypeMethodDescriptionHttpRequest.content
(ContentProvider content) HttpRequest.content
(ContentProvider content, String contentType) Constructors in org.eclipse.jetty.client with parameters of type ContentProvider -
Uses of ContentProvider in org.eclipse.jetty.client.api
Subinterfaces of ContentProvider in org.eclipse.jetty.client.apiModifier and TypeInterfaceDescriptionstatic interface
An extension ofContentProvider
that provides a content type string to be used as aContent-Type
HTTP header in requests.Methods in org.eclipse.jetty.client.api that return ContentProviderMethods in org.eclipse.jetty.client.api with parameters of type ContentProviderModifier and TypeMethodDescriptionRequest.content
(ContentProvider content) Request.content
(ContentProvider content, String contentType) -
Uses of ContentProvider in org.eclipse.jetty.client.util
Classes in org.eclipse.jetty.client.util that implement ContentProviderModifier and TypeClassDescriptionclass
class
AContentProvider
forByteBuffer
s.class
AContentProvider
for byte arrays.class
AContentProvider
that allows to add content afterRequest.send(Response.CompleteListener)
has been called, therefore providing the request content at a later time.class
AContentProvider
for form uploads with the "application/x-www-form-urlencoded" content type.class
AContentProvider
for anInputStream
.class
AContentProvider
for form uploads with the"multipart/form-data"
content type.class
AContentProvider
that provides content asynchronously through anOutputStream
similar toDeferredContentProvider
.class
AContentProvider
for files using JDK 7'sjava.nio.file
APIs.class
AContentProvider
for strings.Fields in org.eclipse.jetty.client.util declared as ContentProviderModifier and TypeFieldDescriptionprivate final ContentProvider
MultiPartContentProvider.Part.content
Methods in org.eclipse.jetty.client.util with parameters of type ContentProviderModifier and TypeMethodDescriptionvoid
MultiPartContentProvider.addFieldPart
(String name, ContentProvider content, HttpFields fields) Adds a field part with the givenname
as field name, and the givencontent
as part content.void
MultiPartContentProvider.addFilePart
(String name, String fileName, ContentProvider content, HttpFields fields) Adds a file part with the givenname
as field name, the givenfileName
as file name, and the givencontent
as part content.Constructors in org.eclipse.jetty.client.util with parameters of type ContentProviderModifierConstructorDescriptionprivate
Part
(String name, String fileName, String contentType, ContentProvider content, HttpFields fields)