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
IOException
public Part getPart(String name) throws IOException, ServletException
IOException
ServletException
public MultiMap getMap() throws IOException, ServletException
IOException
ServletException
protected void parse() throws IOException
IOException
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.