Packages

c

io.udash.rest.server

RestServlet

abstract class RestServlet extends HttpServlet

Servlet for exposing REST interfaces.

Linear Supertypes
HttpServlet, GenericServlet, Serializable, ServletConfig, Servlet, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RestServlet
  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 RestServlet()(implicit ec: ExecutionContext)

Abstract Value Members

  1. abstract def createEndpoint(req: HttpServletRequest): ExposesREST[_]

    Creates endpoints for the request.

    Creates endpoints for the request. It can handle authentication. Default auth exception: ExposesREST.Unauthorized

    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[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. def destroy(): Unit
    Definition Classes
    GenericServlet → Servlet
  7. def doDelete(req: HttpServletRequest, resp: HttpServletResponse): Unit
    Definition Classes
    RestServlet → HttpServlet
  8. def doGet(req: HttpServletRequest, resp: HttpServletResponse): Unit
    Definition Classes
    RestServlet → HttpServlet
  9. def doHead(arg0: HttpServletRequest, arg1: HttpServletResponse): Unit
    Attributes
    protected[javax.servlet.http]
    Definition Classes
    HttpServlet
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )
  10. def doOptions(arg0: HttpServletRequest, arg1: HttpServletResponse): Unit
    Attributes
    protected[javax.servlet.http]
    Definition Classes
    HttpServlet
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )
  11. def doPatch(req: HttpServletRequest, resp: HttpServletResponse): Unit
  12. def doPost(req: HttpServletRequest, resp: HttpServletResponse): Unit
    Definition Classes
    RestServlet → HttpServlet
  13. def doPut(req: HttpServletRequest, resp: HttpServletResponse): Unit
    Definition Classes
    RestServlet → HttpServlet
  14. def doTrace(arg0: HttpServletRequest, arg1: HttpServletResponse): Unit
    Attributes
    protected[javax.servlet.http]
    Definition Classes
    HttpServlet
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def getInitParameter(arg0: String): String
    Definition Classes
    GenericServlet → ServletConfig
  20. def getInitParameterNames(): Enumeration[String]
    Definition Classes
    GenericServlet → ServletConfig
  21. def getLastModified(arg0: HttpServletRequest): Long
    Attributes
    protected[javax.servlet.http]
    Definition Classes
    HttpServlet
  22. def getServletConfig(): ServletConfig
    Definition Classes
    GenericServlet → Servlet
  23. def getServletContext(): ServletContext
    Definition Classes
    GenericServlet → ServletConfig
  24. def getServletInfo(): String
    Definition Classes
    GenericServlet → Servlet
  25. def getServletName(): String
    Definition Classes
    GenericServlet → ServletConfig
  26. def handleServerException(req: HttpServletRequest, resp: HttpServletResponse)(ex: Throwable): Unit

    Handles exceptions thrown by the endpoints implementation.

    Handles exceptions thrown by the endpoints implementation.

    Attributes
    protected
  27. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  28. def init(): Unit
    Definition Classes
    GenericServlet
    Annotations
    @throws( ... )
  29. def init(arg0: ServletConfig): Unit
    Definition Classes
    GenericServlet → Servlet
    Annotations
    @throws( ... )
  30. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  31. def log(arg0: String, arg1: Throwable): Unit
    Definition Classes
    GenericServlet
  32. def log(arg0: String): Unit
    Definition Classes
    GenericServlet
  33. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  34. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  35. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. def service(req: HttpServletRequest, resp: HttpServletResponse): Unit
    Definition Classes
    RestServlet → HttpServlet
  37. def service(arg0: ServletRequest, arg1: ServletResponse): Unit
    Definition Classes
    HttpServlet → GenericServlet → Servlet
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )
  38. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  39. def toString(): String
    Definition Classes
    AnyRef → Any
  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from HttpServlet

Inherited from GenericServlet

Inherited from Serializable

Inherited from ServletConfig

Inherited from Servlet

Inherited from AnyRef

Inherited from Any

Ungrouped