Packages

p

org.http4s

server

package server

Source
package.scala
Linear Supertypes
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], MaybeResponse]) ⇒ Service[Request, MaybeResponse]

    An HTTP middleware that authenticates users.

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

    An HTTP middleware converts an HttpService to another.

  4. trait IdleTimeoutSupport extends AnyRef
  5. final case class KeyStoreBits(keyStore: StoreInfo, keyManagerPassword: String, protocol: String, trustStore: Option[StoreInfo], clientAuth: Boolean) extends SSLConfig with Product with Serializable
  6. 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.

  7. sealed trait SSLConfig extends AnyRef
  8. final case class SSLContextBits(sslContext: SSLContext, clientAuth: Boolean) extends SSLConfig with Product with Serializable
  9. trait SSLContextSupport extends AnyRef
  10. trait SSLKeyStoreSupport extends AnyRef
  11. trait Server extends AnyRef
  12. trait ServerBuilder extends AnyRef
  13. final case class ServerSoftware(product: String, productVersion: Option[String] = None, comment: Option[String] = None) extends Product with Serializable
  14. type ServiceErrorHandler = (Request) ⇒ PartialFunction[Throwable, Task[Response]]
  15. trait WebSocketSupport extends AnyRef
  16. type SSLBits = SSLConfig

    Old name for SSLConfig

    Old name for SSLConfig

    Annotations
    @deprecated
    Deprecated

    (Since version 2016-12-31) Use SSLConfig

  17. trait ServerApp extends StreamApp

    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().

    More robust resource management is possible through ProcessApp or StreamApp, which are introduced in http4s-0.16 and http4s-0.17, respectively.

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16) Prefer org.http4s.util.StreamApp, where main returns a Stream. You can return a Stream that runs forever from a ServerBuilder with .serve. Use Stream.bracket to compose resources in a simpler way than overriding shutdown.

Inherited from AnyRef

Inherited from Any

Ungrouped