trait HttpBackend[Req, Resp, F[_]] extends AnyRef

A base interface to implement http-server specific implementation

Self Type
HttpBackend[Req, Resp, F]
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HttpBackend
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Context = HttpContext[Req, Resp, F]
  2. type Filter = HttpFilter[Req, Resp, F]

Abstract Value Members

  1. abstract def getThreadLocal[A](key: String): Option[A]
  2. implicit abstract val httpRequestAdapter: HttpRequestAdapter[Req]
    Attributes
    protected
  3. abstract def isFutureType(x: Class[_]): Boolean
  4. abstract def isRawResponseType(x: Class[_]): Boolean
  5. abstract def mapF[A, B](f: F[A], body: (A) ⇒ B): F[B]
  6. abstract def name: String
  7. abstract def newResponse(status: HttpStatus, content: String = ""): Resp
  8. abstract def setThreadLocal[A](key: String, value: A): Unit
  9. abstract def toFuture[A](a: Future[A], e: ExecutionContext): F[A]
  10. abstract def toFuture[A](a: A): F[A]
  11. abstract def toScalaFuture[A](a: F[A]): Future[A]
  12. abstract def withThreadLocalStore(request: ⇒ F[Resp]): F[Resp]
  13. abstract def wrapException(e: Throwable): F[Resp]

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( ... ) @native() @HotSpotIntrinsicCandidate()
  6. def defaultFilter: Filter
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def filterAdapter[M[_]](filter: HttpFilter[_, _, M]): Filter
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def isScalaFutureType(x: Class[_]): Boolean
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def newContext(body: (Req) ⇒ F[Resp]): Context
  16. def newFilter(body: (Req, HttpContext[Req, Resp, F]) ⇒ F[Resp]): Filter
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. def rescue(body: ⇒ F[Resp]): F[Resp]
  20. def rxFilterAdapter(filter: RxHttpFilter): Filter
  21. def setThreadLocalServerException[A](value: A): Unit
  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

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

Inherited from AnyRef

Inherited from Any

Ungrouped