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.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCharacterEncoding()
Retrieve the character encoding for the request.
|
java.lang.String |
getContentType()
Retrieve the content type of the request.
|
java.io.InputStream |
getInputStream()
Retrieve the input stream for the request.
|
java.lang.String getCharacterEncoding()
java.lang.String getContentType()
java.io.InputStream getInputStream() throws java.io.IOException
java.io.IOException
- if a problem occurs.Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.