Trait

skinny.filter

SkinnyRenderingFilter

Related Doc: package filter

Permalink

trait SkinnyRenderingFilter extends SkinnyFilter with SkinnyWebPageControllerFeatures

Skinny Rendering Filter.

If you use Scatatra's filter (before/after not beforeAction/afterAction), be careful. It's pretty tricky. Scalatra's filters would be applied for all the controllers defined below in ScalatraBootstrap.

Linear Supertypes
SkinnyWebPageControllerFeatures, XFrameOptionsHeaderFeature, XXSSProtectionHeaderFeature, CSRFProtectionFeature, CSRFTokenSupport, ScalateTemplateEngineFeature, ScalateSupport, TemplateEngineFeature, FlashFeature, FlashMapSupport, SkinnyFilter, controller.SkinnyControllerBase, ThreadLocalFeatures, RoutingDsl, RoutingDslBase, MainThreadLocalEverywhere, SkinnyControllerCommonBase, SkinnyFilterActivation, ParamsPermitImplicits, ParametersGetAsImplicits, RoutesAsImplicits, XContentTypeOptionsNosniffHeaderFeature, ThreadLocalRequestFeature, TimeLoggingFeature, SensitiveParametersFeature, TimeLogging, ValidationFeature, JSONFeature, JSONSupport, JSONStringOps, BeforeAfterActionFeature, ChunkedResponseFeature, ChunkedResponseSupport, RequestScopeFeature, LocaleFeature, SnakeCasedParamKeysFeature, BeforeAfterDsl, ActionDefinitionFeature, ExplicitRedirectFeature, UrlGeneratorSupport, FormParamsFeature, QueryParamsFeature, EnvFeature, ApiFormats, SkinnyMicroBase, SessionImplicits, DefaultImplicits, LowPriorityImplicits, LowestPriorityImplicits, micro.implicits.TypeConverterSupport, SkinnyMicroParamsImplicits, CookiesImplicits, RouteMatcherImplicits, HaltPassControl, UrlGenerator, ResponseStatusAccessor, ResponseContentTypeAccessor, RequestFormatAccessor, FormParamsAccessor, QueryParamsAccessor, ParamsAccessor, EnvAccessor, ErrorHandlerAccessor, RedirectionDsl, AsyncSupported, CoreHandler, Handler, logging.LoggerProvider, ServletContextAccessor, RicherStringImplicits, ServletApiImplicits, RouteRegistryAccessor, UnstableAccessValidationConfig, SkinnyContextInitializer, Initializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SkinnyRenderingFilter
  2. SkinnyWebPageControllerFeatures
  3. XFrameOptionsHeaderFeature
  4. XXSSProtectionHeaderFeature
  5. CSRFProtectionFeature
  6. CSRFTokenSupport
  7. ScalateTemplateEngineFeature
  8. ScalateSupport
  9. TemplateEngineFeature
  10. FlashFeature
  11. FlashMapSupport
  12. SkinnyFilter
  13. SkinnyControllerBase
  14. ThreadLocalFeatures
  15. RoutingDsl
  16. RoutingDslBase
  17. MainThreadLocalEverywhere
  18. SkinnyControllerCommonBase
  19. SkinnyFilterActivation
  20. ParamsPermitImplicits
  21. ParametersGetAsImplicits
  22. RoutesAsImplicits
  23. XContentTypeOptionsNosniffHeaderFeature
  24. ThreadLocalRequestFeature
  25. TimeLoggingFeature
  26. SensitiveParametersFeature
  27. TimeLogging
  28. ValidationFeature
  29. JSONFeature
  30. JSONSupport
  31. JSONStringOps
  32. BeforeAfterActionFeature
  33. ChunkedResponseFeature
  34. ChunkedResponseSupport
  35. RequestScopeFeature
  36. LocaleFeature
  37. SnakeCasedParamKeysFeature
  38. BeforeAfterDsl
  39. ActionDefinitionFeature
  40. ExplicitRedirectFeature
  41. UrlGeneratorSupport
  42. FormParamsFeature
  43. QueryParamsFeature
  44. EnvFeature
  45. ApiFormats
  46. SkinnyMicroBase
  47. SessionImplicits
  48. DefaultImplicits
  49. LowPriorityImplicits
  50. LowestPriorityImplicits
  51. TypeConverterSupport
  52. SkinnyMicroParamsImplicits
  53. CookiesImplicits
  54. RouteMatcherImplicits
  55. HaltPassControl
  56. UrlGenerator
  57. ResponseStatusAccessor
  58. ResponseContentTypeAccessor
  59. RequestFormatAccessor
  60. FormParamsAccessor
  61. QueryParamsAccessor
  62. ParamsAccessor
  63. EnvAccessor
  64. ErrorHandlerAccessor
  65. RedirectionDsl
  66. AsyncSupported
  67. CoreHandler
  68. Handler
  69. LoggerProvider
  70. ServletContextAccessor
  71. RicherStringImplicits
  72. ServletApiImplicits
  73. RouteRegistryAccessor
  74. UnstableAccessValidationConfig
  75. SkinnyContextInitializer
  76. Initializable
  77. AnyRef
  78. 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 SkinnyMicroTemplateEngine extends AnyRef

    Permalink
    Definition Classes
    ScalateSupport
  5. sealed class TypedMultiParams extends AnyRef

    Permalink
    Definition Classes
    SkinnyMicroParamsImplicits
  6. sealed class TypedParams extends AnyRef

    Permalink
    Definition Classes
    SkinnyMicroParamsImplicits

Abstract Value Members

  1. abstract val doNotFound: Action

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

    Permalink
    Definition Classes
    SkinnyMicroBase
  3. abstract def routeBasePath(implicit ctx: SkinnyContext): String

    Permalink
    Attributes
    protected
    Definition Classes
    RoutingDslBase

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: SkinnyContext = 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 addRenderingErrorFilter(handler: ErrorHandler): Unit

    Permalink

    Adds error handler which renders body to SkinnyController.

  14. def addRoute(method: HttpMethod, transformers: Seq[RouteTransformer], action: ⇒ Any): Route

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

    Permalink
    Definition Classes
    BeforeAfterDsl
  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: micro.implicits.TypeConverter[Any, Boolean]

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

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

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

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

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

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

    Permalink
    Definition Classes
    LowPriorityImplicits
  25. implicit val anyToString: micro.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 before(transformers: RouteTransformer*)(fun: ⇒ Any): Unit

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

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

    Permalink
    Definition Classes
    SkinnyMicroBase
  33. def clone(): AnyRef

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

    Permalink
    Definition Classes
    JSONStringOps
  35. var config: ConfigT

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

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

    Permalink
    Definition Classes
    ResponseContentTypeAccessor
  38. def contentTypeInferrer: ContentTypeInferrer

    Permalink
    Attributes
    protected
    Definition Classes
    ApiFormats → SkinnyMicroBase
  39. def contentType_=(contentType: String)(implicit ctx: SkinnyContext): Unit

    Permalink
    Definition Classes
    ResponseContentTypeAccessor
  40. def context: SkinnyContext

    Permalink
    Definition Classes
    SkinnyContextInitializer
  41. def contextPath: String

    Permalink
    Definition Classes
    ServletContextAccessor
  42. implicit def convertParamsToStrongParameters(params: micro.Params): StrongParameters

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

    Permalink
    Definition Classes
    RoutesAsImplicits
  44. implicit def cookieOptions(implicit ctx: SkinnyContext): CookieOptions

    Permalink
    Definition Classes
    CookiesImplicits
  45. def cookies(implicit ctx: SkinnyContext): SweetCookies

    Permalink
    Definition Classes
    CookiesImplicits
  46. 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
  47. def createRenderContext(out: PrintWriter)(implicit ctx: SkinnyContext): SkinnyScalateRenderContext

    Permalink

    Creates a RenderContext instance for Skinny app.

    Creates a RenderContext instance for Skinny app.

    Attributes
    protected
    Definition Classes
    ScalateTemplateEngineFeature → ScalateSupport
  48. def createSkinnyScalateRenderContext(ctx: SkinnyContext): SkinnyScalateRenderContext

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

    Permalink

    Overrides Scalatra's default key name.

    Overrides Scalatra's default key name.

    Definition Classes
    CSRFProtectionFeature → CSRFTokenSupport
  51. def csrfToken(implicit context: SkinnyContext): String

    Permalink
    Attributes
    protected[skinny]
    Definition Classes
    CSRFTokenSupport
  52. def currentActionName(implicit cxt: SkinnyContext = context): Option[Symbol]

    Permalink

    Returns action name for this request.

    Returns action name for this request.

    returns

    action name

    Definition Classes
    ActionDefinitionFeature
  53. def currentErrorHandler: ErrorHandler

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

    Permalink

    Returns current locale for this request.

    Returns current locale for this request.

    returns

    current locale

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

    Permalink
    Definition Classes
    ApiFormats
  56. val defaultCharacterEncoding: String

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

    Permalink
    Definition Classes
    ApiFormats
  58. def defaultIndexName: String

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

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

    Permalink

    Returns default locale.

    Returns default locale.

    Attributes
    protected
    Definition Classes
    LocaleFeature
  61. def defaultObjectMapper: ObjectMapper

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

    Permalink
    Definition Classes
    DefaultImplicits
  63. def defaultTemplateFormat: String

    Permalink
    Attributes
    protected
    Definition Classes
    ScalateSupport
  64. 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
  65. def delete(transformers: RouteTransformer*)(action: ⇒ Any): Route

    Permalink
    Definition Classes
    RoutingDsl
  66. def detectTooManyErrorFilterRegistrationAsAnErrorAtSkinnyMicroBase: Boolean

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

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

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

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

    Permalink
    Definition Classes
    ServletApiImplicits
  71. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink

    Returns errorMessages in the RequestScope.

    Returns errorMessages in the RequestScope.

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

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyMicroBase → CoreHandler
  76. implicit def executionContext: ExecutionContext

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyMicroBase
  77. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    FlashMapSupport
  80. def flash(implicit ctx: SkinnyContext): FlashMap

    Permalink
    Definition Classes
    FlashMapSupport
  81. def flashMapSetSession(f: FlashMap)(implicit ctx: SkinnyContext): Unit

    Permalink
    Definition Classes
    FlashMapSupport
  82. def formMultiParams(implicit ctx: SkinnyContext): micro.MultiParams

    Permalink
    Definition Classes
    FormParamsAccessor
  83. def formParams(implicit ctx: SkinnyContext): micro.Params

    Permalink
    Definition Classes
    FormParamsAccessor
  84. def format(implicit ctx: SkinnyContext): String

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    UrlGenerator
  93. 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
  94. def get(transformers: RouteTransformer*)(action: ⇒ Any): Route

    Permalink
    Definition Classes
    RoutingDsl
  95. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  96. def getFromRequestScope[A](key: String)(implicit ctx: SkinnyContext = 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
  97. def halt(result: ActionResult): Nothing

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

    Permalink
    Definition Classes
    HaltPassControl
  99. def haltWithBody[A](httpStatus: Int)(implicit ctx: SkinnyContext, 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
  100. def handle(req: HttpServletRequest, res: HttpServletResponse): Unit

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

    Permalink

    Handles when CSRF is detected.

    Handles when CSRF is detected.

    Definition Classes
    SkinnyWebPageControllerFeaturesCSRFProtectionFeature
  103. def hashCode(): Int

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

    Permalink
    Definition Classes
    RoutingDsl
  105. def inferFromFormats: ContentTypeInferrer

    Permalink
    Attributes
    protected
    Definition Classes
    ApiFormats
  106. def infoTimeLoggingEnabled: Boolean

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

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyMicroBase
  111. def isAsyncExecutable(result: Any): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyMicroBase
  112. def isDevelopment(): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    EnvAccessor
  113. def isForged: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    CSRFTokenSupport
  114. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Attributes
    protected
    Definition Classes
    EnvAccessor
  116. 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
  117. def isStaging(): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    EnvAccessor
  118. def isTest(): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    EnvAccessor
  119. def jade(path: String, attributes: (String, Any)*)(implicit ctx: SkinnyContext): String

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

    Permalink
    Attributes
    protected
    Definition Classes
    JSONStringOps
  121. def keyAndErrorMessages(implicit ctx: SkinnyContext = context): Map[String, Seq[String]]

    Permalink

    Returns keyAndErrorMessages in the RequestScope.

    Returns keyAndErrorMessages in the RequestScope.

    Definition Classes
    RequestScopeFeature
  122. def layout(path: String)(implicit ctx: SkinnyContext): 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
  123. def layoutTemplate(path: String, attributes: (String, Any)*)(implicit ctx: SkinnyContext): String

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

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

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

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

    Permalink
    Definition Classes
    LowestPriorityImplicits
  128. def maxDurationToAwaitAsyncFilters: Duration

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyMicroBase
  129. def methodNotAllowed(f: (Set[HttpMethod]) ⇒ Any): Unit

    Permalink
    Definition Classes
    SkinnyMicroBase
  130. val mimeTypes: Map[String, String]

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

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

    Permalink
    Definition Classes
    ParamsAccessor
  133. def multiParams(implicit ctx: SkinnyContext): micro.MultiParams

    Permalink
    Definition Classes
    ParamsAccessor
  134. def mustache(path: String, attributes: (String, Any)*)(implicit ctx: SkinnyContext): String

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

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

    Permalink
    Definition Classes
    SkinnyMicroBase
  137. final def notify(): Unit

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

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

    Permalink
    Definition Classes
    RoutingDsl
  140. def params(implicit ctx: SkinnyContext): micro.Params

    Permalink
    Definition Classes
    ParamsAccessor
  141. def params(key: Symbol)(implicit ctx: SkinnyContext): String

    Permalink
    Definition Classes
    ParamsAccessor
  142. def params(key: String)(implicit ctx: SkinnyContext): String

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

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

    Permalink
    Definition Classes
    RoutingDsl
  145. implicit def pathPatternParser2RouteMatcher(pattern: PathPattern): RouteMatcher

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

    Permalink
    Definition Classes
    RoutingDsl
  147. 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
  148. def prefixForJSONVulnerabilityProtection: String

    Permalink
    Attributes
    protected
    Definition Classes
    JSONStringOps
  149. def prepareCsrfToken(): Any

    Permalink
    Attributes
    protected
    Definition Classes
    CSRFTokenSupport
  150. 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
  151. def put(transformers: RouteTransformer*)(action: ⇒ Any): Route

    Permalink
    Definition Classes
    RoutingDsl
  152. def queryMultiParams(implicit ctx: SkinnyContext): micro.MultiParams

    Permalink
    Definition Classes
    QueryParamsAccessor
  153. def queryParams(implicit ctx: SkinnyContext): micro.Params

    Permalink
    Definition Classes
    QueryParamsAccessor
  154. def redirect(uri: String)(implicit ctx: SkinnyContext): ActionResult

    Permalink
    Definition Classes
    RedirectionDsl
  155. def redirect301(location: String, headers: Map[String, String])(implicit ctx: SkinnyContext): ActionResult

    Permalink
    Definition Classes
    RedirectionDsl
  156. def redirect302(location: String, headers: Map[String, String])(implicit ctx: SkinnyContext): ActionResult

    Permalink
    Definition Classes
    RedirectionDsl
  157. def redirect303(location: String, headers: Map[String, String])(implicit ctx: SkinnyContext): ActionResult

    Permalink
    Definition Classes
    RedirectionDsl
  158. implicit def regex2RouteMatcher(regex: Regex): RouteMatcher

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyMicroBase
  162. def render(path: String)(implicit ctx: SkinnyContext, 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
  163. def renderResponse(actionResult: Any)(implicit ctx: SkinnyContext): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyMicroBase
  164. def renderResponseBody(actionResult: Any)(implicit ctx: SkinnyContext): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyMicroBase
  165. def renderUncaughtException(e: Throwable)(implicit ctx: SkinnyContext): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ScalateSupport → SkinnyMicroBase
  166. def renderWithFormat(entity: Any)(implicit format: micro.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
  167. def renderWithTemplate(path: String)(implicit ctx: SkinnyContext, 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
  168. def request(implicit ctx: SkinnyContext): HttpServletRequest

    Permalink
    Definition Classes
    SkinnyContextInitializer
  169. def requestFormat(implicit ctx: SkinnyContext): String

    Permalink
    Definition Classes
    ApiFormats
  170. def requestScope(keyAndValues: Seq[(String, Any)])(implicit ctx: SkinnyContext): RequestScopeFeature

    Permalink

    Set attributes to request scope.

    Set attributes to request scope.

    keyAndValues

    collection of key and value.

    returns

    self

    Definition Classes
    RequestScopeFeature
  171. def requestScope(keyAndValue: (String, Any))(implicit ctx: SkinnyContext): RequestScopeFeature

    Permalink

    Set attribute to request scope.

    Set attribute to request scope.

    keyAndValue

    key and value

    returns

    self

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

    Permalink

    Returns whole request scope attributes.

    Returns whole request scope attributes.

    returns

    whole attributes

    Definition Classes
    RequestScopeFeature
  173. def respondTo: Seq[micro.Format]

    Permalink
    Attributes
    protected
    Definition Classes
    Handler
  174. def response(implicit ctx: SkinnyContext): HttpServletResponse

    Permalink
    Definition Classes
    SkinnyContextInitializer
  175. def responseAsJSON(entity: Any, charset: Option[String], prettify: Boolean, underscoreKeys: Boolean)(implicit ctx: SkinnyContext): String

    Permalink
    Attributes
    protected
    Definition Classes
    JSONSupport
  176. val routes: RouteRegistry

    Permalink
    Attributes
    protected
    Definition Classes
    RouteRegistryAccessor
  177. implicit def safe[S, T](f: (S) ⇒ T): micro.implicits.TypeConverter[S, T]

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

    Permalink
    Definition Classes
    TypeConverterSupport
  179. 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
  180. 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
  181. def scaml(path: String, attributes: (String, Any)*)(implicit ctx: SkinnyContext): String

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

    Permalink

    Returns registered sensitive parameter names.

    Returns registered sensitive parameter names.

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

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

    Permalink
    Definition Classes
    DefaultImplicits
  185. def serverAuthority(implicit ctx: SkinnyContext): String

    Permalink
    Attributes
    protected
    Definition Classes
    ServletContextAccessor
  186. def serverHost(implicit ctx: SkinnyContext): String

    Permalink
    Definition Classes
    ServletContextAccessor
  187. def serverPort(implicit ctx: SkinnyContext): Int

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

    Permalink
    Definition Classes
    ServletContextAccessor
  189. def session(key: Symbol)(implicit ctx: SkinnyContext): Any

    Permalink
    Definition Classes
    SessionImplicits
  190. def session(key: String)(implicit ctx: SkinnyContext): Any

    Permalink
    Definition Classes
    SessionImplicits
  191. implicit def session(implicit ctx: SkinnyContext): HttpSession

    Permalink
    Definition Classes
    SessionImplicits
  192. def sessionLocaleKey: String

    Permalink

    Session key to store current locale string.

    Session key to store current locale string.

    returns

    key

    Definition Classes
    LocaleFeature
  193. def sessionOption(implicit ctx: SkinnyContext): Option[HttpSession]

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

    Permalink

    Set attributes to request scope.

    Set attributes to request scope.

    Definition Classes
    RequestScopeFeature
  195. def set(keyAndValue: (String, Any))(implicit ctx: SkinnyContext): RequestScopeFeature

    Permalink

    Set attribute to request scope.

    Set attribute to request scope.

    Definition Classes
    RequestScopeFeature
  196. def setAsParams(model: Any)(implicit ctx: SkinnyContext = 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
  197. def setContentTypeIfAbsent()(implicit format: micro.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
  198. def setCurrentLocale(locale: String)(implicit ctx: SkinnyContext): Unit

    Permalink

    Set current locale.

    Set current locale.

    locale

    locale string

    Attributes
    protected
    Definition Classes
    LocaleFeature
  199. def setI18n(implicit ctx: SkinnyContext = 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
  200. def setMultiparams[S](matchedRoute: Option[MatchedRoute], originalParams: micro.MultiParams)(implicit ctx: SkinnyContext): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyMicroBase
  201. def setParams(implicit ctx: SkinnyContext = context): Unit

    Permalink

    Set params to request scope.

    Set params to request scope.

    Definition Classes
    RequestScopeFeature
  202. def setParamsToRequestScope(implicit ctx: SkinnyContext = context): Unit

    Permalink

    Set params to request scope.

    Set params to request scope.

    Definition Classes
    RequestScopeFeature
  203. def shutdown(): Unit

    Permalink
    Definition Classes
    ScalateSupport → Initializable
  204. implicit def skinnyContext(implicit ctx: javax.servlet.ServletContext): SkinnyContext

    Permalink
    Definition Classes
    MainThreadLocalEverywhere → SkinnyContextInitializer
  205. def skinnyEnv: Option[String]

    Permalink
    Attributes
    protected
    Definition Classes
    EnvAccessor
  206. lazy val skinnyErrorFilters: TrieMap[RenderingRequired, Seq[ErrorHandler]]

    Permalink

    Registered error handlers.

    Registered error handlers.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    ParametersGetAsImplicits
  223. def skipHaltingWhenRedirection: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    RedirectionDsl
  224. def ssp(path: String, attributes: (String, Any)*)(implicit ctx: SkinnyContext): String

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

    Permalink
    Attributes
    protected
    Definition Classes
    TimeLogging
  226. def status(implicit ctx: SkinnyContext): Int

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    RicherStringImplicits
  238. implicit val stringToSelf: micro.implicits.TypeConverter[String, String]

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  243. def templateAttributes(key: String)(implicit ctx: SkinnyContext): Any

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

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

    Permalink
    Attributes
    protected[this]
    Definition Classes
    ScalateSupport
  246. 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
  247. 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
  248. def toJSON(v: Any): JValue

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    SkinnyMicroParamsImplicits
  257. implicit def toTypedParams(params: micro.Params): TypedParams

    Permalink
    Definition Classes
    SkinnyMicroParamsImplicits
  258. def trap(code: Int)(block: ⇒ Any): Unit

    Permalink
    Definition Classes
    RoutingDsl
  259. def trap(codes: Range)(block: ⇒ Any): Unit

    Permalink
    Definition Classes
    RoutingDsl
  260. def unstableAccessValidationEnabled: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    UnstableAccessValidationConfig
  261. def url(route: Route, params: Map[String, String], splats: Iterable[String])(implicit ctx: SkinnyContext): String

    Permalink
    Definition Classes
    UrlGeneratorSupport
    Annotations
    @throws( classOf[java.lang.Exception] ) @throws( ... )
  262. def url(route: Route, splat: String, moreSplats: String*)(implicit ctx: SkinnyContext): String

    Permalink
    Definition Classes
    UrlGeneratorSupport
    Annotations
    @throws( classOf[java.lang.Exception] ) @throws( ... )
  263. def url(route: Route, params: (String, String)*)(implicit ctx: SkinnyContext): String

    Permalink
    Definition Classes
    UrlGeneratorSupport
    Annotations
    @throws( classOf[java.lang.Exception] ) @throws( ... )
  264. def url(path: String, params: Iterable[(String, Any)], includeContextPath: Boolean, includeServletPath: Boolean, absolutize: Boolean, withSessionId: Boolean)(implicit ctx: SkinnyContext): String

    Permalink
    Definition Classes
    UrlGenerator
  265. def useJSONVulnerabilityProtection: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    JSONStringOps
  266. 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
  267. def useUnderscoreKeysForJSON: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    JSONStringOps
  268. def validation(params: controller.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
  269. 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
  270. def validationWithParamsAndPrefix(prefix: String, params: controller.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
  271. def validationWithPrefix(params: controller.Params, prefix: String, validations: NewValidation*)(implicit ctx: SkinnyContext): 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
  272. final def wait(): Unit

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

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

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

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

    Permalink
    Definition Classes
    TimeLoggingFeature
  277. def withFormat[A](format: micro.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
  278. def withOutputStream(f: (ServletOutputStream) ⇒ Unit)(implicit ctx: micro.Context): Unit

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

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    ApiFormats → SkinnyMicroBase
  283. def writeChunk(chunk: Array[Byte])(implicit ctx: micro.Context): Unit

    Permalink
    Definition Classes
    ChunkedResponseSupport
  284. lazy val xFrameOptionsPolicy: String

    Permalink
    Definition Classes
    XFrameOptionsHeaderFeature
  285. def xmlItemName: String

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

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyControllerCommonBase

Deprecated Value Members

  1. def responseFormat(implicit ctx: SkinnyContext): 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 SkinnyFilter

Inherited from ThreadLocalFeatures

Inherited from RoutingDsl

Inherited from RoutingDslBase

Inherited from MainThreadLocalEverywhere

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 JSONSupport

Inherited from JSONStringOps

Inherited from BeforeAfterActionFeature

Inherited from ChunkedResponseFeature

Inherited from ChunkedResponseSupport

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 SkinnyMicroBase

Inherited from SessionImplicits

Inherited from DefaultImplicits

Inherited from LowPriorityImplicits

Inherited from LowestPriorityImplicits

Inherited from micro.implicits.TypeConverterSupport

Inherited from SkinnyMicroParamsImplicits

Inherited from CookiesImplicits

Inherited from RouteMatcherImplicits

Inherited from HaltPassControl

Inherited from UrlGenerator

Inherited from ResponseStatusAccessor

Inherited from ResponseContentTypeAccessor

Inherited from RequestFormatAccessor

Inherited from FormParamsAccessor

Inherited from QueryParamsAccessor

Inherited from ParamsAccessor

Inherited from EnvAccessor

Inherited from ErrorHandlerAccessor

Inherited from RedirectionDsl

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 UnstableAccessValidationConfig

Inherited from SkinnyContextInitializer

Inherited from Initializable

Inherited from AnyRef

Inherited from Any

Ungrouped