Packages

p

org.http4s

server

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

    An HTTP middleware that authenticates users.

  2. type ContextMiddleware[F[_], T] = (Kleisli[[β$2$]OptionT[F, β$2$], ContextRequest[F, T], Response[F]]) ⇒ Kleisli[[β$2$]OptionT[F, β$2$], Request[F], Response[F]]

    An HTTP middleware that adds a context.

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

    An HTTP middleware converts an HttpRoutes to another.

  4. final case class KeyStoreBits(keyStore: StoreInfo, keyManagerPassword: String, protocol: String, trustStore: Option[StoreInfo], clientAuth: SSLClientAuthMode) extends SSLConfig with Product with Serializable
  5. type Middleware[F[_], A, B, C, D] = (Kleisli[F, A, B]) ⇒ Kleisli[F, 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. sealed trait SSLClientAuthMode extends Product with Serializable

    Client Auth mode for mTLS

  7. sealed trait SSLConfig extends AnyRef
  8. final case class SSLContextBits(sslContext: SSLContext, clientAuth: SSLClientAuthMode) extends SSLConfig with Product with Serializable
  9. final case class SecureSession(sslSessionId: String, cipherSuite: String, keySize: Int, X509Certificate: List[X509Certificate]) extends Product with Serializable
  10. abstract class Server[F[_]] extends AnyRef
  11. trait ServerBuilder[F[_]] extends BackendBuilder[F, Server[F]]
  12. type ServiceErrorHandler[F[_]] = (Request[F]) ⇒ PartialFunction[Throwable, F[Response[F]]]
  13. type SSLBits = SSLConfig

    Old name for SSLConfig

    Old name for SSLConfig

    Annotations
    @deprecated
    Deprecated

    (Since version 2016-12-31) Use SSLConfig

Value Members

  1. def DefaultServiceErrorHandler[F[_]](implicit F: Monad[F]): (Request[F]) ⇒ PartialFunction[Throwable, F[Response[F]]]
  2. def inDefaultServiceErrorHandler[F[_], G[_]](implicit F: Monad[F], G: Applicative[G]): (Request[G]) ⇒ PartialFunction[Throwable, F[Response[G]]]
  3. object AsyncTimeoutSupport
  4. object AuthMiddleware
  5. object ContextMiddleware
  6. object IdleTimeoutSupport
  7. object Middleware
  8. object Router
  9. object SSLClientAuthMode extends Serializable
  10. object SSLKeyStoreSupport
  11. object SecureSession extends Serializable
  12. object ServerBuilder
  13. object ServerRequestKeys
  14. object defaults

Inherited from AnyRef

Inherited from Any

Ungrouped