Package fi.iki.elonen

Class NanoFileUpload.NanoHttpdContext

  • All Implemented Interfaces:
    org.apache.commons.fileupload.RequestContext, org.apache.commons.fileupload.UploadContext
    Enclosing class:
    NanoFileUpload

    public static class NanoFileUpload.NanoHttpdContext
    extends java.lang.Object
    implements org.apache.commons.fileupload.UploadContext
    • Method Detail

      • contentLength

        public long contentLength()
        Specified by:
        contentLength in interface org.apache.commons.fileupload.UploadContext
      • 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