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.RequestContextRequestContext needed by Jakarta Commons Upload.Created: 2019-07-31
- Since:
- 6.3.0
-
-
Constructor Summary
Constructors Constructor Description CommonsRequestContext(com.aspectran.core.adapter.RequestAdapter requestAdapter)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetCharacterEncoding()intgetContentLength()Deprecated.java.lang.StringgetContentType()java.io.InputStreamgetInputStream()
-
-
-
Method Detail
-
getCharacterEncoding
public java.lang.String getCharacterEncoding()
- Specified by:
getCharacterEncodingin interfaceorg.apache.commons.fileupload.RequestContext
-
getContentType
public java.lang.String getContentType()
- Specified by:
getContentTypein interfaceorg.apache.commons.fileupload.RequestContext
-
getContentLength
@Deprecated public int getContentLength()
Deprecated.- Specified by:
getContentLengthin interfaceorg.apache.commons.fileupload.RequestContext
-
getInputStream
public java.io.InputStream getInputStream() throws java.io.IOException- Specified by:
getInputStreamin interfaceorg.apache.commons.fileupload.RequestContext- Throws:
java.io.IOException
-
-