Class CommonsRequestContext
- java.lang.Object
-
- com.aspectran.web.support.multipart.commons.CommonsRequestContext
-
- All Implemented Interfaces:
org.apache.commons.fileupload.RequestContext
public class CommonsRequestContext extends java.lang.Object implements org.apache.commons.fileupload.RequestContext
RequestContext needed by Jakarta Commons Upload.Created: 2019-07-31
- Since:
- 6.3.0
-
-
Constructor Summary
Constructors Constructor Description CommonsRequestContext(RequestAdapter requestAdapter)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.String
getCharacterEncoding()
int
getContentLength()
Deprecated.java.lang.String
getContentType()
java.io.InputStream
getInputStream()
-
-
-
Constructor Detail
-
CommonsRequestContext
public CommonsRequestContext(RequestAdapter requestAdapter)
-
-
Method Detail
-
getCharacterEncoding
public java.lang.String getCharacterEncoding()
- Specified by:
getCharacterEncoding
in interfaceorg.apache.commons.fileupload.RequestContext
-
getContentType
public java.lang.String getContentType()
- Specified by:
getContentType
in interfaceorg.apache.commons.fileupload.RequestContext
-
getContentLength
@Deprecated public int getContentLength()
Deprecated.- Specified by:
getContentLength
in interfaceorg.apache.commons.fileupload.RequestContext
-
getInputStream
public java.io.InputStream getInputStream() throws java.io.IOException
- Specified by:
getInputStream
in interfaceorg.apache.commons.fileupload.RequestContext
- Throws:
java.io.IOException
-
-