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, write
Methods 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:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in 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:
write
in classFilterOutputStream
- Throws:
IOException
-