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. trait AsyncTimeoutSupport extends AnyRef

    Permalink
  2. trait Fallthrough[B] extends AnyRef

    Permalink

    Encapsulates the notion of fallthrough orElse for a Service For any given B, if a Fallthrough[B] exists within implicit context then Service#orElse can be used.

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

    Permalink

    An HTTP middleware converts an HttpService to another.

  4. type HttpService = Kleisli[Task, Request, Response]

    Permalink

    A Service that produces a Task to compute a Response from a Request.

    A Service that produces a Task to compute a Response from a Request. An HttpService can be run on any supported http4s server backend, such as Blaze, Jetty, or Tomcat.

  5. trait IdleTimeoutSupport extends AnyRef

    Permalink
  6. trait MetricsSupport extends AnyRef

    Permalink
  7. type Middleware[A, B, C, D] = (Service[A, B]) ⇒ Service[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.

  8. class MockServer extends AnyRef

    Permalink
  9. trait SSLSupport extends AnyRef

    Permalink
  10. trait Server extends AnyRef

    Permalink
  11. trait ServerBuilder extends AnyRef

    Permalink
  12. type Service[A, B] = Kleisli[Task, A, B]

    Permalink

    A Service wraps a function of request type A to a Task that runs to esponse type B.

    A Service wraps a function of request type A to a Task that runs to esponse type B. By wrapping the Service, we can compose them using Kleisli operations.

  13. trait WebSocketSupport extends AnyRef

    Permalink

Value Members

  1. object AsyncTimeoutSupport

    Permalink
  2. object Fallthrough

    Permalink

    Houses the principal Fallthrough typeclass instances.

  3. object HttpService extends Serializable

    Permalink

    There are 4 HttpService constructors:

    There are 4 HttpService constructors:

    • (Request => Task[Response]) => HttpService
    • PartialFunction[Request, Task[Response]] => HttpService
    • (PartialFunction[Request, Task[Response]], HttpService) => HttpService
    • (PartialFunction[Request, Task[Response]], Task[Response]) => HttpService
  4. object IdleTimeoutSupport

    Permalink
  5. object MetricsSupport

    Permalink
  6. object Middleware

    Permalink
  7. object MockServer

    Permalink
  8. object Router

    Permalink
  9. object SSLSupport

    Permalink
  10. object ServerBuilder

    Permalink
  11. object Service extends Serializable

    Permalink
  12. package middleware

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

  14. package syntax

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped