skinny.micro

routing

package routing

Visibility
  1. Public
  2. All

Type Members

  1. trait AsyncRoutingDsl extends HaltPassControl with RouteRegistryAccessor with SkinnyContextInitializer with UnstableAccessValidationConfig with ServletContextAccessor with ServletApiImplicits

    The core SkinnyMicro DSL.

  2. final class BooleanBlockRouteMatcher extends RouteMatcher

    A route matcher on a boolean condition.

  3. case class MatchedRoute(action: () ⇒ Any, multiParams: MultiParams) extends Product with Serializable

    An action and the multi-map of route parameters to invoke it with.

  4. case class PathPattern(regex: Regex, captureGroupNames: List[String] = immutable.this.Nil) extends Product with Serializable

    A path pattern optionally matches a request path and extracts path parameters.

  5. trait PathPatternParser extends AnyRef

    Parses a string into a path pattern for routing.

  6. final class PathPatternRouteMatcher extends RouteMatcher

  7. class RailsPathPatternParser extends RegexPathPatternParser

    Path pattern parser based on Rack::Mount::Strexp, which is used by Rails.

  8. final class RailsRouteMatcher extends RouteMatcher with ReversibleRouteMatcher

    An implementation of Rails' path pattern syntax

  9. trait RegexPathPatternParser extends PathPatternParser with RegexParsers

  10. final class RegexRouteMatcher extends RouteMatcher

    A route matcher for regular expressions.

  11. trait ReversibleRouteMatcher extends AnyRef

    A route matcher from which a URI can be generated from route parameters.

  12. case class Route(routeMatchers: Seq[RouteMatcher] = collection.this.Seq.empty[Nothing], action: () ⇒ Any, contextPath: (HttpServletRequest) ⇒ String = ..., metadata: Map[Symbol, Any] = ...) extends Product with Serializable

    A route is a set of matchers and an action.

  13. trait RouteMatcher extends RouteTransformer

    A route matcher is evaluated in the context it was created and returns a a (possibly empty) multi-map of parameters if the route is deemed to match.

  14. class RouteRegistry extends AnyRef

    Route registry.

  15. trait RoutingDsl extends HaltPassControl with RouteRegistryAccessor with SkinnyContextInitializer with UnstableAccessValidationConfig with ServletContextAccessor with ServletApiImplicits

    The core SkinnyMicro DSL.

  16. class SinatraPathPatternParser extends RegexPathPatternParser

    A Sinatra-compatible route path pattern parser.

  17. final class SinatraRouteMatcher extends RouteMatcher with ReversibleRouteMatcher

    An implementation of Sinatra's path pattern syntax.

  18. final class StatusCodeRouteMatcher extends RouteMatcher

Value Members

  1. object PathPatternParser

  2. object RailsPathPatternParser

  3. object Route extends Serializable

  4. object SinatraPathPatternParser

Ungrouped