Packages

c

org.scalatra

RouteRegistry

class RouteRegistry extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RouteRegistry
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RouteRegistry()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addStatusRoute(codes: Range, route: Route): Unit

    Add a route that explicitly matches one or more response codes.

  5. def afterFilters: Seq[Route]

    Returns the sequence of filters to run after the route.

  6. def appendAfterFilter(route: Route): Unit

    Appends a filter to the sequence of before filters.

  7. def appendBeforeFilter(route: Route): Unit

    Appends a filter to the sequence of before filters.

  8. 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.

  9. 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.

  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def beforeFilters: Seq[Route]

    Returns the sequence of filters to run before the route.

  12. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def entryPoints: Seq[String]

    List of entry points, made of all route matchers

  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. 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.

  21. 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

  22. def methodRoutes: Map[HttpMethod, Seq[Route]]
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  26. def prependRoute(method: HttpMethod, route: Route): Unit

    Prepends a route to the method's route sequence.

  27. def removeRoute(method: HttpMethod, route: Route): Unit

    Removes a route from the method's route sequence.

  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    RouteRegistry → AnyRef → Any
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped