class RouteRegistry extends AnyRef
- Alphabetic
- By Inheritance
- RouteRegistry
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new RouteRegistry()
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
-
def
addStatusRoute(codes: Range, route: Route): Unit
Add a route that explicitly matches one or more response codes.
-
def
afterFilters: Seq[Route]
Returns the sequence of filters to run after the route.
-
def
appendAfterFilter(route: Route): Unit
Appends a filter to the sequence of before filters.
-
def
appendBeforeFilter(route: Route): Unit
Appends a filter to the sequence of before filters.
-
def
apply(statusCode: Int): Option[Route]
Return a route for a specific HTTP response status code.
Return a route for a specific HTTP response status code.
- statusCode
the status code.
-
def
apply(method: HttpMethod): Seq[Route]
Returns the sequence of routes registered for the specified method.
Returns the sequence of routes registered for the specified method.
HEAD must be identical to GET without a body, so HEAD returns GET's routes.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
beforeFilters: Seq[Route]
Returns the sequence of filters to run before the route.
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
entryPoints: Seq[String]
List of entry points, made of all route matchers
-
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
-
def
matchingMethods(requestPath: String): Set[HttpMethod]
Returns a set of methods with a matching route.
Returns a set of methods with a matching route.
HEAD must be identical to GET without a body, so GET implies HEAD.
-
def
matchingMethodsExcept(method: HttpMethod, requestPath: String): Set[HttpMethod]
Returns a set of methods with a matching route minus a specified method.
Returns a set of methods with a matching route minus a specified method.
HEAD must be identical to GET without a body, so: - GET implies HEAD - filtering one filters the other
- def methodRoutes: Map[HttpMethod, Seq[Route]]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
prependRoute(method: HttpMethod, route: Route): Unit
Prepends a route to the method's route sequence.
-
def
removeRoute(method: HttpMethod, route: Route): Unit
Removes a route from the method's route sequence.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- RouteRegistry → 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( ... )