trait HttpBackend[Req, Resp, F[_]] extends AnyRef
A base interface to implement http-server specific implementation
- Self Type
- HttpBackend[Req, Resp, F]
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- HttpBackend
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- type Context = HttpContext[Req, Resp, F]
- type Filter = HttpFilter[Req, Resp, F]
Abstract Value Members
- abstract def getThreadLocal[A](key: String): Option[A]
-
implicit abstract
val
httpRequestAdapter: HttpRequestAdapter[Req]
- Attributes
- protected
- abstract def isFutureType(x: Class[_]): Boolean
- abstract def isRawResponseType(x: Class[_]): Boolean
- abstract def mapF[A, B](f: F[A], body: (A) ⇒ B): F[B]
- abstract def name: String
- abstract def newResponse(status: HttpStatus, content: String = ""): Resp
- abstract def setThreadLocal[A](key: String, value: A): Unit
- abstract def toFuture[A](a: Future[A], e: ExecutionContext): F[A]
- abstract def toFuture[A](a: A): F[A]
- abstract def toScalaFuture[A](a: F[A]): Future[A]
- abstract def withThreadLocalStore(request: ⇒ F[Resp]): F[Resp]
- abstract def wrapException(e: Throwable): F[Resp]
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- def defaultFilter: Filter
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def filterAdapter[M[_]](filter: HttpFilter[_, _, M]): Filter
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isScalaFutureType(x: Class[_]): Boolean
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newContext(body: (Req) ⇒ F[Resp]): Context
- def newFilter(body: (Req, HttpContext[Req, Resp, F]) ⇒ F[Resp]): Filter
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def rescue(body: ⇒ F[Resp]): F[Resp]
- def rxFilterAdapter(filter: RxHttpFilter): Filter
- def setThreadLocalServerException[A](value: A): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated