public class MultiPartInputStream extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
MultiPartInputStream.MultiPart |
| Modifier and Type | Field and Description |
|---|---|
static MultipartConfiguration |
__DEFAULT_MULTIPART_CONFIG |
protected MultipartConfiguration |
_config |
protected String |
_contentType |
protected InputStream |
_in |
protected MultiMap |
_map |
protected Map<String,Part> |
_parts |
protected File |
_tmpDir |
static int |
CR |
static int |
LF |
| Constructor and Description |
|---|
MultiPartInputStream(InputStream in,
String contentType,
MultipartConfiguration config) |
public static final MultipartConfiguration __DEFAULT_MULTIPART_CONFIG
protected InputStream _in
protected MultipartConfiguration _config
protected String _contentType
protected MultiMap _map
protected File _tmpDir
public static int CR
public static int LF
public MultiPartInputStream(InputStream in, String contentType, MultipartConfiguration config)
in - Request input streamcontentType - Content-Type headerconfig - MultipartConfigurationpublic Collection<Part> getParts() throws IOException
IOExceptionpublic Part getPart(String name) throws IOException, javax.servlet.ServletException
IOExceptionjavax.servlet.ServletExceptionpublic MultiMap getMap() throws IOException, javax.servlet.ServletException
IOExceptionjavax.servlet.ServletExceptionprotected void parse()
throws IOException
IOExceptionCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.