org

scalatra

package scalatra

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. scalatra
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. trait ApiFormats extends ScalatraKernel

    Adds support for mapping and inferring formats to content types.

  2. type Attributes = AnyRef { ... /* 4 definitions in type refinement */ }

    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.

  3. trait AttributesMap extends Map[String, AnyRef] with MutableMapWithIndifferentAccess[AnyRef]

    Adapts attributes from servlet objects (e.

  4. final class BooleanBlockRouteMatcher extends RouteMatcher

    A route matcher on a boolean condition.

  5. type ContentTypeInferrer = PartialFunction[Any, String]

  6. case class Cookie(name: String, value: String)(implicit cookieOptions: CookieOptions = ...) extends Product with Serializable

  7. case class CookieOptions(domain: String = "", path: String = "", maxAge: Int = -1, secure: Boolean = false, comment: String = "", httpOnly: Boolean = false, encoding: String = "UTF-8") extends Product with Serializable

  8. trait CookieSupport extends Handler

  9. trait CoreDsl extends AnyRef

    The core DSL of a Scalatra application.

  10. trait CsrfTokenSupport extends AnyRef

    Provides cross-site request forgery protection.

  11. type ErrorHandler = PartialFunction[Throwable, Any]

  12. case class ExtensionMethod(name: String) extends HttpMethod with Product with Serializable

  13. class FlashMap extends MutableMapWithIndifferentAccess[Any]

    A FlashMap is the data structure used by org.scalatra.FlashMapSupport to allow passing temporary values between sequential actions.

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

  15. trait GetResponseStatusSupport extends Handler

    Mixin to ScalatraKernel that allows the retrieval of the HttpStatus.

  16. trait Handler extends AnyRef

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

  17. sealed trait HttpMethod extends AnyRef

  18. trait Initializable extends AnyRef

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

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

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

  20. trait MethodOverride extends Handler

    Mixin for clients that only support a limited set of HTTP verbs.

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

  22. trait PathPatternParser extends AnyRef

    Parses a string into a path pattern for routing.

  23. final class PathPatternRouteMatcher extends RouteMatcher

  24. class RailsPathPatternParser extends RegexPathPatternParser

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

  25. final class RailsRouteMatcher extends RouteMatcher with ReversibleRouteMatcher

    An implementation of Rails' path pattern syntax

  26. trait RegexPathPatternParser extends PathPatternParser with RegexParsers

  27. final class RegexRouteMatcher extends RouteMatcher

    A route matcher for regular expressions.

  28. type RenderPipeline = PartialFunction[Any, Any]

  29. trait ReversibleRouteMatcher extends AnyRef

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

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

    Extension methods to a standard HttpServletRequest.

  31. class RichServletContext extends AttributesMap

    Extension methods to the standard ServletContext.

  32. class RichSession extends AttributesMap

    Extension methods to the standard HttpSession.

  33. case class Route(routeMatchers: Iterable[RouteMatcher], action: () ⇒ Any, contextPath: () ⇒ String = (() => "")) extends Product with Serializable

    A route is a set of matchers and an action.

  34. trait RouteMatcher extends AnyRef

    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.

  35. class RouteRegistry extends AnyRef

  36. trait ScalatraFilter extends Filter with ScalatraKernel with Initializable

    An implementation of the Scalatra DSL in a filter.

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

    ScalatraKernel is the default implementation of org.scalatra.CoreDSL.

  38. abstract class ScalatraServlet extends HttpServlet with ScalatraKernel with Initializable

    An implementation of the Scalatra DSL in a servlet.

  39. trait ServletApiImplicits extends AnyRef

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

  40. class SinatraPathPatternParser extends RegexPathPatternParser

    A Sinatra-compatible route path pattern parser.

  41. final class SinatraRouteMatcher extends RouteMatcher with ReversibleRouteMatcher

    An implementation of Sinatra's path pattern syntax.

  42. trait SslRequirement extends Handler

    Redirects unsecured requests to the corresponding secure URL.

  43. class SweetCookies extends AnyRef

  44. trait UrlGeneratorSupport extends AnyRef

    Adds support for generating URIs from routes and their params.

  45. trait UrlSupport extends AnyRef

    Provides utility methods for the creation of URL strings.

  46. type CSRFTokenSupport = CsrfTokenSupport

    Annotations
    @deprecated
    Deprecated

    Use CsrfTokenSupport

Value Members

  1. object ApiFormats

  2. object Connect extends HttpMethod with Product with Serializable

  3. object CookieSupport

  4. object CsrfTokenSupport

  5. object Delete extends HttpMethod with Product with Serializable

  6. object FlashMapSupport

  7. object GenerateId

  8. object Get extends HttpMethod with Product with Serializable

  9. object Head extends HttpMethod with Product with Serializable

  10. object HttpMethod

  11. object Options extends HttpMethod with Product with Serializable

  12. object Patch extends HttpMethod with Product with Serializable

  13. object Post extends HttpMethod with Product with Serializable

  14. object Put extends HttpMethod with Product with Serializable

  15. object RailsPathPatternParser

  16. object RichRequest extends Serializable

  17. object ScalatraKernel

  18. object ServletApiImplicits extends ServletApiImplicits

  19. object SinatraPathPatternParser

  20. object Trace extends HttpMethod with Product with Serializable

  21. object UrlGenerator extends UrlGeneratorSupport

  22. package util

Deprecated Value Members

  1. object NotEmpty

    Extractor object, useful for handling empty form parameter submissions:

Inherited from AnyRef

Inherited from Any

Ungrouped