Trait/Object

wvlet.airframe.http

HttpBackend

Related Docs: object HttpBackend | package http

Permalink

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
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]

    Permalink
  2. type Filter = HttpFilter[Req, Resp, F]

    Permalink

Abstract Value Members

  1. abstract def getThreadLocal[A](key: String): Option[A]

    Permalink
  2. implicit abstract val httpRequestAdapter: HttpRequestAdapter[Req]

    Permalink
    Attributes
    protected
  3. abstract def isFutureType(x: Class[_]): Boolean

    Permalink
  4. abstract def isRawResponseType(x: Class[_]): Boolean

    Permalink
  5. abstract def mapF[A, B](f: F[A], body: (A) ⇒ B): F[B]

    Permalink
  6. abstract def newResponse(status: HttpStatus, content: String = ""): Resp

    Permalink
  7. abstract def setThreadLocal[A](key: String, value: A): Unit

    Permalink
  8. abstract def toFuture[A](a: Future[A], e: ExecutionContext): F[A]

    Permalink
  9. abstract def toFuture[A](a: A): F[A]

    Permalink
  10. abstract def toScalaFuture[A](a: F[A]): Future[A]

    Permalink
  11. abstract def withThreadLocalStore(request: ⇒ F[Resp]): F[Resp]

    Permalink
  12. abstract def wrapException(e: Throwable): F[Resp]

    Permalink

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 defaultFilter: Filter

    Permalink
  7. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  10. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  12. def isScalaFutureType(x: Class[_]): Boolean

    Permalink
  13. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def newContext(body: (Req) ⇒ F[Resp]): Context

    Permalink
  15. def newFilter(body: (Req, HttpContext[Req, Resp, F]) ⇒ F[Resp]): Filter

    Permalink
  16. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  18. def rescue(body: ⇒ F[Resp]): F[Resp]

    Permalink
  19. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. 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 AnyRef

Inherited from Any

Ungrouped