Class MultiPartWriter
java.lang.Object
java.io.Writer
java.io.FilterWriter
org.eclipse.jetty.util.MultiPartWriter
- All Implemented Interfaces:
 Closeable, Flushable, Appendable, AutoCloseable
Handle a multipart MIME response.
- 
Field Summary
FieldsFields inherited from class FilterWriter
out - 
Constructor Summary
Constructors - 
Method Summary
Methods inherited from class FilterWriter
flush, write, write, write 
- 
Field Details
- 
MULTIPART_MIXED
- See Also:
 
 - 
MULTIPART_X_MIXED_REPLACE
- See Also:
 
 
 - 
 - 
Constructor Details
- 
MultiPartWriter
- Throws:
 IOException
 
 - 
 - 
Method Details
- 
close
End the current part.- Specified by:
 closein interfaceAutoCloseable- Specified by:
 closein interfaceCloseable- Overrides:
 closein classFilterWriter- Throws:
 IOException- IOException
 - 
getBoundary
 - 
startPart
Start creation of the next Content.- Parameters:
 contentType- the content type- Throws:
 IOException- if unable to write the part
 - 
startPart
Start creation of the next Content.- Parameters:
 contentType- the content type of the partheaders- the part headers- Throws:
 IOException- if unable to write the part
 - 
endPart
end creation of the next Content.- Throws:
 IOException- if unable to write the part
 
 -