Package | Description |
---|---|
org.asynchttpclient | |
org.asynchttpclient.netty.request.body | |
org.asynchttpclient.request.body.multipart |
Modifier and Type | Field and Description |
---|---|
protected java.util.List<Part> |
RequestBuilderBase.bodyParts |
Modifier and Type | Method and Description |
---|---|
java.util.List<Part> |
Request.getBodyParts() |
java.util.List<Part> |
DefaultRequest.getBodyParts() |
Modifier and Type | Method and Description |
---|---|
T |
RequestBuilderBase.addBodyPart(Part bodyPart) |
Modifier and Type | Method and Description |
---|---|
T |
RequestBuilderBase.setBodyParts(java.util.List<Part> bodyParts) |
Constructor and Description |
---|
DefaultRequest(java.lang.String method,
Uri uri,
java.net.InetAddress address,
java.net.InetAddress localAddress,
io.netty.handler.codec.http.HttpHeaders headers,
java.util.List<io.netty.handler.codec.http.cookie.Cookie> cookies,
byte[] byteData,
java.util.List<byte[]> compositeByteData,
java.lang.String stringData,
java.nio.ByteBuffer byteBufferData,
java.io.InputStream streamData,
BodyGenerator bodyGenerator,
java.util.List<Param> formParams,
java.util.List<Part> bodyParts,
java.lang.String virtualHost,
ProxyServer proxyServer,
Realm realm,
java.io.File file,
java.lang.Boolean followRedirect,
int requestTimeout,
int readTimeout,
long rangeOffset,
java.nio.charset.Charset charset,
ChannelPoolPartitioning channelPoolPartitioning,
io.netty.resolver.NameResolver<java.net.InetAddress> nameResolver) |
Constructor and Description |
---|
NettyMultipartBody(java.util.List<Part> parts,
io.netty.handler.codec.http.HttpHeaders headers,
AsyncHttpClientConfig config) |
Modifier and Type | Class and Description |
---|---|
class |
ByteArrayPart |
class |
FileLikePart
This class is an adaptation of the Apache HttpClient implementation
|
class |
FilePart |
class |
PartBase |
class |
StringPart |
Modifier and Type | Method and Description |
---|---|
static java.util.List<MultipartPart<? extends Part>> |
MultipartUtils.generateMultipartParts(java.util.List<Part> parts,
byte[] boundary) |
Modifier and Type | Method and Description |
---|---|
static java.util.List<MultipartPart<? extends Part>> |
MultipartUtils.generateMultipartParts(java.util.List<Part> parts,
byte[] boundary) |
static MultipartBody |
MultipartUtils.newMultipartBody(java.util.List<Part> parts,
io.netty.handler.codec.http.HttpHeaders requestHeaders)
Creates a new multipart entity containing the given parts.
|
Constructor and Description |
---|
MultipartBody(java.util.List<MultipartPart<? extends Part>> parts,
java.lang.String contentType,
byte[] boundary) |
Copyright © 2018. All Rights Reserved.