Packages

c

io.udash.rpc.utils

FileUploadServlet

abstract class FileUploadServlet extends HttpServlet

Template of a servlet handling files upload. It takes files from the request and passes data to the handleFile method.

Linear Supertypes
HttpServlet, GenericServlet, Serializable, ServletConfig, Servlet, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FileUploadServlet
  2. HttpServlet
  3. GenericServlet
  4. Serializable
  5. ServletConfig
  6. Servlet
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new FileUploadServlet(fileFields: Set[String])

    fileFields

    Names of file inputs in the HTTP request.

Abstract Value Members

  1. abstract def handleFile(name: String, content: InputStream): Unit

    Uploaded file handler.

    Uploaded file handler.

    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. def destroy(): Unit
    Definition Classes
    GenericServlet → Servlet
  7. def doDelete(arg0: HttpServletRequest, arg1: HttpServletResponse): Unit
    Attributes
    protected[http]
    Definition Classes
    HttpServlet
    Annotations
    @throws(classOf[javax.servlet.ServletException]) @throws(classOf[java.io.IOException])
  8. def doGet(arg0: HttpServletRequest, arg1: HttpServletResponse): Unit
    Attributes
    protected[http]
    Definition Classes
    HttpServlet
    Annotations
    @throws(classOf[javax.servlet.ServletException]) @throws(classOf[java.io.IOException])
  9. def doHead(arg0: HttpServletRequest, arg1: HttpServletResponse): Unit
    Attributes
    protected[http]
    Definition Classes
    HttpServlet
    Annotations
    @throws(classOf[javax.servlet.ServletException]) @throws(classOf[java.io.IOException])
  10. def doOptions(arg0: HttpServletRequest, arg1: HttpServletResponse): Unit
    Attributes
    protected[http]
    Definition Classes
    HttpServlet
    Annotations
    @throws(classOf[javax.servlet.ServletException]) @throws(classOf[java.io.IOException])
  11. def doPost(request: HttpServletRequest, response: HttpServletResponse): Unit
    Attributes
    protected
    Definition Classes
    FileUploadServlet → HttpServlet
  12. def doPut(arg0: HttpServletRequest, arg1: HttpServletResponse): Unit
    Attributes
    protected[http]
    Definition Classes
    HttpServlet
    Annotations
    @throws(classOf[javax.servlet.ServletException]) @throws(classOf[java.io.IOException])
  13. def doTrace(arg0: HttpServletRequest, arg1: HttpServletResponse): Unit
    Attributes
    protected[http]
    Definition Classes
    HttpServlet
    Annotations
    @throws(classOf[javax.servlet.ServletException]) @throws(classOf[java.io.IOException])
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. def getInitParameter(arg0: String): String
    Definition Classes
    GenericServlet → ServletConfig
  18. def getInitParameterNames(): Enumeration[String]
    Definition Classes
    GenericServlet → ServletConfig
  19. def getLastModified(arg0: HttpServletRequest): Long
    Attributes
    protected[http]
    Definition Classes
    HttpServlet
  20. def getServletConfig(): ServletConfig
    Definition Classes
    GenericServlet → Servlet
  21. def getServletContext(): ServletContext
    Definition Classes
    GenericServlet → ServletConfig
  22. def getServletInfo(): String
    Definition Classes
    GenericServlet → Servlet
  23. def getServletName(): String
    Definition Classes
    GenericServlet → ServletConfig
  24. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. def init(): Unit
    Definition Classes
    GenericServlet
    Annotations
    @throws(classOf[javax.servlet.ServletException])
  26. def init(arg0: ServletConfig): Unit
    Definition Classes
    GenericServlet → Servlet
    Annotations
    @throws(classOf[javax.servlet.ServletException])
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. def log(arg0: String, arg1: Throwable): Unit
    Definition Classes
    GenericServlet
  29. def log(arg0: String): Unit
    Definition Classes
    GenericServlet
  30. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  33. def service(arg0: ServletRequest, arg1: ServletResponse): Unit
    Definition Classes
    HttpServlet → GenericServlet → Servlet
    Annotations
    @throws(classOf[javax.servlet.ServletException]) @throws(classOf[java.io.IOException])
  34. def service(arg0: HttpServletRequest, arg1: HttpServletResponse): Unit
    Attributes
    protected[http]
    Definition Classes
    HttpServlet
    Annotations
    @throws(classOf[javax.servlet.ServletException]) @throws(classOf[java.io.IOException])
  35. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  36. def toString(): String
    Definition Classes
    AnyRef → Any
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from HttpServlet

Inherited from GenericServlet

Inherited from Serializable

Inherited from ServletConfig

Inherited from Servlet

Inherited from AnyRef

Inherited from Any

Ungrouped