Top Description Methods
org.apache.tomcat.util.http.fileupload

public Interface RequestContext

Known Direct Subinterfaces
org.apache.tomcat.util.http.fileupload.UploadContext
Imports
java.io.IOException, .InputStream

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.

Since
1.1

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

The character encoding for the request.
getCharacterEncoding
()

Retrieve the character encoding for the request.

public String

Returns:

The content type of the request.
getContentType
()

Retrieve the content type of the request.

public InputStream

Returns:

The input stream for the request.
getInputStream
()

Retrieve the input stream for the request.

Method Detail

getCharacterEncodingback to summary
public String getCharacterEncoding()

Retrieve the character encoding for the request.

Returns:String

The character encoding for the request.

getContentTypeback to summary
public String getContentType()

Retrieve the content type of the request.

Returns:String

The content type of the request.

getInputStreamback to summary
public InputStream getInputStream() throws IOException

Retrieve the input stream for the request.

Returns:InputStream

The input stream for the request.

Exceptions
IOException:
if a problem occurs.