|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RequestContext
Abstracts access to the request information needed for file uploads. This interface should be implemented for each type of request that may be handled by FileUpload, such as servlets and portlets.
Method Summary | |
---|---|
java.lang.String |
getCharacterEncoding()
Retrieve the character encoding for the request. |
int |
getContentLength()
Deprecated. 1.3 Use UploadContext.contentLength() instead |
java.lang.String |
getContentType()
Retrieve the content type of the request. |
java.io.InputStream |
getInputStream()
Retrieve the input stream for the request. |
Method Detail |
---|
java.lang.String getCharacterEncoding()
java.lang.String getContentType()
@Deprecated int getContentLength()
UploadContext.contentLength()
instead
java.io.InputStream getInputStream() throws java.io.IOException
java.io.IOException
- if a problem occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |