public class MultipartParser extends Object
| Constructor and Description |
|---|
MultipartParser(javax.servlet.http.HttpServletRequest request,
ThresholdOutputStreamFactory streamFactory) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType() |
Map<String,String[]> |
getFields() |
String |
getFilename() |
BigInteger |
getSize() |
InputStream |
getStream() |
boolean |
hasContent() |
static boolean |
isMultipartContent(javax.servlet.http.HttpServletRequest request)
Returns if the request is a multi-part request
|
void |
parse() |
public static final String MULTIPART
public MultipartParser(javax.servlet.http.HttpServletRequest request,
ThresholdOutputStreamFactory streamFactory)
throws IOException
IOExceptionpublic void parse()
throws IOException
IOExceptionpublic boolean hasContent()
public String getFilename()
public String getContentType()
public BigInteger getSize()
public InputStream getStream()
public static final boolean isMultipartContent(javax.servlet.http.HttpServletRequest request)
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.