package server
- Alphabetic
- Public
- All
Type Members
- sealed trait ApplyRequestFilterRule extends AnyRef
- sealed trait ApplyResponseMapperRule extends AnyRef
-
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
-
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).
-
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
-
abstract
class
HttpServerConfig[Z[_]] extends AnyRef
HttpServerConfig
-
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.
-
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)
-
abstract
class
ResponseMapper[Z[_]] extends AnyRef
ResponseMapper
-
abstract
class
Service[Z[_]] extends AnyRef
Service
-
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).
Value Members
- object ApplyRequestFilterRule
- object ApplyResponseMapperRule