Router

wvlet.airframe.http.Router
See theRouter companion class
object Router extends RouterObjectBase, LogSupport

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
Router.type

Members list

Type members

Inherited types

type MirroredElemLabels <: Tuple

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 add(filter: HttpFilterType): Router
def apply(): Router
def apply(children: Router*): Router
def fromRxRouter(router: RxRouter): Router

Convert a new RxRouter instance into the legacy Router for compatibility

Convert a new RxRouter instance into the legacy Router for compatibility

Attributes

def merge(routes: List[Router]): Router

Inherited methods

inline protected def debug(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def debug(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def error(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def error(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def info(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def info(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def logAt(inline logLevel: LogLevel, inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def trace(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def trace(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def warn(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def warn(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods

Deprecated and Inherited methods

inline def add[Controller]: Router

Attributes

Deprecated
true
Inherited from:
RouterObjectBase
inline def of[Controller]: Router

Attributes

Deprecated
true
Inherited from:
RouterObjectBase

Concrete fields

val empty: Router