Interface RequestContext
- 
- All Known Subinterfaces:
- UploadContext
 - All Known Implementing Classes:
- ServletRequestContext
 
 public interface RequestContextAbstracts 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. - Since:
- 1.1
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetCharacterEncoding()Retrieve the character encoding for the request.java.lang.StringgetContentType()Retrieve the content type of the request.java.io.InputStreamgetInputStream()Retrieve the input stream for the request.
 
- 
- 
- 
Method Detail- 
getCharacterEncodingjava.lang.String getCharacterEncoding() Retrieve the character encoding for the request.- Returns:
- The character encoding for the request.
 
 - 
getContentTypejava.lang.String getContentType() Retrieve the content type of the request.- Returns:
- The content type of the request.
 
 - 
getInputStreamjava.io.InputStream getInputStream() throws java.io.IOExceptionRetrieve the input stream for the request.- Returns:
- The input stream for the request.
- Throws:
- java.io.IOException- if a problem occurs.
 
 
- 
 
-