Class CommonsRequestContext

java.lang.Object
com.aspectran.web.support.multipart.commons.CommonsRequestContext
All Implemented Interfaces:
org.apache.commons.fileupload.RequestContext

public class CommonsRequestContext extends Object implements org.apache.commons.fileupload.RequestContext
RequestContext needed by Jakarta Commons Upload.

Created: 2019-07-31

Since:
6.3.0
  • Constructor Details

    • CommonsRequestContext

      public CommonsRequestContext(RequestAdapter requestAdapter)
  • Method Details

    • getCharacterEncoding

      public String getCharacterEncoding()
      Specified by:
      getCharacterEncoding in interface org.apache.commons.fileupload.RequestContext
    • getContentType

      public String getContentType()
      Specified by:
      getContentType in interface org.apache.commons.fileupload.RequestContext
    • getContentLength

      @Deprecated public int getContentLength()
      Deprecated.
      Specified by:
      getContentLength in interface org.apache.commons.fileupload.RequestContext
    • getInputStream

      public InputStream getInputStream() throws IOException
      Specified by:
      getInputStream in interface org.apache.commons.fileupload.RequestContext
      Throws:
      IOException