Package fi.iki.elonen

Class NanoFileUpload.NanoHttpdContext

java.lang.Object
fi.iki.elonen.NanoFileUpload.NanoHttpdContext
All Implemented Interfaces:
org.apache.commons.fileupload.RequestContext, org.apache.commons.fileupload.UploadContext
Enclosing class:
NanoFileUpload

public static class NanoFileUpload.NanoHttpdContext extends Object implements org.apache.commons.fileupload.UploadContext
  • Field Details

  • Constructor Details

  • Method Details

    • contentLength

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

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