Uses of Class
io.netty.handler.codec.http.multipart.HttpPostRequestEncoder.ErrorDataEncoderException
Packages that use HttpPostRequestEncoder.ErrorDataEncoderException
-
Uses of HttpPostRequestEncoder.ErrorDataEncoderException in io.netty.handler.codec.http.multipart
Methods in io.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.addBodyFileUpload(String name, String filename, 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 listHttpPostRequestEncoder.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.voidHttpPostRequestEncoder.setBodyHttpDatas(List<InterfaceHttpData> datas) Set the Body HttpDatas listConstructors in io.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.EncoderMode encoderMode)