Class 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 Detail

      • CommonsRequestContext

        public CommonsRequestContext​(RequestAdapter requestAdapter)
    • Method Detail

      • 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

        @Deprecated
        public int getContentLength()
        Deprecated.
        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