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
|
private java.lang.String |
HttpPostRequestEncoder.encodeAttribute(java.lang.String s,
java.nio.charset.Charset charset) |
Encode one attribute
|
private HttpContent |
HttpPostRequestEncoder.encodeNextChunkMultipart(int sizeleft) |
From the current context (currentBuffer and currentData), returns the next HttpChunk (if possible) trying to get
sizeleft bytes more into the currentBuffer.
|
private HttpContent |
HttpPostRequestEncoder.encodeNextChunkUrlEncoded(int sizeleft) |
From the current context (currentBuffer and currentData), returns the next HttpChunk (if possible) trying to get
sizeleft bytes more into the currentBuffer.
|
HttpRequest |
HttpPostRequestEncoder.finalizeRequest() |
Finalize the request by preparing the Header in the request and returns the request ready to be sent.
Once finalized, no data must be added.
If the request does not need chunk (isChunked() == false), this request is the only object to send to the remote
server.
|
private HttpContent |
HttpPostRequestEncoder.nextChunk() |
Returns the next available HttpChunk.
|
void |
HttpPostRequestEncoder.setBodyHttpDatas(java.util.List<InterfaceHttpData> datas) |
Set the Body HttpDatas list
|