Packages

package server

Server interpreters backed by Akka HTTP

Source
package.scala
Linear Supertypes
Content Hierarchy

Type Members

  1. trait BasicAuthentication extends algebra.BasicAuthentication with EndpointsWithCustomErrors

  2. trait BuiltInErrors extends algebra.BuiltInErrors

  3. trait ChunkedEntities extends algebra.ChunkedEntities with EndpointsWithCustomErrors

    Interpreter for the algebra.ChunkedEntities algebra in the endpoints.akkahttp.server family.

  4. trait ChunkedJsonEntities extends algebra.ChunkedJsonEntities with ChunkedEntities with JsonEntitiesFromCodecs

    Interpreter for the algebra.ChunkedJsonEntities algebra in the endpoints.akkahttp.server family.

  5. trait Endpoints extends algebra.Endpoints with EndpointsWithCustomErrors with BuiltInErrors

    Interpreter for algebra.Endpoints that performs routing using Akka-HTTP and uses algebra.BuiltInErrors to model client and server errors.

  6. trait EndpointsWithCustomErrors extends algebra.EndpointsWithCustomErrors with Urls with Methods with StatusCodes

    Interpreter for algebra.Endpoints that performs routing using Akka-HTTP.

  7. trait JsonEntities extends algebra.JsonEntities with EndpointsWithCustomErrors

    Interpreter for algebra.JsonEntities

    Interpreter for algebra.JsonEntities

    To use it mix in support for your favourite Json library You can use one of hseeberger/akka-http-json modules

  8. trait JsonEntitiesFromCodecs extends algebra.JsonEntitiesFromCodecs with EndpointsWithCustomErrors

    Interpreter for algebra.JsonEntitiesFromCodecs that decodes JSON requests and encodes JSON responses using Akka HTTP.

  9. trait JsonEntitiesFromEncodersAndDecoders extends algebra.JsonEntities with EndpointsWithCustomErrors

    Interpreter for endpoints.algebra.JsonEntities that decodes JSON entities with a endpoints.algebra.Decoder and encodes JSON entities with an endpoints.algebra.Encoder.

    Interpreter for endpoints.algebra.JsonEntities that decodes JSON entities with a endpoints.algebra.Decoder and encodes JSON entities with an endpoints.algebra.Encoder.

    The difference with JsonEntitiesFromCodecs is that you don’t need bidirectional codecs: you only need an encoder to build responses, or a decoder to decode requests.

    It is especially useful to encode OpenApi documents into JSON entities.

  10. trait JsonEntitiesFromSchemas extends algebra.JsonEntitiesFromSchemas with JsonEntitiesFromCodecs with JsonSchemas

    Interpreter for algebra.JsonEntitiesFromSchemas that decodes JSON requests and encodes JSON responses using Akka HTTP.

  11. trait Methods extends algebra.Methods

    algebra.Methods interpreter that decodes and encodes methods.

  12. trait MuxEndpoints extends algebra.MuxEndpoints with EndpointsWithCustomErrors

    Extends the Endpoints interpreter with algebra.MuxEndpoints support.

  13. trait MuxHandler[Req <: MuxRequest, Resp] extends AnyRef

    A function whose return type depends on the type of the given req.

    A function whose return type depends on the type of the given req.

    Req

    Request base type

    Resp

    Response base type

  14. trait MuxHandlerAsync[Req <: MuxRequest, Resp] extends AnyRef

    A function whose return type depends on the type of the given req.

    A function whose return type depends on the type of the given req.

    Req

    Request base type

    Resp

    Response base type

  15. trait StatusCodes extends algebra.StatusCodes

    algebra.StatusCodes interpreter that decodes and encodes methods.

  16. trait Urls extends algebra.Urls with StatusCodes

    algebra.Urls interpreter that decodes and encodes URLs.

Inherited from AnyRef

Inherited from Any

Interpreters

Ungrouped