Uses of Interface
org.eclipse.jetty.client.api.Request.Content
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
Jetty Proxy : Async Proxy Support
-
Uses of Request.Content in org.eclipse.jetty.client
-
Uses of Request.Content in org.eclipse.jetty.client.api
Modifier and TypeMethodDescriptionRequest.getBody()
static Request.Content
ContentProvider.toRequestContent
(ContentProvider provider) Deprecated.Converts a ContentProvider to aRequest.Content
. -
Uses of Request.Content in org.eclipse.jetty.client.internal
Modifier and TypeClassDescriptionclass
Implements the conversion fromContentProvider
toRequest.Content
. -
Uses of Request.Content in org.eclipse.jetty.client.util
Modifier and TypeClassDescriptionclass
Partial implementation ofRequest.Content
.class
class
ARequest.Content
forByteBuffer
s.class
ARequest.Content
for byte arrays.class
ARequest.Content
for form uploads with the "application/x-www-form-urlencoded" content type.class
ARequest.Content
that produces content from anInputStream
.class
ARequest.Content
for form uploads with the"multipart/form-data"
content type.class
ARequest.Content
that provides content asynchronously through anOutputStream
similar toAsyncRequestContent
.class
ARequest.Content
for files using JDK 7'sjava.nio.file
APIs.class
ARequest.Content
for strings.Modifier and TypeMethodDescriptionvoid
MultiPartRequestContent.addFieldPart
(String name, Request.Content content, HttpFields fields) Adds a field part with the givenname
as field name, and the givencontent
as part content.void
MultiPartRequestContent.addFilePart
(String name, String fileName, Request.Content content, HttpFields fields) Adds a file part with the givenname
as field name, the givenfileName
as file name, and the givencontent
as part content. -
Uses of Request.Content in org.eclipse.jetty.proxy
Modifier and TypeMethodDescriptionprotected Request.Content
AsyncProxyServlet.proxyRequestContent
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Request proxyRequest) protected Request.Content
ProxyServlet.proxyRequestContent
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Request proxyRequest) Wraps the client-to-proxy request content in aRequest.Content
for the proxy-to-server request.