程序包 | 说明 |
---|---|
io.netty.handler.codec.http.multipart |
Benchmarks for
io.netty.handler.codec.http.multipart . |
限定符和类型 | 方法和说明 |
---|---|
void |
HttpPostRequestEncoder.addBodyAttribute(java.lang.String name,
java.lang.String value)
Add a simple attribute in the body as Name=Value
|
void |
HttpPostRequestEncoder.addBodyFileUpload(java.lang.String name,
java.io.File file,
java.lang.String contentType,
boolean isText)
Add a file as a FileUpload
|
void |
HttpPostRequestEncoder.addBodyFileUpload(java.lang.String name,
java.lang.String filename,
java.io.File file,
java.lang.String contentType,
boolean isText)
Add a file as a FileUpload
|
void |
HttpPostRequestEncoder.addBodyFileUploads(java.lang.String name,
java.io.File[] file,
java.lang.String[] contentType,
boolean[] isText)
Add a series of Files associated with one File parameter
|
void |
HttpPostRequestEncoder.addBodyHttpData(InterfaceHttpData data)
Add the InterfaceHttpData to the Body list
|
HttpRequest |
HttpPostRequestEncoder.finalizeRequest()
Finalize the request by preparing the Header in the request and returns the request ready to be sent.
|
void |
HttpPostRequestEncoder.setBodyHttpDatas(java.util.List<InterfaceHttpData> datas)
Set the Body HttpDatas list
|
构造器和说明 |
---|
HttpPostRequestEncoder(HttpDataFactory factory,
HttpRequest request,
boolean multipart) |
HttpPostRequestEncoder(HttpDataFactory factory,
HttpRequest request,
boolean multipart,
java.nio.charset.Charset charset,
HttpPostRequestEncoder.EncoderMode encoderMode) |
HttpPostRequestEncoder(HttpRequest request,
boolean multipart) |