Class

skinny.controller

SkinnyController

Related Doc: package controller

Permalink

class SkinnyController extends SkinnyMicroFilter with SkinnyControllerBase with SkinnyWebPageControllerFeatures

Skinny controller.

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

Instance Constructors

  1. new SkinnyController()

    Permalink

Type Members

  1. trait Config extends AnyRef

    Permalink
    Definition Classes
    Initializable
  2. sealed trait RenderingRequired extends AnyRef

    Permalink
    Definition Classes
    SkinnyFilterActivation
  3. trait SkinnyMicroTemplateEngine extends AnyRef

    Permalink
    Definition Classes
    ScalateSupport
  4. sealed class TypedMultiParams extends AnyRef

    Permalink
    Definition Classes
    SkinnyMicroParamsImplicits
  5. sealed class TypedParams extends AnyRef

    Permalink
    Definition Classes
    SkinnyMicroParamsImplicits

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 addRoute(method: HttpMethod, transformers: Seq[RouteTransformer], action: ⇒ Any): Route

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    JSONStringOps
  34. var config: ThinServletBaseConfig

    Permalink
    Definition Classes
    ServletContextAccessor
  35. implicit def configWrapper(config: ThinServletBaseConfig): Config { def initParameters: skinny.micro.context.InitParameters }

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

    Permalink
    Definition Classes
    ResponseContentTypeAccessor
  37. def contentTypeInferrer: ContentTypeInferrer

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

    Permalink
    Definition Classes
    ResponseContentTypeAccessor
  39. def context: SkinnyContext

    Permalink
    Definition Classes
    SkinnyContextInitializer
  40. def contextPath: String

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

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

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

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

    Permalink
    Definition Classes
    CookiesImplicits
  45. 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
  46. 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
  47. def createSkinnyScalateRenderContext(ctx: SkinnyContext): SkinnyScalateRenderContext

    Permalink
    Attributes
    protected
    Definition Classes
    ScalateTemplateEngineFeature
  48. def createTemplateEngine(config: ThinServletBaseConfig): 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
  49. def csrfKey: String

    Permalink

    Overrides Skinny Micro's default key name.

    Overrides Skinny Micro's default key name.

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

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

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

    Permalink
    Definition Classes
    ApiFormats
  55. val defaultCharacterEncoding: String

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyMicroBase
  56. def defaultFormat: Symbol

    Permalink
    Definition Classes
    ApiFormats
  57. def defaultIndexName: String

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

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

    Permalink

    Returns default locale.

    Returns default locale.

    Attributes
    protected
    Definition Classes
    LocaleFeature
  60. def defaultObjectMapper: ObjectMapper

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

    Permalink
    Definition Classes
    DefaultImplicits
  62. def defaultTemplateFormat: String

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

    Permalink
    Definition Classes
    RoutingDsl
  65. def destroy(): Unit

    Permalink
    Definition Classes
    SkinnyMicroFilterBase
  66. def detectTooManyErrorFilterRegistrationAsAnErrorAtSkinnyMicroBase: Boolean

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

    Permalink
    Definition Classes
    SkinnyMicroFilterBase
  68. var doNotFound: Action

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyMicroFilterBase → SkinnyMicroBase
  69. implicit def enrichRequest(request: HttpServletRequest): RichRequest

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

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

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

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

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

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

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

    Permalink

    Returns errorMessages in the RequestScope.

    Returns errorMessages in the RequestScope.

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

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyMicroBase
  78. implicit def executionContext: ExecutionContext

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyMicroBase
  79. def filterChain: FilterChain

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyMicroFilterBase
  80. def finalize(): Unit

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    ScalateSupport → SkinnyMicroBase → Handler
  104. 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
  105. def handleForgeryIfDetected(): Nothing

    Permalink

    Handles when CSRF is detected.

    Handles when CSRF is detected.

    Definition Classes
    SkinnyWebPageControllerFeaturesCSRFProtectionFeature
  106. def hashCode(): Int

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

    Permalink
    Definition Classes
    RoutingDsl
  108. def inferFromFormats: ContentTypeInferrer

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

    Permalink
    Attributes
    protected
    Definition Classes
    TimeLogging
  110. def init(filterConfig: FilterConfig): Unit

    Permalink
    Definition Classes
    SkinnyMicroFilterBase
  111. def initParameter(name: String): Option[String]

    Permalink
    Definition Classes
    ServletContextAccessor
  112. def initialize(config: ThinServletBaseConfig): Unit

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink

    Returns keyAndErrorMessages in the RequestScope.

    Returns keyAndErrorMessages in the RequestScope.

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

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

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

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

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

    Permalink
    Definition Classes
    LowestPriorityImplicits
  132. def maxDurationToAwaitAsyncFilters: Duration

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyMicroBase
  166. 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
  167. def renderResponse(actionResult: Any)(implicit ctx: SkinnyContext): Unit

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    ScalateSupport → SkinnyMicroBase
  170. 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
  171. 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
  172. def request(implicit ctx: SkinnyContext): HttpServletRequest

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

    Permalink
    Definition Classes
    ApiFormats
  174. def requestPath(implicit ctx: SkinnyContext): String

    Permalink
    Definition Classes
    SkinnyMicroFilterBase → SkinnyMicroBase
  175. 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
  176. 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
  177. 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
  178. def respondTo: Seq[micro.Format]

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    JSONSupport
  181. def routeBasePath(implicit ctx: SkinnyContext): String

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyMicroFilterBase → SkinnyMicroBase
  182. lazy val routes: RouteRegistry

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

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

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

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

    Permalink

    Returns registered sensitive parameter names.

    Returns registered sensitive parameter names.

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

    Permalink
    Definition Classes
    DefaultImplicits
  190. 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
  191. def serverAuthority(implicit ctx: SkinnyContext): String

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

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

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

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

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

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

    Permalink
    Definition Classes
    SessionImplicits
  198. def sessionLocaleKey: String

    Permalink

    Session key to store current locale string.

    Session key to store current locale string.

    returns

    key

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

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

    Permalink

    Set attributes to request scope.

    Set attributes to request scope.

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

    Permalink

    Set attribute to request scope.

    Set attribute to request scope.

    Definition Classes
    RequestScopeFeature
  202. 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
  203. 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
  204. def setCurrentLocale(locale: String)(implicit ctx: SkinnyContext): Unit

    Permalink

    Set current locale.

    Set current locale.

    locale

    locale string

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

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

    Permalink

    Set params to request scope.

    Set params to request scope.

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

    Permalink

    Set params to request scope.

    Set params to request scope.

    Definition Classes
    RequestScopeFeature
  209. def setRequestCharacterEncodingAsDefaultIfAbsent(request: HttpServletRequest): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyMicroBase
  210. def shutdown(): Unit

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

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

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

    Permalink

    Registered error handlers.

    Registered error handlers.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    ParametersGetAsImplicits
  230. def skipHaltingWhenRedirection: Boolean

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    RoutingDsl
  267. def unstableAccessValidationEnabled: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    UnstableAccessValidationConfig
  268. 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( ... )
  269. def url(route: Route, splat: String, moreSplats: String*)(implicit ctx: SkinnyContext): String

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

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

    Permalink
    Definition Classes
    UrlGenerator
  272. def useJSONVulnerabilityProtection: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    JSONStringOps
  273. def useMostlyStableHttpSession: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    UnstableAccessValidationConfig
  274. 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
  275. def useUnderscoreKeysForJSON: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    JSONStringOps
  276. 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
  277. 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
  278. 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
  279. def validationWithPrefix(params: 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
  280. final def wait(): Unit

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

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

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

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

    Permalink
    Definition Classes
    TimeLoggingFeature
  285. 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
  286. def withOutputStream(f: (ServletOutputStream) ⇒ Unit)(implicit ctx: micro.Context): Unit

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

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

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

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

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

    Permalink
    Definition Classes
    ChunkedResponseSupport
  292. lazy val xFrameOptionsPolicy: String

    Permalink
    Definition Classes
    XFrameOptionsHeaderFeature
  293. def xmlItemName: String

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyControllerCommonBase
  294. 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 SkinnyControllerBase

Inherited from ThreadLocalRequestFeature

Inherited from BeforeAfterActionFeature

Inherited from SkinnyFilterActivation

Inherited from ParamsPermitImplicits

Inherited from ParametersGetAsImplicits

Inherited from RoutesAsImplicits

Inherited from TimeLoggingFeature

Inherited from TimeLogging

Inherited from ValidationFeature

Inherited from JSONFeature

Inherited from JSONSupport

Inherited from JSONStringOps

Inherited from ChunkedResponseFeature

Inherited from ChunkedResponseSupport

Inherited from RequestScopeFeature

Inherited from LocaleFeature

Inherited from ActionDefinitionFeature

Inherited from ExplicitRedirectFeature

Inherited from UrlGeneratorSupport

Inherited from FormParamsFeature

Inherited from QueryParamsFeature

Inherited from EnvFeature

Inherited from ApiFormats

Inherited from SkinnyMicroFilter

Inherited from ThreadLocalFeatures

Inherited from BeforeAfterDsl

Inherited from RoutingDsl

Inherited from RoutingDslBase

Inherited from MainThreadLocalEverywhere

Inherited from SkinnyMicroFilterBase

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

Inherited from AnyRef

Inherited from Any

Ungrouped