Packages

p

org.http4s

server

package server

Source
package.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. server
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait AsyncTimeoutSupport extends AnyRef
  2. type AuthMiddleware[T] = (Service[AuthedRequest[T], Response]) ⇒ Service[Request, Response]

    An HTTP middleware that authenticates users.

  3. type HttpMiddleware = (Service[Request, Response]) ⇒ Service[Request, Response]

    An HTTP middleware converts an HttpService to another.

  4. trait IdleTimeoutSupport extends AnyRef
  5. type Middleware[A, B, C, D] = (Service[A, B]) ⇒ Service[C, D]

    A middleware is a function of one Service to another, possibly of a different Request and Response type.

    A middleware is a function of one Service to another, possibly of a different Request and Response type. http4s comes with several middlewares for composing common functionality into services.

  6. trait SSLSupport extends AnyRef
  7. trait Server extends AnyRef
  8. trait ServerApp extends AnyRef

    Starts a server and gracefully terminates at shutdown.

    Starts a server and gracefully terminates at shutdown. The server is terminated and the shutdown task is run either by a JVM shutdown hook or an invocation of requestShutdown().

    If the server fails to start, the shutdown task is not invoked. More robust resource management is possible through ProcessApp or StreamApp, which are introduced in http4s-0.16 and http4s-0.17, respectively.

  9. trait ServerBuilder extends AnyRef
  10. final case class ServerSoftware (product: String, productVersion: Option[String] = None, comment: Option[String] = None) extends Product with Serializable
  11. trait WebSocketSupport extends AnyRef

Value Members

  1. def messageFailureHandler(req: Request): PartialFunction[Throwable, Task[Response]]
  2. object AsyncTimeoutSupport
  3. object AuthMiddleware
  4. object IdleTimeoutSupport
  5. object Middleware
  6. object Router
  7. object SSLSupport
  8. object ServerBuilder
  9. object ServerSoftware extends Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped