object
Router
Value Members
-
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
-
final
def
==(arg0: Any): Boolean
-
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
-
-
def
finalize(): Unit
-
def
generateRoutes[T](t: T): Seq[EntryPoint]
-
def
generateRoutesImpl[T](c: Context)(t: scala.reflect.macros.Context.Expr[T])(implicit arg0: scala.reflect.macros.Context.WeakTypeTag[T]): scala.reflect.macros.Context.Expr[Seq[EntryPoint]]
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
read[T](dict: Map[String, String], default: ⇒ Option[Any], arg: ArgSig, thunk: (String) ⇒ T): FailMaybe
-
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
-
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
More or less a minimal version of Autowire's Server that lets you generate a set of "routes" from the methods defined in an object, and call them using passing in name/args/kwargs via Java reflection, without having to generate/compile code or use Scala reflection. This saves us spinning up the Scala compiler and greatly reduces the startup time of cached scripts.