|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.eclipse.jetty.util.MultiPartInputStream
public class MultiPartInputStream
MultiPartInputStream Handle a MultiPart Mime input stream, breaking it up on the boundary into files and strings.
| 嵌套类摘要 | |
|---|---|
class |
MultiPartInputStream.MultiPart
|
| 字段摘要 | |
|---|---|
static MultipartConfigElement |
__DEFAULT_MULTIPART_CONFIG
|
protected MultipartConfigElement |
_config
|
protected String |
_contentType
|
protected File |
_contextTmpDir
|
protected boolean |
_deleteOnExit
|
protected InputStream |
_in
|
protected MultiMap<String> |
_parts
|
protected File |
_tmpDir
|
| 构造方法摘要 | |
|---|---|
MultiPartInputStream(InputStream in,
String contentType,
MultipartConfigElement config,
File contextTmpDir)
|
|
| 方法摘要 | |
|---|---|
void |
deleteParts()
Delete any tmp storage for parts, and clear out the parts list. |
Collection<Part> |
getParsedParts()
Get the already parsed parts. |
Part |
getPart(String name)
Get the named Part. |
Collection<Part> |
getParts()
Parse, if necessary, the multipart data and return the list of Parts. |
boolean |
isDeleteOnExit()
|
protected void |
parse()
Parse, if necessary, the multipart stream. |
void |
setDeleteOnExit(boolean deleteOnExit)
|
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 字段详细信息 |
|---|
public static final MultipartConfigElement __DEFAULT_MULTIPART_CONFIG
protected InputStream _in
protected MultipartConfigElement _config
protected String _contentType
protected MultiMap<String> _parts
protected File _tmpDir
protected File _contextTmpDir
protected boolean _deleteOnExit
| 构造方法详细信息 |
|---|
public MultiPartInputStream(InputStream in,
String contentType,
MultipartConfigElement config,
File contextTmpDir)
in - Request input streamcontentType - Content-Type headerconfig - MultipartConfigElementcontextTmpDir - javax.servlet.context.tempdir| 方法详细信息 |
|---|
public Collection<Part> getParsedParts()
public void deleteParts()
throws MultiException
MultiException
public Collection<Part> getParts()
throws IOException,
ServletException
IOException
ServletException
public Part getPart(String name)
throws IOException,
ServletException
name -
IOException
ServletException
protected void parse()
throws IOException,
ServletException
IOException
ServletExceptionpublic void setDeleteOnExit(boolean deleteOnExit)
public boolean isDeleteOnExit()
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||