public final class MultipartBody extends Object
InterfaceHttpData
to build a Netty multipart request.Modifier and Type | Class and Description |
---|---|
static class |
MultipartBody.Builder
A builder class to add different
Part to MultipartBody . |
Modifier and Type | Method and Description |
---|---|
static MultipartBody.Builder |
builder() |
List<io.netty.handler.codec.http.multipart.InterfaceHttpData> |
getData(io.netty.handler.codec.http.HttpRequest request,
io.netty.handler.codec.http.multipart.HttpDataFactory factory)
Create a list of
InterfaceHttpData to build Netty multipart request. |
public List<io.netty.handler.codec.http.multipart.InterfaceHttpData> getData(io.netty.handler.codec.http.HttpRequest request, io.netty.handler.codec.http.multipart.HttpDataFactory factory)
InterfaceHttpData
to build Netty multipart request.request
- Associated requestfactory
- The factory used to create the InterfaceHttpData
InterfaceHttpData
objects to build Netty multipart requestpublic static MultipartBody.Builder builder()