Trait

skinny.controller

AsyncSkinnyController

Related Doc: package controller

Permalink

trait AsyncSkinnyController extends AsyncSkinnyEngineFilter with AsyncSkinnyControllerBase with SkinnyWebPageControllerFeatures

Skinny controller.

Linear Supertypes
SkinnyWebPageControllerFeatures, XFrameOptionsHeaderFeature, XXSSProtectionHeaderFeature, CSRFProtectionFeature, CsrfTokenSupport, ScalateTemplateEngineFeature, ScalateSupport, TemplateEngineFeature, FlashFeature, FlashMapSupport, AsyncSkinnyControllerBase, SkinnyControllerCommonBase, SkinnyFilterActivation, ParamsPermitImplicits, ParametersGetAsImplicits, RoutesAsImplicits, XContentTypeOptionsNosniffHeaderFeature, ThreadLocalRequestFeature, TimeLoggingFeature, SensitiveParametersFeature, TimeLogging, ValidationFeature, JSONFeature, BeforeAfterActionFeature, ChunkedResponseFeature, RequestScopeFeature, LocaleFeature, SnakeCasedParamKeysFeature, BeforeAfterDsl, ActionDefinitionFeature, ExplicitRedirectFeature, UrlGeneratorSupport, FormParamsFeature, QueryParamsFeature, EnvFeature, ApiFormats, AsyncSkinnyEngineFilter, AsyncFeatures, JSONStringOpsConfig, JSONOperations, JSONStringOps, AsyncBeforeAfterDsl, AsyncRoutingDsl, AsyncSupport, AsyncOperations, SkinnyEngineFilterBase, SkinnyEngineBase, SessionImplicits, DefaultImplicits, LowPriorityImplicits, LowestPriorityImplicits, engine.implicits.TypeConverterSupport, EngineParamsImplicits, CookiesImplicits, RouteMatcherImplicits, HaltPassControl, UrlGenerator, ResponseStatusAccessor, ResponseContentTypeAccessor, RequestFormatAccessor, ParamsAccessor, EnvironmentAccessor, ErrorHandlerAccessor, AsyncSupported, CoreHandler, Handler, logging.LoggerProvider, ServletContextAccessor, RicherStringImplicits, ServletApiImplicits, RouteRegistryAccessor, SkinnyEngineContextInitializer, Initializable, Filter, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AsyncSkinnyController
  2. SkinnyWebPageControllerFeatures
  3. XFrameOptionsHeaderFeature
  4. XXSSProtectionHeaderFeature
  5. CSRFProtectionFeature
  6. CsrfTokenSupport
  7. ScalateTemplateEngineFeature
  8. ScalateSupport
  9. TemplateEngineFeature
  10. FlashFeature
  11. FlashMapSupport
  12. AsyncSkinnyControllerBase
  13. SkinnyControllerCommonBase
  14. SkinnyFilterActivation
  15. ParamsPermitImplicits
  16. ParametersGetAsImplicits
  17. RoutesAsImplicits
  18. XContentTypeOptionsNosniffHeaderFeature
  19. ThreadLocalRequestFeature
  20. TimeLoggingFeature
  21. SensitiveParametersFeature
  22. TimeLogging
  23. ValidationFeature
  24. JSONFeature
  25. BeforeAfterActionFeature
  26. ChunkedResponseFeature
  27. RequestScopeFeature
  28. LocaleFeature
  29. SnakeCasedParamKeysFeature
  30. BeforeAfterDsl
  31. ActionDefinitionFeature
  32. ExplicitRedirectFeature
  33. UrlGeneratorSupport
  34. FormParamsFeature
  35. QueryParamsFeature
  36. EnvFeature
  37. ApiFormats
  38. AsyncSkinnyEngineFilter
  39. AsyncFeatures
  40. JSONStringOpsConfig
  41. JSONOperations
  42. JSONStringOps
  43. AsyncBeforeAfterDsl
  44. AsyncRoutingDsl
  45. AsyncSupport
  46. AsyncOperations
  47. SkinnyEngineFilterBase
  48. SkinnyEngineBase
  49. SessionImplicits
  50. DefaultImplicits
  51. LowPriorityImplicits
  52. LowestPriorityImplicits
  53. TypeConverterSupport
  54. EngineParamsImplicits
  55. CookiesImplicits
  56. RouteMatcherImplicits
  57. HaltPassControl
  58. UrlGenerator
  59. ResponseStatusAccessor
  60. ResponseContentTypeAccessor
  61. RequestFormatAccessor
  62. ParamsAccessor
  63. EnvironmentAccessor
  64. ErrorHandlerAccessor
  65. AsyncSupported
  66. CoreHandler
  67. Handler
  68. LoggerProvider
  69. ServletContextAccessor
  70. RicherStringImplicits
  71. ServletApiImplicits
  72. RouteRegistryAccessor
  73. SkinnyEngineContextInitializer
  74. Initializable
  75. Filter
  76. AnyRef
  77. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. trait Config extends AnyRef

    Permalink
    Definition Classes
    Initializable
  2. type ConfigT = FilterConfig

    Permalink
    Definition Classes
    SkinnyEngineFilterBase → ServletContextAccessor → Initializable
  3. sealed trait RenderingRequired extends AnyRef

    Permalink
    Definition Classes
    SkinnyFilterActivation
  4. trait SkinnyEngineTemplateEngine extends AnyRef

    Permalink
    Definition Classes
    ScalateSupport
  5. sealed class TypedMultiParams extends AnyRef

    Permalink
    Definition Classes
    EngineParamsImplicits
  6. sealed class TypedParams extends AnyRef

    Permalink
    Definition Classes
    EngineParamsImplicits

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. object WithRendering extends controller.feature.SkinnyControllerCommonBase.RenderingRequired with Product with Serializable

    Permalink
    Definition Classes
    SkinnyFilterActivation
  5. object WithoutRendering extends controller.feature.SkinnyControllerCommonBase.RenderingRequired with Product with Serializable

    Permalink
    Definition Classes
    SkinnyFilterActivation
  6. def acceptHeader(implicit request: HttpServletRequest): List[String]

    Permalink
    Definition Classes
    ApiFormats
  7. def acceptedFormats(accepted: Symbol*): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    ApiFormats
  8. val actionDefinitions: ArrayBuffer[ActionDefinition]

    Permalink

    Note: Same action method name should be registered several times.

    Note: Same action method name should be registered several times. For example, put("/members/:id")(...).as('update) and patch("/members/:id")(...).as('update).

    Attributes
    protected
    Definition Classes
    ActionDefinitionFeature
  9. def addActionDefinition(actionDef: ActionDefinition): Unit

    Permalink

    Adds action definition

    Adds action definition

    actionDef

    action definition

    Definition Classes
    ActionDefinitionFeature
  10. def addErrorFilter(handler: ErrorHandler): Unit

    Permalink

    Adds error handler which doesn't return result to SkinnyController.

    Adds error handler which doesn't return result to SkinnyController.

    Definition Classes
    SkinnyFilterActivation
  11. def addMimeMapping(mime: String, extension: String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ApiFormats
  12. def addParam(name: String, value: Any)(implicit ctx: SkinnyEngineContext = context): Unit

    Permalink

    Add param to params in the request scope.

    Add param to params in the request scope.

    name

    name

    value

    value

    Definition Classes
    RequestScopeFeature
  13. def addRoute(method: HttpMethod, transformers: Seq[RouteTransformer], action: (engine.Context) ⇒ Any): Route

    Permalink
    Attributes
    protected
    Definition Classes
    AsyncRoutingDsl
  14. def after(transformers: RouteTransformer*)(fun: ⇒ Any): Unit

    Permalink
    Definition Classes
    BeforeAfterDsl
  15. def after(transformers: RouteTransformer*)(fun: (engine.Context) ⇒ Any): Unit

    Permalink
    Definition Classes
    AsyncBeforeAfterDsl
  16. def afterAction(only: Seq[Symbol] = Nil, except: Seq[Symbol] = Nil)(action: ⇒ Any): Unit

    Permalink

    Registers afterAction to this controller.

    Registers afterAction to this controller.

    only

    this action should be applied only for these action methods

    except

    this action should not be applied for these action methods

    action

    action

    Definition Classes
    BeforeAfterActionFeature
  17. def afterFilter(only: Seq[Symbol] = Nil, except: Seq[Symbol] = Nil)(action: ⇒ Any): Unit

    Permalink

    If you prefer #afterFilter than #afterAction, keep going!

    If you prefer #afterFilter than #afterAction, keep going!

    Definition Classes
    BeforeAfterActionFeature
  18. implicit val anyToBoolean: engine.implicits.TypeConverter[Any, Boolean]

    Permalink
    Definition Classes
    LowPriorityImplicits
  19. implicit val anyToByte: engine.implicits.TypeConverter[Any, Byte]

    Permalink
    Definition Classes
    LowPriorityImplicits
  20. implicit val anyToDouble: engine.implicits.TypeConverter[Any, Double]

    Permalink
    Definition Classes
    LowPriorityImplicits
  21. implicit val anyToFloat: engine.implicits.TypeConverter[Any, Float]

    Permalink
    Definition Classes
    LowPriorityImplicits
  22. implicit val anyToInt: engine.implicits.TypeConverter[Any, Int]

    Permalink
    Definition Classes
    LowPriorityImplicits
  23. implicit val anyToLong: engine.implicits.TypeConverter[Any, Long]

    Permalink
    Definition Classes
    LowPriorityImplicits
  24. implicit val anyToShort: engine.implicits.TypeConverter[Any, Short]

    Permalink
    Definition Classes
    LowPriorityImplicits
  25. implicit val anyToString: engine.implicits.TypeConverter[Any, String]

    Permalink
    Definition Classes
    LowPriorityImplicits
  26. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  27. def asJValue[T](obj: T)(implicit writer: Writer[T]): JValue

    Permalink
    Definition Classes
    JSONStringOps
  28. def awaitFutures[A](duration: Duration)(fs: Future[A]*)(implicit ec: ExecutionContext): Seq[A]

    Permalink
    Definition Classes
    AsyncOperations
  29. def before(transformers: RouteTransformer*)(fun: ⇒ Any): Unit

    Permalink
    Definition Classes
    BeforeAfterDsl
  30. def before(transformers: RouteTransformer*)(fun: (engine.Context) ⇒ Any): Unit

    Permalink
    Definition Classes
    AsyncBeforeAfterDsl
  31. def beforeAction(only: Seq[Symbol] = Nil, except: Seq[Symbol] = Nil)(action: ⇒ Any): Unit

    Permalink

    Registers beforeAction to this controller.

    Registers beforeAction to this controller.

    only

    this action should be applied only for these action methods

    except

    this action should not be applied for these action methods

    action

    action

    Definition Classes
    BeforeAfterActionFeature
  32. def beforeFilter(only: Seq[Symbol] = Nil, except: Seq[Symbol] = Nil)(action: ⇒ Any): Unit

    Permalink

    If you prefer #beforeFilter than #beforeAction, keep going!

    If you prefer #beforeFilter than #beforeAction, keep going!

    Definition Classes
    BeforeAfterActionFeature
  33. implicit def booleanBlock2RouteMatcher(block: ⇒ Boolean): RouteMatcher

    Permalink
    Attributes
    protected
    Definition Classes
    RouteMatcherImplicits
  34. lazy val charset: Option[String]

    Permalink
    Definition Classes
    SkinnyEngineBase
  35. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. def compact(value: JValue): String

    Permalink
    Definition Classes
    JSONStringOps
  37. var config: ConfigT

    Permalink
    Definition Classes
    ServletContextAccessor
  38. implicit def configWrapper(config: ConfigT): Config { object initParameters }

    Permalink
    Attributes
    protected
    Definition Classes
    ServletContextAccessor → Initializable
  39. def contentType(implicit ctx: SkinnyEngineContext): String

    Permalink
    Definition Classes
    ResponseContentTypeAccessor
  40. def contentTypeInferrer: ContentTypeInferrer

    Permalink
    Attributes
    protected
    Definition Classes
    ApiFormats → SkinnyEngineBase
  41. def contentType_=(contentType: String)(implicit ctx: SkinnyEngineContext): Unit

    Permalink
    Definition Classes
    ResponseContentTypeAccessor
  42. def context: SkinnyEngineContext

    Permalink
    Definition Classes
    SkinnyEngineContextInitializer
  43. def contextPath: String

    Permalink
    Definition Classes
    ServletContextAccessor
  44. implicit def convertParamsToStrongParameters(params: engine.Params): StrongParameters

    Permalink
    Definition Classes
    ParamsPermitImplicits
  45. implicit def convertRouteToRichRoute(route: Route)(implicit controller: SkinnyControllerCommonBase): RichRoute

    Permalink
    Definition Classes
    RoutesAsImplicits
  46. implicit def cookieOptions(implicit ctx: SkinnyEngineContext): CookieOptions

    Permalink
    Definition Classes
    CookiesImplicits
  47. def cookies(implicit ctx: SkinnyEngineContext): SweetCookies

    Permalink
    Definition Classes
    CookiesImplicits
  48. def createI18n()(implicit locale: Locale = ...): I18n

    Permalink

    Creates skinny.I18n instance for current locale.

    Creates skinny.I18n instance for current locale.

    locale

    current locale

    returns

    i18n provider

    Attributes
    protected
    Definition Classes
    SkinnyControllerCommonBase
  49. def createRenderContext(req: HttpServletRequest, resp: HttpServletResponse, out: PrintWriter)(implicit ctx: SkinnyEngineContext): SkinnyEngineRenderContext

    Permalink

    Creates a RenderContext instance for Skinny app.

    Creates a RenderContext instance for Skinny app.

    Attributes
    protected
    Definition Classes
    ScalateTemplateEngineFeature → ScalateSupport
  50. def createSkinnyEngineRenderContext(ctx: SkinnyEngineContext): SkinnyEngineRenderContext

    Permalink
    Attributes
    protected
    Definition Classes
    ScalateTemplateEngineFeature
  51. def createTemplateEngine(config: ConfigT): TemplateEngine

    Permalink

    Creates TemplateEngine instance for Skinny app.

    Creates TemplateEngine instance for Skinny app.

    config

    configuration

    returns

    TemplateEngine instance

    Attributes
    protected
    Definition Classes
    ScalateTemplateEngineFeature → ScalateSupport
  52. def csrfKey: String

    Permalink

    Overrides Scalatra's default key name.

    Overrides Scalatra's default key name.

    Definition Classes
    CSRFProtectionFeature → CsrfTokenSupport
  53. def csrfToken(implicit context: SkinnyEngineContext): String

    Permalink
    Attributes
    protected[skinny]
    Definition Classes
    CsrfTokenSupport
  54. def currentActionName(implicit cxt: SkinnyEngineContext = context): Option[Symbol]

    Permalink

    Returns action name for this request.

    Returns action name for this request.

    returns

    action name

    Definition Classes
    ActionDefinitionFeature
  55. def currentErrorHandler: ErrorHandler

    Permalink
    Attributes
    protected
    Definition Classes
    ErrorHandlerAccessor
  56. def currentLocale(implicit ctx: SkinnyEngineContext): Option[Locale]

    Permalink

    Returns current locale for this request.

    Returns current locale for this request.

    returns

    current locale

    Attributes
    protected
    Definition Classes
    LocaleFeature
  57. def defaultAcceptedFormats: List[Symbol]

    Permalink
    Definition Classes
    ApiFormats
  58. val defaultCharacterEncoding: String

    Permalink
    Attributes
    protected
    Definition Classes
    CoreHandler
  59. def defaultFormat: Symbol

    Permalink
    Definition Classes
    ApiFormats
  60. def defaultIndexName: String

    Permalink
    Attributes
    protected
    Definition Classes
    ScalateSupport
  61. def defaultLayoutPath: Option[String]

    Permalink
    Attributes
    protected
    Definition Classes
    ScalateSupport
  62. def defaultLocale: Option[Locale]

    Permalink

    Returns default locale.

    Returns default locale.

    Attributes
    protected
    Definition Classes
    LocaleFeature
  63. def defaultObjectMapper: ObjectMapper

    Permalink
    Definition Classes
    JSONStringOps
  64. implicit def defaultStringToSeq[T](implicit elementConverter: engine.implicits.TypeConverter[String, T], mf: Manifest[T]): engine.implicits.TypeConverter[String, Seq[T]]

    Permalink
    Definition Classes
    DefaultImplicits
  65. def defaultTemplateFormat: String

    Permalink
    Attributes
    protected
    Definition Classes
    ScalateSupport
  66. def defaultTemplatePath: List[String]

    Permalink

    Overrides to make the template path simpler.

    Overrides to make the template path simpler.

    returns

    paths

    Attributes
    protected
    Definition Classes
    ScalateTemplateEngineFeature → ScalateSupport
  67. def delete(transformers: RouteTransformer*)(action: (engine.Context) ⇒ Any): Route

    Permalink
    Definition Classes
    AsyncRoutingDsl
  68. def destroy(): Unit

    Permalink
    Definition Classes
    SkinnyEngineFilterBase
  69. def detectTooManyErrorFilterRegistrationAsAnErrorAtSkinnyEngineBase: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    ErrorHandlerAccessor
  70. def doFilter(request: ServletRequest, response: ServletResponse, chain: FilterChain): Unit

    Permalink
    Definition Classes
    SkinnyEngineFilterBase
  71. var doNotFound: Action

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyEngineFilterBase → SkinnyEngineBase
  72. implicit def enrichRequest(request: HttpServletRequest): RichRequest

    Permalink
    Definition Classes
    ServletApiImplicits
  73. implicit def enrichResponse(response: HttpServletResponse): RichResponse

    Permalink
    Definition Classes
    ServletApiImplicits
  74. implicit def enrichServletContext(servletContext: javax.servlet.ServletContext): RichServletContext

    Permalink
    Definition Classes
    ServletApiImplicits
  75. implicit def enrichSession(session: HttpSession): RichHttpServletSession

    Permalink
    Definition Classes
    ServletApiImplicits
  76. def environment: String

    Permalink
    Definition Classes
    EnvironmentAccessor
  77. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  79. def error(handler: ErrorHandler): Unit

    Permalink
    Definition Classes
    ErrorHandlerAccessor
  80. def errorMessages(implicit ctx: SkinnyEngineContext = context): Seq[String]

    Permalink

    Returns errorMessages in the RequestScope.

    Returns errorMessages in the RequestScope.

    Definition Classes
    RequestScopeFeature
  81. def executeRoutes(request: HttpServletRequest, response: HttpServletResponse): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyEngineBase → CoreHandler
  82. implicit def executionContext: ExecutionContext

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyEngineBase
  83. def extractStatusCode(e: HaltException): Int

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyEngineBase
  84. def filterChain: FilterChain

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyEngineFilterBase
  85. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  86. def findTemplate(path: String, extensionSet: Set[String]): Option[String]

    Permalink
    Attributes
    protected
    Definition Classes
    ScalateSupport
  87. def flash(key: String)(implicit ctx: SkinnyEngineContext): Any

    Permalink
    Definition Classes
    FlashMapSupport
  88. def flash(implicit ctx: SkinnyEngineContext): FlashMap

    Permalink
    Definition Classes
    FlashMapSupport
  89. def flashMapSetSession(f: FlashMap)(implicit ctx: SkinnyEngineContext): Unit

    Permalink
    Definition Classes
    FlashMapSupport
  90. def formMultiParams(implicit ctx: SkinnyEngineContext): engine.MultiParams

    Permalink

    Returns query string multi parameters as a Map value.

    Returns query string multi parameters as a Map value.

    Definition Classes
    FormParamsFeature
  91. def formParams(implicit ctx: SkinnyEngineContext): engine.Params

    Permalink

    Returns query string parameters as a Map value.

    Returns query string parameters as a Map value.

    Definition Classes
    FormParamsFeature
  92. def format(implicit ctx: SkinnyEngineContext): String

    Permalink
    Definition Classes
    ApiFormats
  93. def formatForMimeTypes(mimeTypes: String*): Option[String]

    Permalink
    Attributes
    protected
    Definition Classes
    ApiFormats
  94. def format_=(formatValue: String)(implicit ctx: SkinnyEngineContext): Unit

    Permalink
    Definition Classes
    RequestFormatAccessor
  95. val formats: Map[String, String]

    Permalink
    Definition Classes
    ApiFormats
  96. def fromJSONString[A](json: String, underscoreKeys: Boolean, asIs: Boolean)(implicit mf: Manifest[A]): Option[A]

    Permalink
    Definition Classes
    JSONStringOps
  97. def fromJSONStringAsIs[A](json: String)(implicit mf: Manifest[A]): Option[A]

    Permalink
    Definition Classes
    JSONStringOps
  98. def fromJSONStringToJValue(json: String, underscoreKeys: Boolean, asIs: Boolean): Option[JValue]

    Permalink
    Definition Classes
    JSONStringOps
  99. def fromJValue[T](json: JValue)(implicit reader: Reader[T]): T

    Permalink
    Definition Classes
    JSONStringOps
  100. def fullUrl(path: String, params: Iterable[(String, Any)], includeContextPath: Boolean, includeServletPath: Boolean, withSessionId: Boolean)(implicit ctx: SkinnyEngineContext): String

    Permalink
    Definition Classes
    UrlGenerator
  101. def futureWithContext[A](op: (SkinnyEngineContext) ⇒ A)(implicit ec: ExecutionContext, context: SkinnyEngineContext): Future[A]

    Permalink
    Definition Classes
    AsyncOperations
  102. def generateWelcomePageIfAbsent(path: String)(implicit format: Format = Format.HTML): Unit

    Permalink

    Generates a sample page for absent page.

    Generates a sample page for absent page.

    Attributes
    protected
    Definition Classes
    ScalateTemplateEngineFeature
  103. def get(transformers: RouteTransformer*)(action: (engine.Context) ⇒ Any): Route

    Permalink
    Definition Classes
    AsyncRoutingDsl
  104. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  105. def getFromRequestScope[A](key: String)(implicit ctx: SkinnyEngineContext = context): Option[A]

    Permalink

    Fetches value from request scope.

    Fetches value from request scope.

    A

    type

    key

    key

    returns

    value if exists

    Definition Classes
    RequestScopeFeature
  106. def halt(result: ActionResult): Nothing

    Permalink
    Definition Classes
    HaltPassControl
  107. def halt[T](status: Integer, body: T, headers: Map[String, String], reason: String)(implicit arg0: Manifest[T]): Nothing

    Permalink
    Definition Classes
    HaltPassControl
  108. def haltWithBody[A](httpStatus: Int)(implicit ctx: SkinnyEngineContext, format: Format = Format.HTML): A

    Permalink

    Halts with body which responds to the specified format.

    Halts with body which responds to the specified format.

    A

    response type

    httpStatus

    http status

    format

    format (HTML,JSON,XML...)

    returns

    body if possible

    Attributes
    protected
    Definition Classes
    TemplateEngineFeatureSkinnyControllerCommonBase
  109. def handle(req: HttpServletRequest, res: HttpServletResponse): Unit

    Permalink
    Definition Classes
    ScalateSupport → CoreHandler → Handler
  110. def handleForgery(): Unit

    Permalink

    Overrides to skip execution when the current request matches excluded patterns.

    Overrides to skip execution when the current request matches excluded patterns.

    Definition Classes
    CSRFProtectionFeature → CsrfTokenSupport
  111. def handleForgeryIfDetected(): Nothing

    Permalink

    Handles when CSRF is detected.

    Handles when CSRF is detected.

    Definition Classes
    SkinnyWebPageControllerFeaturesCSRFProtectionFeature
  112. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  113. def head(transformers: RouteTransformer*)(action: (engine.Context) ⇒ Any): Route

    Permalink
    Definition Classes
    AsyncRoutingDsl
  114. def inferFromFormats: ContentTypeInferrer

    Permalink
    Attributes
    protected
    Definition Classes
    ApiFormats
  115. def init(filterConfig: FilterConfig): Unit

    Permalink
    Definition Classes
    SkinnyEngineFilterBase
  116. def initParameter(name: String): Option[String]

    Permalink
    Definition Classes
    ServletContextAccessor
  117. def initialize(config: ConfigT): Unit

    Permalink
    Definition Classes
    ScalateSupport → ServletContextAccessor → Initializable
  118. def initializeRequestScopeAttributes(implicit ctx: SkinnyEngineContext = context): Any

    Permalink
    Definition Classes
    RequestScopeFeature
  119. def invoke(matchedRoute: MatchedRoute): Option[Any]

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyEngineBase
  120. def isAsyncExecutable(result: Any): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    AsyncSupport
  121. def isDevelopment(): Boolean

    Permalink

    Predicates current env is "development" or "dev".

    Predicates current env is "development" or "dev".

    returns

    true/false

    Definition Classes
    EnvFeature
  122. def isDevelopmentMode: Boolean

    Permalink

    Replaces Scalatra's development mode with SkinnyEnv.

    Replaces Scalatra's development mode with SkinnyEnv.

    Definition Classes
    EnvFeature → EnvironmentAccessor
  123. def isForged: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    CsrfTokenSupport
  124. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  125. def isProduction(): Boolean

    Permalink

    Predicates current env is "production" or "prod".

    Predicates current env is "production" or "prod".

    returns

    true/false

    Definition Classes
    EnvFeature
  126. def isScalateErrorPageEnabled: Boolean

    Permalink

    To deal with exceptions.

    To deal with exceptions.

    http://www.scalatra.org/guides/views/scalate.html#toc_303

    Definition Classes
    ScalateTemplateEngineFeature → ScalateSupport
  127. def isStaging(): Boolean

    Permalink

    Predicates current env is "staging" or "qa".

    Predicates current env is "staging" or "qa".

    returns

    true/false

    Definition Classes
    EnvFeature
  128. def isTest(): Boolean

    Permalink

    Predicates current env is "test".

    Predicates current env is "test".

    returns

    true/false

    Definition Classes
    EnvFeature
  129. def jade(path: String, attributes: (String, Any)*)(implicit ctx: SkinnyEngineContext, renderCtx: SkinnyEngineRenderContext): String

    Permalink
    Attributes
    protected
    Definition Classes
    ScalateSupport
  130. implicit val jsonFormats: Formats

    Permalink
    Attributes
    protected
    Definition Classes
    JSONStringOpsConfig
  131. def keyAndErrorMessages(implicit ctx: SkinnyEngineContext = context): Map[String, Seq[String]]

    Permalink

    Returns keyAndErrorMessages in the RequestScope.

    Returns keyAndErrorMessages in the RequestScope.

    Definition Classes
    RequestScopeFeature
  132. def layout(path: String)(implicit ctx: SkinnyEngineContext): ScalateTemplateEngineFeature

    Permalink

    Replaces layout template for this action.

    Replaces layout template for this action.

    path

    the layout template path, including extension, e.g. "custom.jade"

    Definition Classes
    ScalateTemplateEngineFeature
  133. def layoutTemplate(path: String, attributes: (String, Any)*)(implicit ctx: SkinnyEngineContext, renderCtx: SkinnyEngineRenderContext): String

    Permalink
    Attributes
    protected
    Definition Classes
    ScalateSupport
  134. def layoutTemplateAs(ext: Set[String])(path: String, attributes: (String, Any)*)(implicit ctx: SkinnyEngineContext, renderCtx: SkinnyEngineRenderContext): String

    Permalink
    Attributes
    protected
    Definition Classes
    ScalateSupport
  135. def logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LoggerProvider
  136. def loggerName: String

    Permalink
    Attributes
    protected
    Definition Classes
    LoggerProvider
  137. implicit def lowestPriorityAny2T[T](implicit arg0: Manifest[T]): engine.implicits.TypeConverter[Any, T]

    Permalink
    Definition Classes
    LowestPriorityImplicits
  138. def methodNotAllowed(f: (Set[HttpMethod]) ⇒ Any): Unit

    Permalink
    Definition Classes
    SkinnyEngineBase
  139. val mimeTypes: Map[String, String]

    Permalink
    Definition Classes
    ApiFormats
  140. def mount(ctx: javax.servlet.ServletContext): Unit

    Permalink
    Definition Classes
    Handler
  141. def multiParams(key: String)(implicit ctx: SkinnyEngineContext): Seq[String]

    Permalink
    Definition Classes
    ParamsAccessor
  142. def multiParams(implicit ctx: SkinnyEngineContext): engine.MultiParams

    Permalink
    Definition Classes
    ParamsAccessor
  143. def mustache(path: String, attributes: (String, Any)*)(implicit ctx: SkinnyEngineContext, renderCtx: SkinnyEngineRenderContext): String

    Permalink
    Attributes
    protected
    Definition Classes
    ScalateSupport
  144. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  145. def notFound(fun: ⇒ Any): Unit

    Permalink
    Definition Classes
    SkinnyEngineBase
  146. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  148. def options(transformers: RouteTransformer*)(action: (engine.Context) ⇒ Any): Route

    Permalink
    Definition Classes
    AsyncRoutingDsl
  149. def params(implicit ctx: SkinnyEngineContext): engine.Params

    Permalink
    Definition Classes
    ParamsAccessor
  150. def params(key: Symbol)(implicit ctx: SkinnyEngineContext): String

    Permalink
    Definition Classes
    ParamsAccessor
  151. def params(key: String)(implicit ctx: SkinnyEngineContext): String

    Permalink
    Definition Classes
    ParamsAccessor
  152. def pass(): Nothing

    Permalink
    Definition Classes
    HaltPassControl
  153. def patch(transformers: RouteTransformer*)(action: (engine.Context) ⇒ Any): Route

    Permalink
    Definition Classes
    AsyncRoutingDsl
  154. implicit def pathPatternParser2RouteMatcher(pattern: PathPattern): RouteMatcher

    Permalink
    Attributes
    protected
    Definition Classes
    RouteMatcherImplicits
  155. def post(transformers: RouteTransformer*)(action: (engine.Context) ⇒ Any): Route

    Permalink
    Definition Classes
    AsyncRoutingDsl
  156. def preferredScalateExtension: String

    Permalink

    The Scalate template type that is searched for first.

    The Scalate template type that is searched for first.

    Definition Classes
    ScalateTemplateEngineFeature
  157. def prefixForJSONVulnerabilityProtection: String

    Permalink
    Attributes
    protected
    Definition Classes
    JSONStringOpsConfig
  158. def prepareCsrfToken(): Any

    Permalink
    Attributes
    protected
    Definition Classes
    CsrfTokenSupport
  159. def protectFromForgery(only: Seq[Symbol] = Nil, except: Seq[Symbol] = Nil): Unit

    Permalink

    Declarative activation of CSRF protection.

    Declarative activation of CSRF protection. Of course, highly inspired by Ruby on Rails.

    only

    should be applied only for these action methods

    except

    should not be applied for these action methods

    Definition Classes
    CSRFProtectionFeature
  160. def put(transformers: RouteTransformer*)(action: (engine.Context) ⇒ Any): Route

    Permalink
    Definition Classes
    AsyncRoutingDsl
  161. def queryMultiParams(implicit ctx: SkinnyEngineContext): engine.MultiParams

    Permalink

    Returns query string multi parameters as a Map value.

    Returns query string multi parameters as a Map value.

    Definition Classes
    QueryParamsFeature
  162. def queryParams(implicit ctx: SkinnyEngineContext): engine.Params

    Permalink

    Returns query string parameters as a Map value.

    Returns query string parameters as a Map value.

    Definition Classes
    QueryParamsFeature
  163. def redirect(uri: String)(implicit ctx: SkinnyEngineContext): Nothing

    Permalink
    Definition Classes
    SkinnyEngineBase
  164. def redirect301(location: String, headers: Map[String, String] = Map.empty, reason: String = "")(implicit ctx: SkinnyEngineContext = context): ActionResult

    Permalink

    Responds as "301 Moved Permanently"

    Responds as "301 Moved Permanently"

    returns

    ActionResult

    Definition Classes
    ExplicitRedirectFeature
  165. def redirect302(location: String, headers: Map[String, String] = Map.empty, reason: String = "")(implicit ctx: SkinnyEngineContext = context): ActionResult

    Permalink

    Responds as "302 Found"

    Responds as "302 Found"

    returns

    ActionResult

    Definition Classes
    ExplicitRedirectFeature
  166. def redirect303(location: String, headers: Map[String, String] = Map.empty, reason: String = "")(implicit ctx: SkinnyEngineContext = context): ActionResult

    Permalink

    Responds as "303 See Other"

    Responds as "303 See Other"

    returns

    ActionResult

    Definition Classes
    ExplicitRedirectFeature
  167. implicit def regex2RouteMatcher(regex: Regex): RouteMatcher

    Permalink
    Attributes
    protected
    Definition Classes
    RouteMatcherImplicits
  168. def relativeUrl(path: String, params: Iterable[(String, Any)], includeContextPath: Boolean, includeServletPath: Boolean)(implicit ctx: SkinnyEngineContext): String

    Permalink
    Definition Classes
    UrlGenerator
  169. def removeRoute(method: String, route: Route): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyEngineBase
  170. def removeRoute(method: HttpMethod, route: Route): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyEngineBase
  171. def render(path: String)(implicit ctx: SkinnyEngineContext, format: Format = Format.HTML): String

    Permalink

    Renders body with template.

    Renders body with template.

    path

    path name

    format

    format (HTML,JSON,XML...)

    returns

    body

    Definition Classes
    TemplateEngineFeature
  172. def renderHaltException(e: HaltException)(implicit ctx: SkinnyEngineContext): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyEngineBase
  173. def renderPipeline(implicit ctx: SkinnyEngineContext): RenderPipeline

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyEngineBase
  174. def renderResponse(actionResult: Any)(implicit ctx: SkinnyEngineContext): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyEngineBase
  175. def renderResponseBody(actionResult: Any)(implicit ctx: SkinnyEngineContext): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyEngineBase
  176. def renderUncaughtException(e: Throwable)(implicit ctx: SkinnyEngineContext): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ScalateSupport → SkinnyEngineBase
  177. def renderWithFormat(entity: Any)(implicit format: engine.Format = Format.HTML): String

    Permalink

    Renders body which responds to the specified format (JSON, XML) if possible.

    Renders body which responds to the specified format (JSON, XML) if possible.

    entity

    entity

    format

    format (HTML,JSON,XML...)

    returns

    body if possible

    Attributes
    protected
    Definition Classes
    SkinnyControllerCommonBase
  178. def renderWithTemplate(path: String)(implicit ctx: SkinnyEngineContext, format: Format = Format.HTML): String

    Permalink

    Renders body with template.

    Renders body with template.

    path

    path name

    format

    format (HTML,JSON,XML...)

    returns

    true/false

    Attributes
    protected
    Definition Classes
    ScalateTemplateEngineFeatureTemplateEngineFeature
  179. def request(implicit ctx: SkinnyEngineContext): HttpServletRequest

    Permalink
    Definition Classes
    SkinnyEngineContextInitializer
  180. def requestFormat(implicit ctx: SkinnyEngineContext): String

    Permalink
    Definition Classes
    ApiFormats
  181. def requestPath(implicit ctx: SkinnyEngineContext): String

    Permalink
    Definition Classes
    SkinnyEngineFilterBase → SkinnyEngineBase
  182. def requestScope(keyAndValues: Seq[(String, Any)])(implicit ctx: SkinnyEngineContext): RequestScopeFeature

    Permalink

    Set attributes to request scope.

    Set attributes to request scope.

    keyAndValues

    collection of key and value.

    returns

    self

    Definition Classes
    RequestScopeFeature
  183. def requestScope(keyAndValue: (String, Any))(implicit ctx: SkinnyEngineContext): RequestScopeFeature

    Permalink

    Set attribute to request scope.

    Set attribute to request scope.

    keyAndValue

    key and value

    returns

    self

    Definition Classes
    RequestScopeFeature
  184. def requestScope(implicit ctx: SkinnyEngineContext = context): Map[String, Any]

    Permalink

    Returns whole request scope attributes.

    Returns whole request scope attributes.

    returns

    whole attributes

    Definition Classes
    RequestScopeFeature
  185. def respondTo: Seq[engine.Format]

    Permalink
    Attributes
    protected
    Definition Classes
    Handler
  186. def response(implicit ctx: SkinnyEngineContext): HttpServletResponse

    Permalink
    Definition Classes
    SkinnyEngineContextInitializer
  187. def responseAsJSON(entity: Any, charset: Option[String], prettify: Boolean, underscoreKeys: Boolean)(implicit ctx: SkinnyEngineContext): String

    Permalink
    Definition Classes
    JSONOperations
  188. def routeBasePath(implicit ctx: SkinnyEngineContext): String

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyEngineFilterBase → SkinnyEngineBase
  189. val routes: RouteRegistry

    Permalink
    Attributes
    protected
    Definition Classes
    RouteRegistryAccessor
  190. def runRoutes(routes: Traversable[Route]): Stream[Any]

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyEngineBase
  191. implicit def safe[S, T](f: (S) ⇒ T): engine.implicits.TypeConverter[S, T]

    Permalink
    Definition Classes
    TypeConverterSupport
  192. implicit def safeOption[S, T](f: (S) ⇒ Option[T]): engine.implicits.TypeConverter[S, T]

    Permalink
    Definition Classes
    TypeConverterSupport
  193. def scalateExtensions: List[String]

    Permalink

    Scalate extension names.

    Scalate extension names. Skinny will search for templates in this order.

    If you'd like to change the search order, or you want to restrict the search to fewer template languages, override this attribute.

    Note that removing unnecessary items from this list will improve the performance of the template engine.

    Definition Classes
    ScalateTemplateEngineFeature
  194. def scalateRenderContextNumberFormat: DecimalFormat

    Permalink

    Creates a DecimalFormat instance to be use by default.

    Creates a DecimalFormat instance to be use by default.

    Definition Classes
    ScalateTemplateEngineFeature
  195. def scaml(path: String, attributes: (String, Any)*)(implicit ctx: SkinnyEngineContext, renderCtx: SkinnyEngineRenderContext): String

    Permalink
    Attributes
    protected
    Definition Classes
    ScalateSupport
  196. def sensitiveParameterNames: Seq[String]

    Permalink

    Returns registered sensitive parameter names.

    Returns registered sensitive parameter names.

    Attributes
    protected
    Definition Classes
    SensitiveParametersFeature
  197. implicit def seqHead[T](implicit elementConverter: engine.implicits.TypeConverter[String, T], mf: Manifest[T]): engine.implicits.TypeConverter[Seq[String], T]

    Permalink
    Definition Classes
    DefaultImplicits
  198. implicit def seqToSeq[T](implicit elementConverter: engine.implicits.TypeConverter[String, T], mf: Manifest[T]): engine.implicits.TypeConverter[Seq[String], Seq[T]]

    Permalink
    Definition Classes
    DefaultImplicits
  199. def serverAuthority(implicit ctx: SkinnyEngineContext): String

    Permalink
    Attributes
    protected
    Definition Classes
    ServletContextAccessor
  200. def serverHost(implicit ctx: SkinnyEngineContext): String

    Permalink
    Definition Classes
    ServletContextAccessor
  201. def serverPort(implicit ctx: SkinnyEngineContext): Int

    Permalink
    Definition Classes
    ServletContextAccessor
  202. implicit def servletContext: javax.servlet.ServletContext

    Permalink
    Definition Classes
    ServletContextAccessor
  203. def session(key: Symbol)(implicit ctx: SkinnyEngineContext): Any

    Permalink
    Definition Classes
    SessionImplicits
  204. def session(key: String)(implicit ctx: SkinnyEngineContext): Any

    Permalink
    Definition Classes
    SessionImplicits
  205. implicit def session(implicit ctx: SkinnyEngineContext): HttpSession

    Permalink
    Definition Classes
    SessionImplicits
  206. def sessionLocaleKey: String

    Permalink

    Session key to store current locale string.

    Session key to store current locale string.

    returns

    key

    Definition Classes
    LocaleFeature
  207. def sessionOption(implicit ctx: SkinnyEngineContext): Option[HttpSession]

    Permalink
    Definition Classes
    SessionImplicits
  208. def set(keyAndValues: Seq[(String, Any)])(implicit ctx: SkinnyEngineContext): RequestScopeFeature

    Permalink

    Set attributes to request scope.

    Set attributes to request scope.

    Definition Classes
    RequestScopeFeature
  209. def set(keyAndValue: (String, Any))(implicit ctx: SkinnyEngineContext): RequestScopeFeature

    Permalink

    Set attribute to request scope.

    Set attribute to request scope.

    Definition Classes
    RequestScopeFeature
  210. def setAsParams(model: Any)(implicit ctx: SkinnyEngineContext = context): Unit

    Permalink

    Set params which is generated from a model object using Java reflection APIs.

    Set params which is generated from a model object using Java reflection APIs.

    model

    model instance

    Definition Classes
    RequestScopeFeature
  211. def setContentTypeIfAbsent()(implicit format: engine.Format = Format.HTML): Unit

    Permalink

    Set Content-Type for the format if absent.

    Set Content-Type for the format if absent.

    format

    format

    Attributes
    protected
    Definition Classes
    SkinnyControllerCommonBase
  212. def setCurrentLocale(locale: String)(implicit ctx: SkinnyEngineContext): Unit

    Permalink

    Set current locale.

    Set current locale.

    locale

    locale string

    Attributes
    protected
    Definition Classes
    LocaleFeature
  213. def setI18n(implicit ctx: SkinnyEngineContext = context): RequestScopeFeature

    Permalink

    Set {{skinny.I18n}} object for the current request to request scope.

    Set {{skinny.I18n}} object for the current request to request scope.

    ctx

    context

    returns

    self

    Definition Classes
    RequestScopeFeature
  214. def setMultiparams[S](matchedRoute: Option[MatchedRoute], originalParams: engine.MultiParams)(implicit ctx: SkinnyEngineContext): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyEngineBase
  215. def setParams(implicit ctx: SkinnyEngineContext = context): Unit

    Permalink

    Set params to request scope.

    Set params to request scope.

    Definition Classes
    RequestScopeFeature
  216. def setParamsToRequestScope(implicit ctx: SkinnyEngineContext = context): Unit

    Permalink

    Set params to request scope.

    Set params to request scope.

    Definition Classes
    RequestScopeFeature
  217. def shutdown(): Unit

    Permalink
    Definition Classes
    ScalateSupport → Initializable
  218. def skinnyEngineContext(implicit ctx: javax.servlet.ServletContext): SkinnyEngineContext

    Permalink
    Definition Classes
    SkinnyEngineContextInitializer
  219. implicit def skinnyEngineRenderContext: SkinnyEngineRenderContext

    Permalink
    Definition Classes
    ScalateSupport
  220. def skinnyEnv: Option[String]

    Permalink

    Env string value from "skinny.env" or "org.scalatra.environment".

    Env string value from "skinny.env" or "org.scalatra.environment".

    returns

    env string such as "production"

    Definition Classes
    EnvFeature
  221. lazy val skinnyErrorFilters: TrieMap[RenderingRequired, Seq[ErrorHandler]]

    Permalink

    Registered error handlers.

    Registered error handlers.

    Attributes
    protected
    Definition Classes
    SkinnyFilterActivation
  222. implicit def skinnyValidatorSafe[S, T](f: (S) ⇒ T): ParamValueTypeConverter[S, T]

    Permalink
    Definition Classes
    ParametersGetAsImplicits
  223. implicit def skinnyValidatorSafeOption[S, T](f: (S) ⇒ Option[T]): ParamValueTypeConverter[S, T]

    Permalink
    Definition Classes
    ParametersGetAsImplicits
  224. implicit def skinnyValidatorSeqHead[T](implicit elementConverter: ParamValueTypeConverter[String, T], mf: Manifest[T]): ParamValueTypeConverter[Seq[String], T]

    Permalink
    Definition Classes
    ParametersGetAsImplicits
  225. implicit def skinnyValidatorSeqToSeq[T](implicit elementConverter: ParamValueTypeConverter[String, T], mf: Manifest[T]): ParamValueTypeConverter[Seq[String], Seq[T]]

    Permalink
    Definition Classes
    ParametersGetAsImplicits
  226. implicit val skinnyValidatorStringToBoolean: ParamValueTypeConverter[String, Boolean]

    Permalink
    Definition Classes
    ParametersGetAsImplicits
  227. implicit val skinnyValidatorStringToByte: ParamValueTypeConverter[String, Byte]

    Permalink
    Definition Classes
    ParametersGetAsImplicits
  228. def skinnyValidatorStringToDate(format: ⇒ String): ParamValueTypeConverter[String, Date]

    Permalink
    Definition Classes
    ParametersGetAsImplicits
  229. def skinnyValidatorStringToDateFormat(format: ⇒ DateFormat): ParamValueTypeConverter[String, Date]

    Permalink
    Definition Classes
    ParametersGetAsImplicits
  230. implicit val skinnyValidatorStringToDouble: ParamValueTypeConverter[String, Double]

    Permalink
    Definition Classes
    ParametersGetAsImplicits
  231. implicit val skinnyValidatorStringToFloat: ParamValueTypeConverter[String, Float]

    Permalink
    Definition Classes
    ParametersGetAsImplicits
  232. implicit val skinnyValidatorStringToInt: ParamValueTypeConverter[String, Int]

    Permalink
    Definition Classes
    ParametersGetAsImplicits
  233. implicit val skinnyValidatorStringToLong: ParamValueTypeConverter[String, Long]

    Permalink
    Definition Classes
    ParametersGetAsImplicits
  234. implicit val skinnyValidatorStringToSelf: ParamValueTypeConverter[String, String]

    Permalink
    Definition Classes
    ParametersGetAsImplicits
  235. def skinnyValidatorStringToSeq[T](elementConverter: ParamValueTypeConverter[String, T], separator: String)(implicit arg0: Manifest[T]): ParamValueTypeConverter[String, Seq[T]]

    Permalink
    Definition Classes
    ParametersGetAsImplicits
  236. implicit val skinnyValidatorStringToShort: ParamValueTypeConverter[String, Short]

    Permalink
    Definition Classes
    ParametersGetAsImplicits
  237. implicit def skinnyValidator_defaultStringToSeq[T](implicit elementConverter: ParamValueTypeConverter[String, T], mf: Manifest[T]): ParamValueTypeConverter[String, Seq[T]]

    Permalink
    Definition Classes
    ParametersGetAsImplicits
  238. def ssp(path: String, attributes: (String, Any)*)(implicit ctx: SkinnyEngineContext, renderCtx: SkinnyEngineRenderContext): String

    Permalink
    Attributes
    protected
    Definition Classes
    ScalateSupport
  239. def stackTraceDepthForTimeLogging: Int

    Permalink
    Attributes
    protected
    Definition Classes
    TimeLogging
  240. def status(implicit ctx: SkinnyEngineContext): Int

    Permalink
    Definition Classes
    ResponseStatusAccessor
  241. def status_=(code: Int)(implicit ctx: SkinnyEngineContext): Unit

    Permalink
    Definition Classes
    ResponseStatusAccessor
  242. implicit def string2RouteMatcher(path: String): RouteMatcher

    Permalink
    Attributes
    protected
    Definition Classes
    RouteMatcherImplicits
  243. implicit val stringToBoolean: engine.implicits.TypeConverter[String, Boolean]

    Permalink
    Definition Classes
    DefaultImplicits
  244. implicit val stringToByte: engine.implicits.TypeConverter[String, Byte]

    Permalink
    Definition Classes
    DefaultImplicits
  245. def stringToDate(format: ⇒ String): engine.implicits.TypeConverter[String, Date]

    Permalink
    Definition Classes
    DefaultImplicits
  246. def stringToDateFormat(format: ⇒ DateFormat): engine.implicits.TypeConverter[String, Date]

    Permalink
    Definition Classes
    DefaultImplicits
  247. implicit val stringToDouble: engine.implicits.TypeConverter[String, Double]

    Permalink
    Definition Classes
    DefaultImplicits
  248. implicit val stringToFloat: engine.implicits.TypeConverter[String, Float]

    Permalink
    Definition Classes
    DefaultImplicits
  249. implicit val stringToInt: engine.implicits.TypeConverter[String, Int]

    Permalink
    Definition Classes
    DefaultImplicits
  250. implicit val stringToLong: engine.implicits.TypeConverter[String, Long]

    Permalink
    Definition Classes
    DefaultImplicits
  251. implicit def stringToRicherString(s: String): RicherString

    Permalink
    Definition Classes
    RicherStringImplicits
  252. implicit val stringToSelf: engine.implicits.TypeConverter[String, String]

    Permalink
    Definition Classes
    DefaultImplicits
  253. def stringToSeq[T](elementConverter: engine.implicits.TypeConverter[String, T], separator: String)(implicit arg0: Manifest[T]): engine.implicits.TypeConverter[String, Seq[T]]

    Permalink
    Definition Classes
    DefaultImplicits
  254. implicit val stringToShort: engine.implicits.TypeConverter[String, Short]

    Permalink
    Definition Classes
    DefaultImplicits
  255. def sweepUnusedFlashEntries(req: HttpServletRequest): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    FlashMapSupport
  256. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  257. def templateAttributes(key: String)(implicit ctx: SkinnyEngineContext): Any

    Permalink
    Attributes
    protected
    Definition Classes
    ScalateSupport
  258. def templateAttributes(implicit ctx: SkinnyEngineContext): Map[String, Any]

    Permalink
    Attributes
    protected
    Definition Classes
    ScalateSupport
  259. var templateEngine: TemplateEngine

    Permalink
    Attributes
    protected[skinny]
    Definition Classes
    ScalateSupport
  260. def templateExists(path: String)(implicit format: Format = Format.HTML): Boolean

    Permalink

    Predicates the template path is available.

    Predicates the template path is available.

    path

    path name

    format

    format (HTML,JSON,XML...)

    returns

    true/false

    Attributes
    protected
    Definition Classes
    ScalateTemplateEngineFeatureTemplateEngineFeature
  261. def templatePaths(path: String)(implicit format: Format = Format.HTML): List[String]

    Permalink

    Returns the actual template path for the name.

    Returns the actual template path for the name.

    path

    path name

    format

    format (HTML,JSON,XML...)

    returns

    actual path

    Attributes
    protected
    Definition Classes
    ScalateTemplateEngineFeatureTemplateEngineFeature
  262. def toJSON(v: Any): JValue

    Permalink
    Definition Classes
    JSONStringOps
  263. def toJSONString(v: Any, underscoreKeys: Boolean): String

    Permalink
    Definition Classes
    JSONStringOps
  264. def toJSONStringAsIs(v: Any): String

    Permalink
    Definition Classes
    JSONStringOps
  265. def toPrettyJSONString(v: Any, underscoreKeys: Boolean): String

    Permalink
    Definition Classes
    JSONStringOps
  266. def toPrettyJSONStringAsIs(v: Any): String

    Permalink
    Definition Classes
    JSONStringOps
  267. def toSnakeCase(s: String): String

    Permalink

    Converts string value to snake_case'd value.

    Converts string value to snake_case'd value.

    s

    string value

    returns

    snake_case'd value

    Attributes
    protected
    Definition Classes
    SkinnyControllerCommonBase
  268. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  269. def toTemplatePath(path: String, format: Format, ext: String): String

    Permalink
    Attributes
    protected
    Definition Classes
    ScalateTemplateEngineFeature
  270. implicit def toTypedMultiParams(params: engine.MultiParams): TypedMultiParams

    Permalink
    Definition Classes
    EngineParamsImplicits
  271. implicit def toTypedParams(params: engine.Params): TypedParams

    Permalink
    Definition Classes
    EngineParamsImplicits
  272. def trap(code: Int)(block: (engine.Context) ⇒ Any): Unit

    Permalink
    Definition Classes
    AsyncRoutingDsl
  273. def trap(codes: Range)(block: (engine.Context) ⇒ Any): Unit

    Permalink
    Definition Classes
    AsyncRoutingDsl
  274. def url(route: Route, params: Map[String, String], splats: Iterable[String])(implicit ctx: SkinnyEngineContext): String

    Permalink
    Definition Classes
    UrlGeneratorSupport
  275. def url(route: Route, splat: String, moreSplats: String*)(implicit ctx: SkinnyEngineContext): String

    Permalink
    Definition Classes
    UrlGeneratorSupport
  276. def url(route: Route, params: (String, String)*)(implicit ctx: SkinnyEngineContext): String

    Permalink
    Definition Classes
    UrlGeneratorSupport
  277. def url(path: String, params: Iterable[(String, Any)], includeContextPath: Boolean, includeServletPath: Boolean, absolutize: Boolean, withSessionId: Boolean)(implicit ctx: SkinnyEngineContext): String

    Permalink
    Definition Classes
    UrlGenerator
  278. def useJSONVulnerabilityProtection: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    JSONStringOpsConfig
  279. def useSnakeCasedParamKeys: Boolean

    Permalink

    Defines use snake_case'd keys.

    Defines use snake_case'd keys.

    returns

    true if use snake_case keys (default: false)

    Attributes
    protected
    Definition Classes
    SnakeCasedParamKeysFeature
  280. def useUnderscoreKeysForJSON: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    JSONStringOpsConfig
  281. def validation(params: Params, validations: NewValidation*)(implicit locale: Locale = ...): MapValidator

    Permalink

    Creates new validation form.

    Creates new validation form.

    params

    params

    validations

    validations

    locale

    current locale

    returns

    validator

    Definition Classes
    ValidationFeature
  282. def validationWithParams(validations: NewValidation*)(implicit locale: Locale = ...): MapValidator

    Permalink

    Creates new validation form.

    Creates new validation form.

    validations

    validations

    locale

    current locale

    returns

    validator

    Definition Classes
    ValidationFeature
  283. def validationWithParamsAndPrefix(prefix: String, params: Params, validations: NewValidation*)(implicit locale: Locale = ...): MapValidator

    Permalink

    Creates new validation form.

    Creates new validation form.

    prefix

    key prefix for error message

    params

    params

    validations

    validations

    locale

    current locale

    returns

    validator

    Definition Classes
    ValidationFeature
  284. def validationWithPrefix(params: Params, prefix: String, validations: NewValidation*)(implicit ctx: SkinnyEngineContext): MapValidator

    Permalink

    Creates new validation form.

    Creates new validation form.

    params

    params

    prefix

    key prefix for error message

    validations

    validations

    returns

    validator

    Definition Classes
    ValidationFeature
  285. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  288. def warnElapsedTime[A](millis: Long, additionalLines: ⇒ Seq[String])(action: ⇒ A): A

    Permalink
    Definition Classes
    TimeLogging
  289. def warnElapsedTimeWithRequest[A](millis: Long, additionalLines: Seq[String] = Nil)(action: ⇒ A)(implicit context: SkinnyEngineContext): A

    Permalink
    Definition Classes
    TimeLoggingFeature
  290. def withFormat[A](format: engine.Format)(action: ⇒ A): A

    Permalink

    Provides code block with format.

    Provides code block with format. If absent, halt as status 406.

    A

    response type

    format

    format

    action

    action

    returns

    result

    Attributes
    protected
    Definition Classes
    SkinnyControllerCommonBase
  291. def withOutputStream(f: (ServletOutputStream) ⇒ Unit): Unit

    Permalink
    Definition Classes
    ChunkedResponseFeature
  292. def withRequest[A](request: HttpServletRequest)(f: ⇒ A): A

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyEngineContextInitializer
  293. def withRequestResponse[A](request: HttpServletRequest, response: HttpServletResponse)(f: ⇒ A): A

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyEngineContextInitializer
  294. def withResponse[A](response: HttpServletResponse)(f: ⇒ A): A

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyEngineContextInitializer
  295. def withRouteMultiParams[S](matchedRoute: Option[MatchedRoute])(thunk: ⇒ S): S

    Permalink
    Attributes
    protected
    Definition Classes
    ApiFormats → SkinnyEngineBase
  296. def writeChunk(chunk: Array[Byte])(implicit stream: ServletOutputStream = response.getOutputStream): Unit

    Permalink
    Definition Classes
    ChunkedResponseFeature
  297. lazy val xFrameOptionsPolicy: String

    Permalink
    Definition Classes
    XFrameOptionsHeaderFeature
  298. def xmlItemName: String

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyControllerCommonBase
  299. def xmlRootName: String

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyControllerCommonBase

Deprecated Value Members

  1. def futureWithRequest[A](op: (HttpServletRequest) ⇒ A)(implicit ec: ExecutionContext, ctx: SkinnyEngineContext): Future[A]

    Permalink
    Definition Classes
    AsyncOperations
    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) Use futureWithContext instead

  2. def renderTemplate(path: String, attributes: (String, Any)*)(implicit ctx: SkinnyEngineRenderContext): Unit

    Permalink
    Definition Classes
    ScalateSupport
    Annotations
    @deprecated
    Deprecated

    (Since version 1.4) not idiomatic Scalate; consider layoutTemplate instead

  3. def responseFormat(implicit ctx: SkinnyEngineContext): String

    Permalink
    Definition Classes
    ApiFormats
    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) format now means the same as responseFormat, responseFormat will be removed eventually

Inherited from CSRFProtectionFeature

Inherited from CsrfTokenSupport

Inherited from ScalateSupport

Inherited from TemplateEngineFeature

Inherited from FlashFeature

Inherited from FlashMapSupport

Inherited from AsyncSkinnyControllerBase

Inherited from SkinnyFilterActivation

Inherited from ParamsPermitImplicits

Inherited from ParametersGetAsImplicits

Inherited from RoutesAsImplicits

Inherited from ThreadLocalRequestFeature

Inherited from TimeLoggingFeature

Inherited from TimeLogging

Inherited from ValidationFeature

Inherited from JSONFeature

Inherited from BeforeAfterActionFeature

Inherited from ChunkedResponseFeature

Inherited from RequestScopeFeature

Inherited from LocaleFeature

Inherited from BeforeAfterDsl

Inherited from ActionDefinitionFeature

Inherited from ExplicitRedirectFeature

Inherited from UrlGeneratorSupport

Inherited from FormParamsFeature

Inherited from QueryParamsFeature

Inherited from EnvFeature

Inherited from ApiFormats

Inherited from AsyncSkinnyEngineFilter

Inherited from AsyncFeatures

Inherited from JSONStringOpsConfig

Inherited from JSONOperations

Inherited from JSONStringOps

Inherited from AsyncBeforeAfterDsl

Inherited from AsyncRoutingDsl

Inherited from AsyncSupport

Inherited from AsyncOperations

Inherited from SkinnyEngineFilterBase

Inherited from SkinnyEngineBase

Inherited from SessionImplicits

Inherited from DefaultImplicits

Inherited from LowPriorityImplicits

Inherited from LowestPriorityImplicits

Inherited from engine.implicits.TypeConverterSupport

Inherited from EngineParamsImplicits

Inherited from CookiesImplicits

Inherited from RouteMatcherImplicits

Inherited from HaltPassControl

Inherited from UrlGenerator

Inherited from ResponseStatusAccessor

Inherited from ResponseContentTypeAccessor

Inherited from RequestFormatAccessor

Inherited from ParamsAccessor

Inherited from EnvironmentAccessor

Inherited from ErrorHandlerAccessor

Inherited from AsyncSupported

Inherited from CoreHandler

Inherited from Handler

Inherited from logging.LoggerProvider

Inherited from ServletContextAccessor

Inherited from RicherStringImplicits

Inherited from ServletApiImplicits

Inherited from RouteRegistryAccessor

Inherited from SkinnyEngineContextInitializer

Inherited from Initializable

Inherited from Filter

Inherited from AnyRef

Inherited from Any

Ungrouped