org.eclipse.jetty.util
类 MultiPartOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
org.eclipse.jetty.util.MultiPartOutputStream
- 所有已实现的接口:
- Closeable, Flushable
public class MultiPartOutputStream
- extends FilterOutputStream
Handle a multipart MIME response.
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MULTIPART_MIXED
public static String MULTIPART_MIXED
MULTIPART_X_MIXED_REPLACE
public static String MULTIPART_X_MIXED_REPLACE
MultiPartOutputStream
public MultiPartOutputStream(OutputStream out)
throws IOException
- 抛出:
IOException
close
public void close()
throws IOException
- End the current part.
- 指定者:
- 接口
Closeable 中的 close - 覆盖:
- 类
FilterOutputStream 中的 close
- 抛出:
IOException - IOException
getBoundary
public String getBoundary()
getOut
public OutputStream getOut()
startPart
public void startPart(String contentType)
throws IOException
- Start creation of the next Content.
- 抛出:
IOException
startPart
public void startPart(String contentType,
String[] headers)
throws IOException
- Start creation of the next Content.
- 抛出:
IOException
write
public void write(byte[] b,
int off,
int len)
throws IOException
- 覆盖:
- 类
FilterOutputStream 中的 write
- 抛出:
IOException
Copyright © 2013. All Rights Reserved.