Trait

skinny.controller

SkinnyWebPageControllerFeatures

Related Doc: package controller

Permalink

trait SkinnyWebPageControllerFeatures extends SkinnyControllerCommonBase with FlashFeature with TemplateEngineFeature with ScalateTemplateEngineFeature with CSRFProtectionFeature with XXSSProtectionHeaderFeature with XFrameOptionsHeaderFeature

Additional web pages specific features for SkinnyControllers.

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

Type Members

  1. trait Config extends AnyRef

    Permalink
    Definition Classes
    Initializable
  2. abstract type ConfigT <: AnyRef { ... /* 3 definitions in type refinement */ }

    Permalink
    Definition Classes
    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

Abstract Value Members

  1. abstract val doNotFound: Action

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyEngineBase
  2. abstract def requestPath(implicit ctx: SkinnyEngineContext): String

    Permalink
    Definition Classes
    SkinnyEngineBase
  3. abstract def routeBasePath(implicit ctx: SkinnyEngineContext): String

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyEngineBase

Concrete 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 after(transformers: RouteTransformer*)(fun: ⇒ Any): Unit

    Permalink
    Definition Classes
    BeforeAfterDsl
  14. 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
  15. 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
  16. implicit val anyToBoolean: engine.implicits.TypeConverter[Any, Boolean]

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    BeforeAfterDsl
  27. 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
  28. 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
  29. implicit def booleanBlock2RouteMatcher(block: ⇒ Boolean): RouteMatcher

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

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

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

    Permalink
    Definition Classes
    JSONStringOps
  33. var config: ConfigT

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

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

    Permalink
    Definition Classes
    ResponseContentTypeAccessor
  36. def contentTypeInferrer: ContentTypeInferrer

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

    Permalink
    Definition Classes
    ResponseContentTypeAccessor
  38. def context: SkinnyEngineContext

    Permalink
    Definition Classes
    SkinnyEngineContextInitializer
  39. def contextPath: String

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

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

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

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

    Permalink
    Definition Classes
    CookiesImplicits
  44. 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
  45. 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
  46. def createSkinnyEngineRenderContext(ctx: SkinnyEngineContext): SkinnyEngineRenderContext

    Permalink
    Attributes
    protected
    Definition Classes
    ScalateTemplateEngineFeature
  47. 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
  48. def csrfKey: String

    Permalink

    Overrides Scalatra's default key name.

    Overrides Scalatra's default key name.

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

    Permalink
    Attributes
    protected[skinny]
    Definition Classes
    CsrfTokenSupport
  50. 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
  51. def currentErrorHandler: ErrorHandler

    Permalink
    Attributes
    protected
    Definition Classes
    ErrorHandlerAccessor
  52. 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
  53. def defaultAcceptedFormats: List[Symbol]

    Permalink
    Definition Classes
    ApiFormats
  54. val defaultCharacterEncoding: String

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

    Permalink
    Definition Classes
    ApiFormats
  56. def defaultIndexName: String

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

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

    Permalink

    Returns default locale.

    Returns default locale.

    Attributes
    protected
    Definition Classes
    LocaleFeature
  59. def defaultObjectMapper: ObjectMapper

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

    Permalink
    Definition Classes
    DefaultImplicits
  61. def defaultTemplateFormat: String

    Permalink
    Attributes
    protected
    Definition Classes
    ScalateSupport
  62. 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
  63. def detectTooManyErrorFilterRegistrationAsAnErrorAtSkinnyEngineBase: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    ErrorHandlerAccessor
  64. implicit def enrichRequest(request: HttpServletRequest): RichRequest

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

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

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

    Permalink
    Definition Classes
    ServletApiImplicits
  68. def environment: String

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

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

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

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

    Permalink

    Returns errorMessages in the RequestScope.

    Returns errorMessages in the RequestScope.

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyEngineBase
  76. def finalize(): Unit

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

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

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

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

    Permalink
    Definition Classes
    FlashMapSupport
  81. 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
  82. 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
  83. def format(implicit ctx: SkinnyEngineContext): String

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    UrlGenerator
  92. 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
  93. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  94. 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
  95. def halt(result: ActionResult): Nothing

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

    Permalink
    Definition Classes
    HaltPassControl
  97. 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
  98. def handle(req: HttpServletRequest, res: HttpServletResponse): Unit

    Permalink
    Definition Classes
    ScalateSupport → CoreHandler → Handler
  99. 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
  100. def handleForgeryIfDetected(): Nothing

    Permalink

    Handles when CSRF is detected.

    Handles when CSRF is detected.

    Definition Classes
    SkinnyWebPageControllerFeaturesCSRFProtectionFeature
  101. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  102. def inferFromFormats: ContentTypeInferrer

    Permalink
    Attributes
    protected
    Definition Classes
    ApiFormats
  103. def initParameter(name: String): Option[String]

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

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyEngineBase
  108. def isDevelopment(): Boolean

    Permalink

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

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

    returns

    true/false

    Definition Classes
    EnvFeature
  109. def isDevelopmentMode: Boolean

    Permalink

    Replaces Scalatra's development mode with SkinnyEnv.

    Replaces Scalatra's development mode with SkinnyEnv.

    Definition Classes
    EnvFeature → EnvironmentAccessor
  110. def isForged: Boolean

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

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

    Permalink

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

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

    returns

    true/false

    Definition Classes
    EnvFeature
  113. 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
  114. def isStaging(): Boolean

    Permalink

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

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

    returns

    true/false

    Definition Classes
    EnvFeature
  115. def isTest(): Boolean

    Permalink

    Predicates current env is "test".

    Predicates current env is "test".

    returns

    true/false

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

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

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

    Permalink

    Returns keyAndErrorMessages in the RequestScope.

    Returns keyAndErrorMessages in the RequestScope.

    Definition Classes
    RequestScopeFeature
  119. 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
  120. def layoutTemplate(path: String, attributes: (String, Any)*)(implicit ctx: SkinnyEngineContext, renderCtx: SkinnyEngineRenderContext): String

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  135. def params(implicit ctx: SkinnyEngineContext): engine.Params

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

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

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

    Permalink
    Definition Classes
    HaltPassControl
  139. implicit def pathPatternParser2RouteMatcher(pattern: PathPattern): RouteMatcher

    Permalink
    Attributes
    protected
    Definition Classes
    RouteMatcherImplicits
  140. 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
  141. def prefixForJSONVulnerabilityProtection: String

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

    Permalink
    Attributes
    protected
    Definition Classes
    CsrfTokenSupport
  143. 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
  144. 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
  145. 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
  146. def redirect(uri: String)(implicit ctx: SkinnyEngineContext): Nothing

    Permalink
    Definition Classes
    SkinnyEngineBase
  147. 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
  148. 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
  149. 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
  150. implicit def regex2RouteMatcher(regex: Regex): RouteMatcher

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyEngineBase
  154. 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
  155. def renderHaltException(e: HaltException)(implicit ctx: SkinnyEngineContext): Unit

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

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    ScalateSupport → SkinnyEngineBase
  160. 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
  161. 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
  162. def request(implicit ctx: SkinnyEngineContext): HttpServletRequest

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

    Permalink
    Definition Classes
    ApiFormats
  164. 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
  165. 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
  166. 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
  167. def respondTo: Seq[engine.Format]

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

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

    Permalink
    Definition Classes
    JSONOperations
  170. val routes: RouteRegistry

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

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

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

    Permalink
    Definition Classes
    TypeConverterSupport
  174. 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
  175. 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
  176. def scaml(path: String, attributes: (String, Any)*)(implicit ctx: SkinnyEngineContext, renderCtx: SkinnyEngineRenderContext): String

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

    Permalink

    Returns registered sensitive parameter names.

    Returns registered sensitive parameter names.

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

    Permalink
    Definition Classes
    DefaultImplicits
  179. 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
  180. def serverAuthority(implicit ctx: SkinnyEngineContext): String

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

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

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

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

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

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

    Permalink
    Definition Classes
    SessionImplicits
  187. def sessionLocaleKey: String

    Permalink

    Session key to store current locale string.

    Session key to store current locale string.

    returns

    key

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

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

    Permalink

    Set attributes to request scope.

    Set attributes to request scope.

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

    Permalink

    Set attribute to request scope.

    Set attribute to request scope.

    Definition Classes
    RequestScopeFeature
  191. 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
  192. 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
  193. def setCurrentLocale(locale: String)(implicit ctx: SkinnyEngineContext): Unit

    Permalink

    Set current locale.

    Set current locale.

    locale

    locale string

    Attributes
    protected
    Definition Classes
    LocaleFeature
  194. 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
  195. def setMultiparams[S](matchedRoute: Option[MatchedRoute], originalParams: engine.MultiParams)(implicit ctx: SkinnyEngineContext): Unit

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

    Permalink

    Set params to request scope.

    Set params to request scope.

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

    Permalink

    Set params to request scope.

    Set params to request scope.

    Definition Classes
    RequestScopeFeature
  198. def shutdown(): Unit

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

    Permalink
    Definition Classes
    SkinnyEngineContextInitializer
  200. implicit def skinnyEngineRenderContext: SkinnyEngineRenderContext

    Permalink
    Definition Classes
    ScalateSupport
  201. 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
  202. lazy val skinnyErrorFilters: TrieMap[RenderingRequired, Seq[ErrorHandler]]

    Permalink

    Registered error handlers.

    Registered error handlers.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    DefaultImplicits
  234. 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
  235. implicit val stringToShort: engine.implicits.TypeConverter[String, Short]

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

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

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

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

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

    Permalink
    Attributes
    protected[skinny]
    Definition Classes
    ScalateSupport
  241. 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
  242. 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
  243. def toJSON(v: Any): JValue

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

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

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

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

    Permalink
    Definition Classes
    JSONStringOps
  248. 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
  249. def toString(): String

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    UrlGenerator
  257. def useJSONVulnerabilityProtection: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    JSONStringOpsConfig
  258. 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
  259. def useUnderscoreKeysForJSON: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    JSONStringOpsConfig
  260. 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
  261. 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
  262. 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
  263. 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
  264. final def wait(): Unit

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

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

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

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

    Permalink
    Definition Classes
    TimeLoggingFeature
  269. 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
  270. def withOutputStream(f: (ServletOutputStream) ⇒ Unit): Unit

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

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

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

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

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

    Permalink
    Definition Classes
    ChunkedResponseFeature
  276. lazy val xFrameOptionsPolicy: String

    Permalink
    Definition Classes
    XFrameOptionsHeaderFeature
  277. def xmlItemName: String

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

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyControllerCommonBase

Deprecated Value Members

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

  2. 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 JSONOperations

Inherited from FlashFeature

Inherited from FlashMapSupport

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 JSONStringOpsConfig

Inherited from JSONStringOps

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 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 AnyRef

Inherited from Any

Ungrouped