class RouteModule[RQ, RS] extends Module
Self-describing module builder (uses the immutable builder pattern).
- Alphabetic
- By Inheritance
- RouteModule
- Module
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
combine(that: Module): Module
Finaliser for the module builder to combine itself with another module into a Partial Function which matches incoming requests.
Finaliser for the module builder to combine itself with another module into a Partial Function which matches incoming requests.
- Definition Classes
- Module
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
securedBy(newSecurity: Security): RouteModule[RQ, RS]
Set the API security for this module.
Set the API security for this module. This is implemented though a Filter which is invoked before the parameter validation takes place, and will return Unauthorized HTTP response codes when a request does not pass authentication.
-
def
serviceBinding: ServiceBinding
- Attributes
- protected[io.fintrospect]
- Definition Classes
- RouteModule → Module
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toService: Service[Request, Response]
Finaliser for the module builder to convert itself to a Finagle Service.
Finaliser for the module builder to convert itself to a Finagle Service. Use this function when there is only one module.
- Definition Classes
- Module
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
withDescriptionPath(newDefaultRoutePath: ModifyPath): RouteModule[RQ, RS]
Override the path from the root of this module (incoming) where the default module description will live.
-
def
withRoute(newRoutes: ServerRoute[RQ, RS]*): RouteModule[RQ, RS]
Attach described Route(s) to the module.
Attach described Route(s) to the module. Request matching is attempted in the same order as in which this method is called.
-
def
withRoutes(newRoutes: Iterable[ServerRoute[RQ, RS]]*): RouteModule[RQ, RS]
Attach described Route(s) to the module.
Attach described Route(s) to the module. Request matching is attempted in the same order as in which this method is called.