Package | Description |
---|---|
org.jboss.netty.handler.codec.http.multipart |
HTTP multipart support.
|
Modifier and Type | Method and Description |
---|---|
void |
HttpPostRequestEncoder.addBodyAttribute(String name,
String value)
Add a simple attribute in the body as Name=Value
|
void |
HttpPostRequestEncoder.addBodyFileUpload(String name,
File file,
String contentType,
boolean isText)
Add a file as a FileUpload
|
void |
HttpPostRequestEncoder.addBodyFileUploads(String name,
File[] file,
String[] contentType,
boolean[] isText)
Add a series of Files associated with one File parameter (implied Mixed mode in Multipart)
|
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.
|
HttpChunk |
HttpPostRequestEncoder.nextChunk()
Returns the next available HttpChunk.
|
void |
HttpPostRequestEncoder.setBodyHttpDatas(List<InterfaceHttpData> datas)
Set the Body HttpDatas list
|
Constructor and Description |
---|
HttpPostRequestEncoder(HttpDataFactory factory,
HttpRequest request,
boolean multipart) |
HttpPostRequestEncoder(HttpDataFactory factory,
HttpRequest request,
boolean multipart,
Charset charset) |
HttpPostRequestEncoder(HttpDataFactory factory,
HttpRequest request,
boolean multipart,
Charset charset,
HttpPostRequestEncoder.EncoderMode encoderMode) |
HttpPostRequestEncoder(HttpRequest request,
boolean multipart) |
Copyright © 2008-2014 The Netty Project. All Rights Reserved.