Http4sRoutingModule

class Http4sRoutingModule(randomService: RandomService, client: Client[Task], serverMetricsModule: MicrometerHttp4sServerMetricsModule[Task]) extends Http4sDsl[Task]
trait Statuses
trait Auth
trait Methods
class Object
trait Matchable
class Any

Value members

Concrete fields

Inherited fields

val +&: +&.type
Inherited from:
Http4sDsl2
val ->: ->.type
Inherited from:
Http4sDsl2
val /: /.type
Inherited from:
Http4sDsl2
val /:: /:.type
Inherited from:
Http4sDsl2
val :?: :?.type
Inherited from:
Http4sDsl2
Inherited from:
Statuses
Inherited from:
Statuses
Inherited from:
Statuses
Inherited from:
Statuses
Inherited from:
Methods
Inherited from:
Statuses
Inherited from:
Statuses
Inherited from:
Statuses
Inherited from:
Methods
Inherited from:
Statuses
Inherited from:
Statuses
Inherited from:
Statuses
Inherited from:
Statuses
val GET: Method
Inherited from:
Methods
Inherited from:
Statuses
Inherited from:
Statuses
Inherited from:
Methods
Inherited from:
Statuses
val IntVar: IntVar.type
Inherited from:
Http4sDsl2
Inherited from:
Statuses
Inherited from:
Statuses
val LongVar: LongVar.type
Inherited from:
Http4sDsl2
Inherited from:
Statuses
Inherited from:
Statuses
Inherited from:
Statuses
Inherited from:
Statuses
Inherited from:
Statuses
Inherited from:
Statuses
Inherited from:
Statuses
Inherited from:
Statuses
Inherited from:
Statuses
Inherited from:
Statuses
Inherited from:
Statuses
Inherited from:
Methods
val Ok: Status
Inherited from:
Statuses
Inherited from:
Methods
Inherited from:
Methods
val PUT: Method
Inherited from:
Methods
Inherited from:
Statuses
val Path: Path.type
Inherited from:
Http4sDsl2
Inherited from:
Statuses
Inherited from:
Statuses
Inherited from:
Statuses
Inherited from:
Statuses
Inherited from:
Statuses
Inherited from:
Statuses
val Root: Path
Inherited from:
Http4sDsl2
Inherited from:
Statuses
Inherited from:
Methods
Inherited from:
Statuses
Inherited from:
Statuses
val UUIDVar: UUIDVar.type
Inherited from:
Http4sDsl2
Inherited from:
Statuses
Inherited from:
Statuses
Inherited from:
Statuses
Inherited from:
Statuses
Inherited from:
Http4sDsl
val ~: ~.type
Inherited from:
Http4sDsl2
val →: ->.type

Alias for ->.

Alias for ->.

Note: Due to infix operation precedence, → has a lower priority than /. So you have to use parentheses in pattern matching when using this operator.

For example:

 (request.method, Path(request.path)) match {
   case Method.GET → (Root / "test.json") => ...
Inherited from:
Http4sDsl2

Implicits

Inherited implicits

Inherited from:
Responses
Inherited from:
Responses
Inherited from:
Responses
Inherited from:
Responses
Inherited from:
Responses
implicit def http4sCreatedSyntax(status: Status): CreatedOps[Task, Task]
Inherited from:
Responses
Inherited from:
Responses
Inherited from:
Responses
implicit def http4sFoundSyntax(status: Status): FoundOps[Task, Task]
Inherited from:
Responses
Inherited from:
Responses
implicit def http4sGoneSyntax(status: Status): GoneOps[Task, Task]
Inherited from:
Responses
implicit def http4sIMUsedSyntax(status: Status): IMUsedOps[Task, Task]
Inherited from:
Responses
Inherited from:
Responses
implicit def http4sLockedSyntax(status: Status): LockedOps[Task, Task]
Inherited from:
Responses
Inherited from:
Responses
Inherited from:
RequestDsl
implicit def http4sMethodSyntax(method: Method): MethodOps
Inherited from:
RequestDsl
Inherited from:
Responses
Inherited from:
Responses
Inherited from:
Responses
Inherited from:
Responses
Inherited from:
Responses
Inherited from:
Responses
Inherited from:
Responses
implicit def http4sOkSyntax(status: Status): OkOps[Task, Task]
Inherited from:
Responses
Inherited from:
Responses
Inherited from:
Responses
Inherited from:
Responses
Inherited from:
Responses
Inherited from:
Responses
Inherited from:
Responses
Inherited from:
Responses