Route

zio.http.Route
See theRoute companion trait
object Route

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Route.type

Members list

Type members

Classlikes

sealed abstract class Builder[-Env, A]

A combination of a route pattern and aspect, used for building routes that depend on aspect context (such as authentication).

A combination of a route pattern and aspect, used for building routes that depend on aspect context (such as authentication).

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Self type
Builder[Env, A]
object Builder

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Builder.type
final class HandledConstructor[-Env, Params](val rpm: Builder[Env, Params]) extends AnyVal

Attributes

Supertypes
class AnyVal
trait Matchable
class Any
final class UnhandledConstructor[-Env, Params](val rpm: Builder[Env, Params]) extends AnyVal

Attributes

Supertypes
class AnyVal
trait Matchable
class Any

Inherited types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def handled[Env](routePattern: RoutePattern[_])(handler: Handler[Env, Response, Request, Response])(implicit trace: Trace): Route[Env, Nothing]
def handled[Params, Env](rpm: Builder[Env, Params]): HandledConstructor[Env, Params]
def route[Params](routePattern: RoutePattern[Params]): UnhandledConstructor[Any, Params]
def route[Params, Env](rpm: Builder[Env, Params]): UnhandledConstructor[Env, Params]

Concrete fields

val notFound: Route[Any, Nothing]