Class

io.udash.rpc.utils

FileDownloadServlet

Related Doc: package utils

Permalink

abstract class FileDownloadServlet extends HttpServlet

Template of a servlet handling files download.

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

Instance Constructors

  1. new FileDownloadServlet()

    Permalink

Abstract Value Members

  1. abstract def resolveFile(request: HttpServletRequest): File

    Permalink

    Resolves a file basing on the request parameters.

    Resolves a file basing on the request parameters.

    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  6. def destroy(): Unit

    Permalink
    Definition Classes
    GenericServlet → Servlet
  7. def doDelete(arg0: HttpServletRequest, arg1: HttpServletResponse): Unit

    Permalink
    Attributes
    protected[javax.servlet.http]
    Definition Classes
    HttpServlet
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )
  8. def doGet(request: HttpServletRequest, response: HttpServletResponse): Unit

    Permalink
    Definition Classes
    FileDownloadServlet → HttpServlet
  9. def doHead(arg0: HttpServletRequest, arg1: HttpServletResponse): Unit

    Permalink
    Attributes
    protected[javax.servlet.http]
    Definition Classes
    HttpServlet
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )
  10. def doOptions(arg0: HttpServletRequest, arg1: HttpServletResponse): Unit

    Permalink
    Attributes
    protected[javax.servlet.http]
    Definition Classes
    HttpServlet
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )
  11. def doPost(arg0: HttpServletRequest, arg1: HttpServletResponse): Unit

    Permalink
    Attributes
    protected[javax.servlet.http]
    Definition Classes
    HttpServlet
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )
  12. def doPut(arg0: HttpServletRequest, arg1: HttpServletResponse): Unit

    Permalink
    Attributes
    protected[javax.servlet.http]
    Definition Classes
    HttpServlet
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )
  13. def doTrace(arg0: HttpServletRequest, arg1: HttpServletResponse): Unit

    Permalink
    Attributes
    protected[javax.servlet.http]
    Definition Classes
    HttpServlet
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )
  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  17. def getInitParameter(arg0: String): String

    Permalink
    Definition Classes
    GenericServlet → ServletConfig
  18. def getInitParameterNames(): Enumeration[String]

    Permalink
    Definition Classes
    GenericServlet → ServletConfig
  19. def getLastModified(arg0: HttpServletRequest): Long

    Permalink
    Attributes
    protected[javax.servlet.http]
    Definition Classes
    HttpServlet
  20. def getServletConfig(): ServletConfig

    Permalink
    Definition Classes
    GenericServlet → Servlet
  21. def getServletContext(): ServletContext

    Permalink
    Definition Classes
    GenericServlet → ServletConfig
  22. def getServletInfo(): String

    Permalink
    Definition Classes
    GenericServlet → Servlet
  23. def getServletName(): String

    Permalink
    Definition Classes
    GenericServlet → ServletConfig
  24. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  25. def init(): Unit

    Permalink
    Definition Classes
    GenericServlet
    Annotations
    @throws( ... )
  26. def init(arg0: ServletConfig): Unit

    Permalink
    Definition Classes
    GenericServlet → Servlet
    Annotations
    @throws( ... )
  27. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  28. def log(arg0: String, arg1: Throwable): Unit

    Permalink
    Definition Classes
    GenericServlet
  29. def log(arg0: String): Unit

    Permalink
    Definition Classes
    GenericServlet
  30. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  31. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  32. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  33. def presentedFileName(name: String): String

    Permalink

    Returned value will be send to the client as a file name.

    Returned value will be send to the client as a file name. By default returns the original file name.

    Attributes
    protected
  34. def resolveFileMimeType(file: File): String

    Permalink

    Returns MIME type of the file as string.

    Returns MIME type of the file as string.

    Attributes
    protected
  35. def service(arg0: ServletRequest, arg1: ServletResponse): Unit

    Permalink
    Definition Classes
    HttpServlet → GenericServlet → Servlet
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )
  36. def service(arg0: HttpServletRequest, arg1: HttpServletResponse): Unit

    Permalink
    Attributes
    protected[javax.servlet.http]
    Definition Classes
    HttpServlet
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )
  37. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  38. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  39. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from HttpServlet

Inherited from GenericServlet

Inherited from Serializable

Inherited from ServletConfig

Inherited from Servlet

Inherited from AnyRef

Inherited from Any

Ungrouped