Package

org.http4s

server

Permalink

package server

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. type AuthMiddleware[F[_], T] = (Kleisli[[β$1$]OptionT[F, β$1$], AuthedRequest[F, T], Response[F]]) ⇒ Kleisli[[β$1$]OptionT[F, β$1$], Request[F], Response[F]]

    Permalink

    An HTTP middleware that authenticates users.

  2. type HttpMiddleware[F[_]] = (Kleisli[[β$0$]OptionT[F, β$0$], Request[F], Response[F]]) ⇒ Kleisli[[β$0$]OptionT[F, β$0$], Request[F], Response[F]]

    Permalink

    An HTTP middleware converts an HttpRoutes to another.

  3. final case class KeyStoreBits(keyStore: StoreInfo, keyManagerPassword: String, protocol: String, trustStore: Option[StoreInfo], clientAuth: SSLClientAuthMode) extends SSLConfig with Product with Serializable

    Permalink
  4. type Middleware[F[_], A, B, C, D] = (Kleisli[F, A, B]) ⇒ Kleisli[F, C, D]

    Permalink

    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.

  5. sealed trait SSLClientAuthMode extends Product with Serializable

    Permalink

    Client Auth mode for mTLS

  6. sealed trait SSLConfig extends AnyRef

    Permalink
  7. final case class SSLContextBits(sslContext: SSLContext, clientAuth: SSLClientAuthMode) extends SSLConfig with Product with Serializable

    Permalink
  8. final case class SecureSession(sslSessionId: String, cipherSuite: String, keySize: Int, X509Certificate: List[X509Certificate]) extends Product with Serializable

    Permalink
  9. abstract class Server[F[_]] extends AnyRef

    Permalink
  10. trait ServerBuilder[F[_]] extends BackendBuilder[F, Server[F]]

    Permalink
  11. type ServiceErrorHandler[F[_]] = (Request[F]) ⇒ PartialFunction[Throwable, F[Response[F]]]

    Permalink
  12. type SSLBits = SSLConfig

    Permalink

    Old name for SSLConfig

    Old name for SSLConfig

    Annotations
    @deprecated
    Deprecated

    (Since version 2016-12-31) Use SSLConfig

Value Members

  1. object AsyncTimeoutSupport

    Permalink
  2. object AuthMiddleware

    Permalink
  3. def DefaultServiceErrorHandler[F[_]](implicit F: Monad[F]): ServiceErrorHandler[F]

    Permalink
  4. object IdleTimeoutSupport

    Permalink
  5. object Middleware

    Permalink
  6. object Router

    Permalink
  7. object SSLClientAuthMode extends Serializable

    Permalink
  8. object SSLKeyStoreSupport

    Permalink
  9. object SecureSession extends Serializable

    Permalink
  10. object ServerBuilder

    Permalink
  11. object ServerRequestKeys

    Permalink
  12. object defaults

    Permalink
  13. package middleware

    Permalink
  14. package staticcontent

    Permalink

    Helpers for serving static content from http4s

    Helpers for serving static content from http4s

    Note that these tools are relatively primitive and a dedicated server should be used for serious static content serving.

  15. package syntax

    Permalink
  16. package websocket

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped