Package

skinny.micro

routing

Permalink

package routing

Visibility
  1. Public
  2. All

Type Members

  1. trait AsyncRoutingDsl extends RoutingDslBase

    Permalink

    The core SkinnyMicro DSL.

  2. final class BooleanBlockRouteMatcher extends RouteMatcher

    Permalink

    A route matcher on a boolean condition.

    A route matcher on a boolean condition. Does not extract any route parameters.

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

    Permalink

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

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

    Permalink

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

  5. trait PathPatternParser extends AnyRef

    Permalink

    Parses a string into a path pattern for routing.

  6. final class PathPatternRouteMatcher extends RouteMatcher

    Permalink
  7. class RailsPathPatternParser extends RegexPathPatternParser

    Permalink

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

  8. final class RailsRouteMatcher extends RouteMatcher with ReversibleRouteMatcher

    Permalink

    An implementation of Rails' path pattern syntax

  9. trait RegexPathPatternParser extends PathPatternParser with RegexParsers

    Permalink
  10. final class RegexRouteMatcher extends RouteMatcher

    Permalink

    A route matcher for regular expressions.

    A route matcher for regular expressions. Useful for cases that are more complex than are supported by Sinatra- or Rails-style routes.

  11. trait ReversibleRouteMatcher extends AnyRef

    Permalink

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

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

    Permalink

    A route is a set of matchers and an action.

    A route is a set of matchers and an action. A route is considered to match if all of its route matchers return Some. If a route matches, its action may be invoked. The route parameters extracted by the matchers are made available to the action.

  13. trait RouteMatcher extends RouteTransformer

    Permalink

    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

    Permalink

    Route registry.

  15. trait RoutingDsl extends RoutingDslBase

    Permalink

    The core SkinnyMicro DSL.

  16. trait RoutingDslBase extends HaltPassControl with RouteRegistryAccessor with SkinnyContextInitializer with UnstableAccessValidationConfig with ServletContextAccessor with ServletApiImplicits

    Permalink

    The core SkinnyMicro DSL.

  17. class SinatraPathPatternParser extends RegexPathPatternParser

    Permalink

    A Sinatra-compatible route path pattern parser.

  18. final class SinatraRouteMatcher extends RouteMatcher with ReversibleRouteMatcher

    Permalink

    An implementation of Sinatra's path pattern syntax.

  19. final class StatusCodeRouteMatcher extends RouteMatcher

    Permalink
  20. trait TypedAsyncRoutingDsl extends RoutingDslBase

    Permalink

    The core SkinnyMicro DSL.

  21. trait TypedRoutingDsl extends RoutingDslBase

    Permalink

    The core SkinnyMicro DSL.

Value Members

  1. object PathPatternParser

    Permalink
  2. object RailsPathPatternParser

    Permalink
  3. object Route extends Serializable

    Permalink
  4. object SinatraPathPatternParser

    Permalink

Ungrouped