org.apache.axis2.builder
Class RequestContextImpl
java.lang.Object
org.apache.axis2.builder.RequestContextImpl
- All Implemented Interfaces:
- org.apache.commons.fileupload.RequestContext
public class RequestContextImpl
- extends java.lang.Object
- implements org.apache.commons.fileupload.RequestContext
This class is an implementation of RequestContext to generate a request
without the use of a Servlet. An example use of this class is to use the
apache commons-fileupload multipart/form-data parsing capabilities without
the need of a Servlet request object.
|
Constructor Summary |
RequestContextImpl(java.io.InputStream inputStream,
java.lang.String contentType,
java.lang.String characterEncoding,
int contentLength)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestContextImpl
public RequestContextImpl(java.io.InputStream inputStream,
java.lang.String contentType,
java.lang.String characterEncoding,
int contentLength)
getCharacterEncoding
public java.lang.String getCharacterEncoding()
- Specified by:
getCharacterEncoding in interface org.apache.commons.fileupload.RequestContext
getContentType
public java.lang.String getContentType()
- Specified by:
getContentType in interface org.apache.commons.fileupload.RequestContext
getContentLength
public int getContentLength()
- Specified by:
getContentLength in interface org.apache.commons.fileupload.RequestContext
getInputStream
public java.io.InputStream getInputStream()
throws java.io.IOException
- Specified by:
getInputStream in interface org.apache.commons.fileupload.RequestContext
- Throws:
java.io.IOException
Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.