Uses of Class
org.jboss.netty.handler.codec.http.multipart.HttpPostRequestEncoder.ErrorDataEncoderException
Packages that use HttpPostRequestEncoder.ErrorDataEncoderException
-
Uses of HttpPostRequestEncoder.ErrorDataEncoderException in org.jboss.netty.handler.codec.http.multipart
Methods in org.jboss.netty.handler.codec.http.multipart that throw HttpPostRequestEncoder.ErrorDataEncoderExceptionModifier and TypeMethodDescriptionvoidHttpPostRequestEncoder.addBodyAttribute(String name, String value) Add a simple attribute in the body as Name=ValuevoidHttpPostRequestEncoder.addBodyFileUpload(String name, File file, String contentType, boolean isText) Add a file as a FileUploadvoidHttpPostRequestEncoder.addBodyFileUploads(String name, File[] file, String[] contentType, boolean[] isText) Add a series of Files associated with one File parametervoidHttpPostRequestEncoder.addBodyHttpData(InterfaceHttpData data) Add the InterfaceHttpData to the Body listprivate StringHttpPostRequestEncoder.encodeAttribute(String s, Charset charset) Encode one attributeprivate HttpChunkHttpPostRequestEncoder.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 HttpChunkHttpPostRequestEncoder.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.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.HttpPostRequestEncoder.nextChunk()Returns the next available HttpChunk.voidHttpPostRequestEncoder.setBodyHttpDatas(List<InterfaceHttpData> datas) Set the Body HttpDatas listConstructors in org.jboss.netty.handler.codec.http.multipart that throw HttpPostRequestEncoder.ErrorDataEncoderExceptionModifierConstructorDescriptionHttpPostRequestEncoder(HttpRequest request, boolean multipart) 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)