Package

zenith

server

Permalink

package server

Visibility
  1. Public
  2. All

Type Members

  1. final class DocumentationService[Z[_]] extends HttpService[Z]

    Permalink

    *******************************************************************************************************************

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

    Permalink

    *******************************************************************************************************************

  3. final case class HttpContent(format: ContentType, data: String) extends Product with Serializable

    Permalink
  4. final case class HttpServer[Z[_]](config: HttpServerConfig[Z])(implicit evidence$8: Context[Z], async: Async[Z], logger: Logger[Z]) extends Product with Serializable

    Permalink

    HttpServer

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

    Permalink
  6. abstract class HttpServerProvider[Z[_]] extends AnyRef

    Permalink

    HttpServerProvider

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

    Permalink

    A Http Service can be thought of as a pipeline.

  8. final case class HttpServiceEndpoint[Z[_]](parent: HttpService[Z], fn: Method)(implicit evidence$5: Context[Z], logger: Logger[Z]) extends Product with Serializable

    Permalink

    HttpServiceEndpoint

  9. final case class HttpServiceGroup[Z[_]](services: List[HttpService[Z]], requestFilters: List[RequestFilter[Z]] = Nil, responseMappers: List[ResponseMapper[Z]] = Nil)(implicit evidence$2: Context[Z]) extends Product with Serializable

    Permalink
  10. abstract class RequestFilter[Z[_]] extends AnyRef

    Permalink

    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)

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

    Permalink

    ResponseMapper

  12. final case class ServerDocumentation(id: String, services: List[ServiceDocumentation]) extends Product with Serializable

    Permalink
  13. final case class ServiceDocumentation(id: String, description: Option[String], endpoints: List[EndpointDocumentation]) extends Product with Serializable

    Permalink

Ungrouped