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

  5. sealed trait SSLClientAuthMode extends Product with Serializable

    Client Auth mode for mTLS

  6. final case class SecureSession(sslSessionId: String, cipherSuite: String, keySize: Int, X509Certificate: List[X509Certificate]) extends Product with Serializable
  7. abstract class Server extends AnyRef
  8. trait ServerBuilder[F[_]] extends BackendBuilder[F, Server]
  9. type ServiceErrorHandler[F[_]] = (Request[F]) ⇒ PartialFunction[Throwable, F[Response[F]]]
  10. final case class KeyStoreBits(keyStore: StoreInfo, keyManagerPassword: String, protocol: String, trustStore: Option[StoreInfo], clientAuth: SSLClientAuthMode) extends SSLConfig with Product with Serializable
    Annotations
    @deprecated
    Deprecated

    (Since version 0.21.0-RC3) No longer used

  11. type SSLBits = SSLConfig

    Old name for SSLConfig

    Old name for SSLConfig

    Annotations
    @deprecated
    Deprecated

    (Since version 2016-12-31) Use SSLConfig

  12. sealed trait SSLConfig extends AnyRef
    Annotations
    @deprecated
    Deprecated

    (Since version 0.21.0-RC3) No longer used

  13. final case class SSLContextBits(sslContext: SSLContext, clientAuth: SSLClientAuthMode) extends SSLConfig with Product with Serializable
    Annotations
    @deprecated
    Deprecated

    (Since version 0.21.0-RC3) No longer used

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]): (Request[G]) ⇒ PartialFunction[Throwable, F[Response[G]]]
  3. object AsyncTimeoutSupport
  4. object AuthMiddleware
  5. object ContextMiddleware
  6. object ContextRouter
  7. object IdleTimeoutSupport
  8. object Middleware
  9. object Router
  10. object SSLClientAuthMode extends Serializable
  11. object SSLKeyStoreSupport
  12. object SecureSession extends Serializable
  13. object ServerBuilder
  14. object ServerRequestKeys
  15. object defaults

Inherited from AnyRef

Inherited from Any

Ungrouped