| Package | Description |
|---|---|
| org.asynchttpclient | |
| org.asynchttpclient.netty.request.body | |
| org.asynchttpclient.request.body.multipart |
| Modifier and Type | Field and Description |
|---|---|
protected List<Part> |
RequestBuilderBase.bodyParts |
| Modifier and Type | Method and Description |
|---|---|
List<Part> |
Request.getBodyParts() |
List<Part> |
DefaultRequest.getBodyParts() |
| Modifier and Type | Method and Description |
|---|---|
T |
RequestBuilderBase.addBodyPart(Part bodyPart) |
| Modifier and Type | Method and Description |
|---|---|
T |
RequestBuilderBase.setBodyParts(List<Part> bodyParts) |
| Constructor and Description |
|---|
DefaultRequest(String method,
Uri uri,
InetAddress address,
InetAddress localAddress,
io.netty.handler.codec.http.HttpHeaders headers,
List<io.netty.handler.codec.http.cookie.Cookie> cookies,
byte[] byteData,
List<byte[]> compositeByteData,
String stringData,
ByteBuffer byteBufferData,
InputStream streamData,
BodyGenerator bodyGenerator,
List<Param> formParams,
List<Part> bodyParts,
String virtualHost,
ProxyServer proxyServer,
Realm realm,
File file,
Boolean followRedirect,
int requestTimeout,
int readTimeout,
long rangeOffset,
Charset charset,
ChannelPoolPartitioning channelPoolPartitioning,
io.netty.resolver.NameResolver<InetAddress> nameResolver) |
| Constructor and Description |
|---|
NettyMultipartBody(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 |
InputStreamPart |
class |
PartBase |
class |
StringPart |
| Modifier and Type | Method and Description |
|---|---|
static List<MultipartPart<? extends Part>> |
MultipartUtils.generateMultipartParts(List<Part> parts,
byte[] boundary) |
| Modifier and Type | Method and Description |
|---|---|
static List<MultipartPart<? extends Part>> |
MultipartUtils.generateMultipartParts(List<Part> parts,
byte[] boundary) |
static MultipartBody |
MultipartUtils.newMultipartBody(List<Part> parts,
io.netty.handler.codec.http.HttpHeaders requestHeaders)
Creates a new multipart entity containing the given parts.
|
| Constructor and Description |
|---|
MultipartBody(List<MultipartPart<? extends Part>> parts,
String contentType,
byte[] boundary) |
Copyright © 2020. All rights reserved.