org.eclipse.jetty.util
类 MultiPartWriter
java.lang.Object
java.io.Writer
java.io.FilterWriter
org.eclipse.jetty.util.MultiPartWriter
- 所有已实现的接口:
- Closeable, Flushable, Appendable
public class MultiPartWriter
- extends FilterWriter
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
MultiPartWriter
public MultiPartWriter(Writer out)
throws IOException
- 抛出:
IOException
close
public void close()
throws IOException
- End the current part.
- 指定者:
- 接口
Closeable 中的 close - 覆盖:
- 类
FilterWriter 中的 close
- 抛出:
IOException - IOException
getBoundary
public String getBoundary()
startPart
public void startPart(String contentType)
throws IOException
- Start creation of the next Content.
- 抛出:
IOException
endPart
public void endPart()
throws IOException
- end creation of the next Content.
- 抛出:
IOException
startPart
public void startPart(String contentType,
String[] headers)
throws IOException
- Start creation of the next Content.
- 抛出:
IOException
Copyright © 2013. All Rights Reserved.