Router defines mappings from HTTP requests to Routes.
Router can be nested
- Router1 with Filter1
- Router2: endpoints e1, e2
- Router3: endpoints e3 with Filter2
- Router4: endpoints e4
From this router definition, the backend HTTP server specific implementation will build a mapping table like this: e1 -> Filter1 andThen process(e1) e2 -> Filter1 andThen process(e2) e3 -> Filter1 andThen Filter2 andThen process(e3) e4 -> process(e4)
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Producttrait Equalstrait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializabletrait RouterBaseclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Add a child and and return a new Router with this child node
Add a child and and return a new Router with this child node
Attributes
Internal only method for adding the surface of the controller
Internal only method for adding the surface of the controller
Attributes
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
Any
Call this method to verify duplicated routes in an early phase
Call this method to verify duplicated routes in an early phase
Attributes
Inherited methods
Attributes
- Inherited from:
- RouterBase
Attributes
- Inherited from:
- RouterBase
Attributes
- Inherited from:
- LoggingMethods
Attributes
- Inherited from:
- LoggingMethods
Attributes
- Inherited from:
- LoggingMethods
Attributes
- Inherited from:
- LoggingMethods
Attributes
- Inherited from:
- LoggingMethods
Attributes
- Inherited from:
- LoggingMethods
Attributes
- Inherited from:
- LoggingMethods
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- LoggingMethods
Attributes
- Inherited from:
- LoggingMethods
Attributes
- Inherited from:
- LoggingMethods
Attributes
- Inherited from:
- LoggingMethods