Package org.eclipse.jetty.util
Class MultiPartOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
org.eclipse.jetty.util.MultiPartOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
Deprecated.
The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
Handle a multipart MIME response.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.MultiPartOutputStream(OutputStream out, String boundary) Deprecated. -
Method Summary
Methods inherited from class java.io.FilterOutputStream
flush, write, writeMethods inherited from class java.io.OutputStream
nullOutputStream
-
Field Details
-
MULTIPART_MIXED
Deprecated.- See Also:
-
MULTIPART_X_MIXED_REPLACE
Deprecated.- See Also:
-
-
Constructor Details
-
MultiPartOutputStream
Deprecated.- Throws:
IOException
-
MultiPartOutputStream
Deprecated.- Throws:
IOException
-
-
Method Details
-
close
Deprecated.End the current part.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFilterOutputStream- Throws:
IOException- IOException
-
getBoundary
Deprecated. -
getOut
Deprecated. -
startPart
Deprecated.Start creation of the next Content.- Parameters:
contentType- the content type of the part- Throws:
IOException- if unable to write the part
-
startPart
Deprecated.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
-
write
Deprecated.- Overrides:
writein classFilterOutputStream- Throws:
IOException
-