ContextRouter
org.http4s.server.ContextRouter
object ContextRouter
Attributes
- Source
- ContextRouter.scala
- Graph
-
- Supertypes
- Self type
-
ContextRouter.type
Members list
Type members
Classlikes
object Routable
Attributes
- Companion
- trait
- Source
- ContextRouter.scala
- Supertypes
- Self type
-
Routable.type
Attributes
- Companion
- object
- Source
- ContextRouter.scala
- Supertypes
- Known subtypes
Attributes
- Companion
- object
- Source
- ContextRouter.scala
- Supertypes
object Segment
Attributes
- Companion
- class
- Source
- ContextRouter.scala
- Supertypes
- Self type
-
Segment.type
Value members
Concrete methods
Defines an ContextRoutes based on list of mappings.
Defines an ContextRoutes based on list of mappings.
Attributes
- See also
-
define
- Source
- ContextRouter.scala
def define[F[_] : Monad, A](mappings: (String, ContextRoutes[A, F])*)(default: ContextRoutes[A, F]): ContextRoutes[A, F]
Defines an ContextRoutes based on list of mappings and a default Service to be used when none in the list match incoming requests.
Defines an ContextRoutes based on list of mappings and a default Service to be used when none in the list match incoming requests.
The mappings are processed in descending order (longest first) of prefix length.
Attributes
- Source
- ContextRouter.scala
Attributes
- Source
- ContextRouter.scala
Attributes
- Source
- ContextRouter.scala
Deprecated methods
Attributes
- Deprecated
- true
- Source
- ContextRouter.scala
def define[F[_], A](mappings: Seq[(String, ContextRoutes[A, F])])(default: ContextRoutes[A, F], sync: Sync[F]): ContextRoutes[A, F]
Attributes
- Deprecated
- true
- Source
- ContextRouter.scala
In this article