|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMultipartDecoder
Defines how a multipart HTTP request can be broken into individual elements (including file uploads).
Multipart decoder implementations must be threadsafe.
Method Summary | |
---|---|
void |
cleanup(HttpServletRequest request)
Invoked to release any resources needed by tghe decoder. |
void |
decode(HttpServletRequest request)
Decodes the incoming request, identifying all the parts (values and uploaded files) contained within. |
String |
getString(HttpServletRequest request,
String name)
Returns the single value (or first value) for the parameter with the specified name. |
String[] |
getStrings(HttpServletRequest request,
String name)
Returns an array of values (possibly a single element array). |
IUploadFile |
getUploadFile(HttpServletRequest request,
String name)
Returns the uploaded file with the specified parameter name, or null if no such parameter was in the request. |
Method Detail |
---|
void decode(HttpServletRequest request)
void cleanup(HttpServletRequest request)
String getString(HttpServletRequest request, String name)
String[] getStrings(HttpServletRequest request, String name)
IUploadFile getUploadFile(HttpServletRequest request, String name)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |