org

scalatra

package scalatra

Visibility
  1. Public
  2. All
Impl.
  1. Concrete
  2. Abstract

Type Members

  1. trait ApiFormats extends ScalatraKernel

  2. type Attributes = AnyRef {...}

    Structural type for the various Servlet API objects that have attributes.

    Structural type for the various Servlet API objects that have attributes. These include ServletContext, HttpSession, and ServletRequest.

    definition classes: root
  3. trait AttributesMap extends Map[String, AnyRef] with MutableMapWithIndifferentAccess[AnyRef]

    Adapts attributes from the Servlet API to a standard Scala mutable map.

  4. class BooleanBlockRouteMatcher extends RouteMatcher

    attributes: final
  5. type CSRFTokenSupport = CsrfTokenSupport

    definition classes: root
      deprecated:
    1. Use CsrfTokenSupport

  6. type ContentTypeInferrer = PartialFunction[Any, String]

    definition classes: root
  7. case class Cookie (name: String, value: String, cookieOptions: CookieOptions) extends Product

  8. case class CookieOptions (domain: String, path: String, maxAge: Int, secure: Boolean, comment: String, httpOnly: Boolean, encoding: String) extends Product

  9. trait CookieSupport extends Handler

  10. trait CoreDsl extends AnyRef

    The core DSL of a Scalatra application.

  11. trait CsrfTokenSupport extends AnyRef

  12. type ErrorHandler = PartialFunction[Throwable, Any]

    definition classes: root
  13. case class ExtensionMethod (name: String) extends HttpMethod with Product

  14. class FlashMap extends MutableMapWithIndifferentAccess[Any]

    A FlashMap is the data structured used by FlashMapSupportto allow passing temporary values between sequential actions.

  15. trait FlashMapSupport extends ScalatraKernel

    Allows an action to set key-value pairs in a transient state that is accessible only to the next action and is expired immediately after that.

  16. trait GetResponseStatusSupport extends Handler

    Mixin to ScalatraKernel that allows the retrieval of the HttpStatus.

  17. trait Handler extends AnyRef

    An Handler is the Scalatra abstraction for an object that operates on a request/response pair.

  18. trait HttpMethod extends AnyRef

    attributes: sealed
  19. trait Initializable extends AnyRef

    Trait representing an object that can't be fully initialized by its constructor.

  20. case class MatchedRoute (action: Action, multiParams: MultiParams) extends Product

  21. trait MethodOverride extends Handler

  22. case class PathPattern (regex: Regex, captureGroupNames: List[String]) extends Product

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

  23. trait PathPatternParser extends AnyRef

    Parses a string into a path pattern for routing.

  24. class PathPatternRouteMatcher extends RouteMatcher

    attributes: final
  25. class RailsPathPatternParser extends RegexPathPatternParser

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

  26. class RailsRouteMatcher extends RouteMatcher with ReversibleRouteMatcher

    attributes: final
  27. trait RegexPathPatternParser extends PathPatternParser with RegexParsers

  28. class RegexRouteMatcher extends RouteMatcher

    attributes: final
  29. type RenderPipeline = PartialFunction[Any, Any]

    definition classes: root
  30. trait ReversibleRouteMatcher extends AnyRef

  31. case class RichRequest (r: HttpServletRequest) extends AttributesMap with Product

  32. class RichServletContext extends AttributesMap

  33. class RichSession extends AttributesMap

  34. case class Route (routeMatchers: Iterable[RouteMatcher], action: Action, contextPath: () ⇒ String) extends Product

  35. trait RouteMatcher extends AnyRef

  36. class RouteRegistry extends AnyRef

  37. trait ScalatraFilter extends Filter with ScalatraKernel with Initializable

  38. trait ScalatraKernel extends Handler with CoreDsl with Initializable with ServletApiImplicits

    ScalatraKernel provides the DSL for building Scalatra applications.

  39. class ScalatraServlet extends HttpServlet with ScalatraKernel with Initializable

    attributes: abstract
  40. trait ServletApiImplicits extends AnyRef

    Some implicits to make the Servlet API more Scala-idiomatic.

  41. class SinatraPathPatternParser extends RegexPathPatternParser

    A Sinatra-compatible route path pattern parser.

  42. class SinatraRouteMatcher extends RouteMatcher with ReversibleRouteMatcher

    attributes: final
  43. trait SslRequirement extends Handler

  44. class SweetCookies extends AnyRef

  45. trait UrlGeneratorSupport extends AnyRef

  46. trait UrlSupport extends AnyRef

    Provides utility methods for the creation of URL strings.

Value Members

  1. object ApiFormats extends AnyRef

  2. object Connect extends HttpMethod with Product

  3. object CookieSupport extends AnyRef

  4. object CsrfTokenSupport extends AnyRef

  5. object Delete extends HttpMethod with Product

  6. object FlashMapSupport extends AnyRef

  7. object GenerateId extends AnyRef

  8. object Get extends HttpMethod with Product

  9. object Head extends HttpMethod with Product

  10. object HttpMethod extends AnyRef

  11. object NotEmpty extends AnyRef

    Extractor object, useful for handling empty form parameter submissions:

  12. object Options extends HttpMethod with Product

  13. object Patch extends HttpMethod with Product

  14. object Post extends HttpMethod with Product

  15. object Put extends HttpMethod with Product

  16. object RailsPathPatternParser extends AnyRef

  17. object RichRequest extends AnyRef

  18. object ScalatraKernel extends AnyRef

  19. object ServletApiImplicits extends ServletApiImplicits

  20. object SinatraPathPatternParser extends AnyRef

  21. object Trace extends HttpMethod with Product

  22. object UrlGenerator extends UrlGeneratorSupport

  23. package util