Class

org.scalatra

RouteRegistry

Related Doc: package scalatra

Permalink

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()

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addStatusRoute(codes: Range, route: Route): Unit

    Permalink

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

  5. def afterFilters: Seq[Route]

    Permalink

    Returns the sequence of filters to run after the route.

  6. def appendAfterFilter(route: Route): Unit

    Permalink

    Appends a filter to the sequence of before filters.

  7. def appendBeforeFilter(route: Route): Unit

    Permalink

    Appends a filter to the sequence of before filters.

  8. def apply(statusCode: Int): Option[Route]

    Permalink

    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]

    Permalink

    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

    Permalink
    Definition Classes
    Any
  11. def beforeFilters: Seq[Route]

    Permalink

    Returns the sequence of filters to run before the route.

  12. def clone(): AnyRef

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

    Permalink

    List of entry points, made of all route matchers

  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. def matchingMethods(requestPath: String): Set[HttpMethod]

    Permalink

    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]

    Permalink

    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]]

    Permalink
  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. def prependRoute(method: HttpMethod, route: Route): Unit

    Permalink

    Prepends a route to the method's route sequence.

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

    Permalink

    Removes a route from the method's route sequence.

  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. def toString(): String

    Permalink
    Definition Classes
    RouteRegistry → AnyRef → Any
  30. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped