类 FormHttpMessageConverter.MultipartHttpOutputMessage
java.lang.Object
cn.taketoday.http.converter.FormHttpMessageConverter.MultipartHttpOutputMessage
- 所有已实现的接口:
HttpMessage,HttpOutputMessage
private static class FormHttpMessageConverter.MultipartHttpOutputMessage
extends Object
implements HttpOutputMessage
Implementation of
HttpOutputMessage used
to write a MIME multipart.-
字段概要
字段修饰符和类型字段说明private final Charsetprivate final HttpHeadersprivate booleanprivate final OutputStream -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明getBody()Return the body of the message as an output stream.private byte[]Return the headers of this message.private void
-
字段详细资料
-
charset
-
outputStream
-
headers
-
headersWritten
private boolean headersWritten
-
-
构造器详细资料
-
MultipartHttpOutputMessage
-
-
方法详细资料
-
getHeaders
从接口复制的说明:HttpMessageReturn the headers of this message.- 指定者:
getHeaders在接口中HttpMessage- 返回:
- a corresponding HttpHeaders object (never
null)
-
getBody
从接口复制的说明:HttpOutputMessageReturn the body of the message as an output stream.- 指定者:
getBody在接口中HttpOutputMessage- 返回:
- the output stream body (never
null) - 抛出:
IOException- in case of I/O errors
-
writeHeaders
- 抛出:
IOException
-
getBytes
-