Packages

p

zenith

server

package server

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait ApplyRequestFilterRule extends AnyRef
  2. sealed trait ApplyResponseMapperRule extends AnyRef
  3. final case class Endpoint[Z[_]](parent: Service[Z], fn: Method)(implicit evidence$1: Monad[Z], evidence$2: Async[Z], evidence$3: Logger[Z]) extends Product with Serializable

    Endpoint

  4. final case class EndpointAttributes(id: String, description: Option[String], method: HttpMethod, path: String) extends Product with Serializable

    Encapsulates all of the attributes of an endpoint (those pulled in from @properties).

  5. final case class HttpServer[Z[_]](config: HttpServerConfig[Z], plugins: List[HttpServerPlugin[Z]])(implicit evidence$1: Monad[Z], evidence$2: Async[Z], evidence$3: Logger[Z]) extends Product with Serializable

    HttpServer

  6. abstract class HttpServerConfig[Z[_]] extends AnyRef

    HttpServerConfig

  7. abstract class HttpServerPlugin[Z[_]] extends AnyRef

    A plugin is just a bundled collection of services, filters and mappers.

    A plugin is just a bundled collection of services, filters and mappers. The plugin itself does not define how these elements interact with one another in a program, that kind of wiring must be done by defining facilities.

  8. abstract class RequestFilter[Z[_]] extends AnyRef

    A request filter takes a request and does one of the following: - returns a response, signalling the end of processing for this request, stopping it ever reaching a handler.

    A request filter takes a request and does one of the following: - returns a response, signalling the end of processing for this request, stopping it ever reaching a handler. - if everything is fine the filter returns the request, possibly with modifications (like adding additional headers)

  9. abstract class ResponseMapper[Z[_]] extends AnyRef

    ResponseMapper

  10. abstract class Service[Z[_]] extends AnyRef

    Service

  11. final case class ServiceAttributes(id: String, description: Option[String], endpoints: List[EndpointAttributes]) extends Product with Serializable

    Encapsulates all of the attributes of the service (those pulled in from @properties).

Ungrouped