Class

skinny.controller

SkinnyServlet

Related Doc: package controller

Permalink

class SkinnyServlet extends HttpServlet with SkinnyEngineServlet with SkinnyControllerBase with SkinnyWebPageControllerFeatures

SkinnyController as a Servlet.

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

Instance Constructors

  1. new SkinnyServlet()

    Permalink

Type Members

  1. trait Config extends AnyRef

    Permalink
    Definition Classes
    Initializable
  2. type ConfigT = ServletConfig

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

    Permalink
    Definition Classes
    SkinnyFilterActivation
  4. trait SkinnyEngineTemplateEngine extends AnyRef

    Permalink
    Definition Classes
    ScalateSupport
  5. sealed class TypedMultiParams extends AnyRef

    Permalink
    Definition Classes
    EngineParamsImplicits
  6. sealed class TypedParams extends AnyRef

    Permalink
    Definition Classes
    EngineParamsImplicits

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object WithRendering extends controller.feature.SkinnyControllerCommonBase.RenderingRequired with Product with Serializable

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

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

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

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

    Permalink

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

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

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

    Permalink

    Adds action definition

    Adds action definition

    actionDef

    action definition

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

    Permalink

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

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

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

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

    Permalink

    Add param to params in the request scope.

    Add param to params in the request scope.

    name

    name

    value

    value

    Definition Classes
    RequestScopeFeature
  13. def addRoute(method: HttpMethod, transformers: Seq[RouteTransformer], action: ⇒ 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: engine.implicits.TypeConverter[Any, Boolean]

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

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

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

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

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

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

    Permalink
    Definition Classes
    LowPriorityImplicits
  24. implicit val anyToString: engine.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
    SkinnyEngineBase
  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: ConfigT

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

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

    Permalink
    Definition Classes
    ResponseContentTypeAccessor
  37. def contentTypeInferrer: ContentTypeInferrer

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

    Permalink
    Definition Classes
    ResponseContentTypeAccessor
  39. def context: SkinnyEngineContext

    Permalink
    Definition Classes
    SkinnyEngineContextInitializer
  40. def contextPath: String

    Permalink
    Definition Classes
    ServletContextAccessor
  41. implicit def convertParamsToStrongParameters(params: engine.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: SkinnyEngineContext): CookieOptions

    Permalink
    Definition Classes
    CookiesImplicits
  44. def cookies(implicit ctx: SkinnyEngineContext): 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(req: HttpServletRequest, resp: HttpServletResponse, out: PrintWriter)(implicit ctx: SkinnyEngineContext): SkinnyEngineRenderContext

    Permalink

    Creates a RenderContext instance for Skinny app.

    Creates a RenderContext instance for Skinny app.

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

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

    Permalink

    Overrides Scalatra's default key name.

    Overrides Scalatra's default key name.

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

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

    Permalink

    Returns action name for this request.

    Returns action name for this request.

    returns

    action name

    Definition Classes
    ActionDefinitionFeature
  52. def currentErrorHandler: ErrorHandler

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

    Permalink

    Returns current locale for this request.

    Returns current locale for this request.

    returns

    current locale

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

    Permalink
    Definition Classes
    ApiFormats
  55. val defaultCharacterEncoding: String

    Permalink
    Attributes
    protected
    Definition Classes
    CoreHandler
  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: engine.implicits.TypeConverter[String, T], mf: Manifest[T]): engine.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
    SkinnyEngineServletBase → GenericServlet → Servlet
  66. def detectTooManyErrorFilterRegistrationAsAnErrorAtSkinnyEngineBase: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    ErrorHandlerAccessor
  67. def doDelete(arg0: HttpServletRequest, arg1: HttpServletResponse): Unit

    Permalink
    Attributes
    protected[javax.servlet.http]
    Definition Classes
    HttpServlet
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )
  68. def doGet(arg0: HttpServletRequest, arg1: HttpServletResponse): Unit

    Permalink
    Attributes
    protected[javax.servlet.http]
    Definition Classes
    HttpServlet
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )
  69. def doHead(arg0: HttpServletRequest, arg1: HttpServletResponse): Unit

    Permalink
    Attributes
    protected[javax.servlet.http]
    Definition Classes
    HttpServlet
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )
  70. var doNotFound: Action

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyEngineServletBase → SkinnyEngineBase
  71. def doOptions(arg0: HttpServletRequest, arg1: HttpServletResponse): Unit

    Permalink
    Attributes
    protected[javax.servlet.http]
    Definition Classes
    HttpServlet
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )
  72. def doPost(arg0: HttpServletRequest, arg1: HttpServletResponse): Unit

    Permalink
    Attributes
    protected[javax.servlet.http]
    Definition Classes
    HttpServlet
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )
  73. def doPut(arg0: HttpServletRequest, arg1: HttpServletResponse): Unit

    Permalink
    Attributes
    protected[javax.servlet.http]
    Definition Classes
    HttpServlet
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )
  74. def doTrace(arg0: HttpServletRequest, arg1: HttpServletResponse): Unit

    Permalink
    Attributes
    protected[javax.servlet.http]
    Definition Classes
    HttpServlet
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )
  75. implicit def enrichRequest(request: HttpServletRequest): RichRequest

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

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

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

    Permalink
    Definition Classes
    ServletApiImplicits
  79. def environment: String

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

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

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

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

    Permalink

    Returns errorMessages in the RequestScope.

    Returns errorMessages in the RequestScope.

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

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

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

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

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

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

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

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

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

    Permalink

    Returns query string multi parameters as a Map value.

    Returns query string multi parameters as a Map value.

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

    Permalink

    Returns query string parameters as a Map value.

    Returns query string parameters as a Map value.

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink

    Fetches value from request scope.

    Fetches value from request scope.

    A

    type

    key

    key

    returns

    value if exists

    Definition Classes
    RequestScopeFeature
  107. def getInitParameter(arg0: String): String

    Permalink
    Definition Classes
    GenericServlet → ServletConfig
  108. def getInitParameterNames(): Enumeration[String]

    Permalink
    Definition Classes
    GenericServlet → ServletConfig
  109. def getLastModified(arg0: HttpServletRequest): Long

    Permalink
    Attributes
    protected[javax.servlet.http]
    Definition Classes
    HttpServlet
  110. def getServletConfig(): ServletConfig

    Permalink
    Definition Classes
    GenericServlet → Servlet
  111. def getServletContext(): javax.servlet.ServletContext

    Permalink
    Definition Classes
    GenericServlet → ServletConfig
  112. def getServletInfo(): String

    Permalink
    Definition Classes
    GenericServlet → Servlet
  113. def getServletName(): String

    Permalink
    Definition Classes
    GenericServlet → ServletConfig
  114. def halt(result: ActionResult): Nothing

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

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

    Permalink

    Halts with body which responds to the specified format.

    Halts with body which responds to the specified format.

    A

    response type

    httpStatus

    http status

    format

    format (HTML,JSON,XML...)

    returns

    body if possible

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

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

    Permalink

    Handles when CSRF is detected.

    Handles when CSRF is detected.

    Definition Classes
    SkinnyWebPageControllerFeaturesCSRFProtectionFeature
  120. def hashCode(): Int

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

    Permalink
    Definition Classes
    RoutingDsl
  122. def inferFromFormats: ContentTypeInferrer

    Permalink
    Attributes
    protected
    Definition Classes
    ApiFormats
  123. def init(config: ServletConfig): Unit

    Permalink
    Definition Classes
    SkinnyEngineServletBase → GenericServlet → Servlet
  124. def init(): Unit

    Permalink
    Definition Classes
    GenericServlet
    Annotations
    @throws( ... )
  125. def initParameter(name: String): Option[String]

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

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

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

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

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

    Permalink

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

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

    returns

    true/false

    Definition Classes
    EnvFeature
  131. def isDevelopmentMode: Boolean

    Permalink

    Replaces Scalatra's development mode with SkinnyEnv.

    Replaces Scalatra's development mode with SkinnyEnv.

    Definition Classes
    EnvFeature → EnvironmentAccessor
  132. def isForged: Boolean

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

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

    Permalink

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

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

    returns

    true/false

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

    Permalink

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

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

    returns

    true/false

    Definition Classes
    EnvFeature
  137. def isTest(): Boolean

    Permalink

    Predicates current env is "test".

    Predicates current env is "test".

    returns

    true/false

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

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

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

    Permalink

    Returns keyAndErrorMessages in the RequestScope.

    Returns keyAndErrorMessages in the RequestScope.

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

    Permalink

    Replaces layout template for this action.

    Replaces layout template for this action.

    path

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    ScalateSupport
  144. def log(arg0: String, arg1: Throwable): Unit

    Permalink
    Definition Classes
    GenericServlet
  145. def log(arg0: String): Unit

    Permalink
    Definition Classes
    GenericServlet
  146. def logger: Logger

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    RoutingDsl
  160. def params(implicit ctx: SkinnyEngineContext): engine.Params

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    RoutingDsl
  172. def queryMultiParams(implicit ctx: SkinnyEngineContext): engine.MultiParams

    Permalink

    Returns query string multi parameters as a Map value.

    Returns query string multi parameters as a Map value.

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

    Permalink

    Returns query string parameters as a Map value.

    Returns query string parameters as a Map value.

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

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

    Permalink

    Responds as "301 Moved Permanently"

    Responds as "301 Moved Permanently"

    returns

    ActionResult

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

    Permalink

    Responds as "302 Found"

    Responds as "302 Found"

    returns

    ActionResult

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

    Permalink

    Responds as "303 See Other"

    Responds as "303 See Other"

    returns

    ActionResult

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

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

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

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

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

    Permalink

    Renders body with template.

    Renders body with template.

    path

    path name

    format

    format (HTML,JSON,XML...)

    returns

    body

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

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

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

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

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

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

    Permalink

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

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

    entity

    entity

    format

    format (HTML,JSON,XML...)

    returns

    body if possible

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

    Permalink

    Renders body with template.

    Renders body with template.

    path

    path name

    format

    format (HTML,JSON,XML...)

    returns

    true/false

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

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

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

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

    Permalink

    Set attributes to request scope.

    Set attributes to request scope.

    keyAndValues

    collection of key and value.

    returns

    self

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

    Permalink

    Set attribute to request scope.

    Set attribute to request scope.

    keyAndValue

    key and value

    returns

    self

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

    Permalink

    Returns whole request scope attributes.

    Returns whole request scope attributes.

    returns

    whole attributes

    Definition Classes
    RequestScopeFeature
  196. def resourceNotFound()(implicit ctx: SkinnyEngineContext): Any

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyEngineServletBase
  197. def respondTo: Seq[engine.Format]

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyEngineServletBase → SkinnyEngineBase
  201. val routes: RouteRegistry

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

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

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

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

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

    Permalink

    Returns registered sensitive parameter names.

    Returns registered sensitive parameter names.

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

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

    Permalink
    Definition Classes
    DefaultImplicits
  211. def serveStaticResource()(implicit ctx: SkinnyEngineContext): Option[Any]

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyEngineServletBase
  212. def serverAuthority(implicit ctx: SkinnyEngineContext): String

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

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

    Permalink
    Definition Classes
    ServletContextAccessor
  215. def service(request: HttpServletRequest, response: HttpServletResponse): Unit

    Permalink
    Definition Classes
    SkinnyEngineServletBase → HttpServlet
  216. def service(arg0: ServletRequest, arg1: ServletResponse): Unit

    Permalink
    Definition Classes
    HttpServlet → GenericServlet → Servlet
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )
  217. implicit def servletContext: javax.servlet.ServletContext

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

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

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

    Permalink
    Definition Classes
    SessionImplicits
  221. def sessionLocaleKey: String

    Permalink

    Session key to store current locale string.

    Session key to store current locale string.

    returns

    key

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

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

    Permalink

    Set attributes to request scope.

    Set attributes to request scope.

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

    Permalink

    Set attribute to request scope.

    Set attribute to request scope.

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

    Permalink

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

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

    model

    model instance

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

    Permalink

    Set Content-Type for the format if absent.

    Set Content-Type for the format if absent.

    format

    format

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

    Permalink

    Set current locale.

    Set current locale.

    locale

    locale string

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

    Permalink

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

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

    ctx

    context

    returns

    self

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

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

    Permalink

    Set params to request scope.

    Set params to request scope.

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

    Permalink

    Set params to request scope.

    Set params to request scope.

    Definition Classes
    RequestScopeFeature
  232. def shutdown(): Unit

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

    Permalink
    Definition Classes
    MainThreadLocalEverywhere → SkinnyEngineContextInitializer
  234. implicit def skinnyEngineRenderContext: SkinnyEngineRenderContext

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

    Permalink

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

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

    returns

    env string such as "production"

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

    Permalink

    Registered error handlers.

    Registered error handlers.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    UrlGenerator
  293. def useJSONVulnerabilityProtection: Boolean

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

    Permalink
    Attributes
    protected
    Definition Classes
    JSONStringOpsConfig
  296. 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
  297. 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
  298. 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
  299. def validationWithPrefix(params: Params, prefix: String, validations: NewValidation*)(implicit ctx: SkinnyEngineContext): MapValidator

    Permalink

    Creates new validation form.

    Creates new validation form.

    params

    params

    prefix

    key prefix for error message

    validations

    validations

    returns

    validator

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

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

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

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

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

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

    Permalink

    Provides code block with format.

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

    A

    response type

    format

    format

    action

    action

    returns

    result

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

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

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

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

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

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

    Permalink
    Definition Classes
    ChunkedResponseFeature
  312. lazy val xFrameOptionsPolicy: String

    Permalink
    Definition Classes
    XFrameOptionsHeaderFeature
  313. def xmlItemName: String

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

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyControllerCommonBase

Deprecated Value Members

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

    Permalink
    Definition Classes
    ScalateSupport
    Annotations
    @deprecated
    Deprecated

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

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

    Permalink
    Definition Classes
    ApiFormats
    Annotations
    @deprecated
    Deprecated

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

Inherited from CSRFProtectionFeature

Inherited from CsrfTokenSupport

Inherited from ScalateSupport

Inherited from TemplateEngineFeature

Inherited from FlashFeature

Inherited from FlashMapSupport

Inherited from SkinnyControllerBase

Inherited from SkinnyFilterActivation

Inherited from ParamsPermitImplicits

Inherited from ParametersGetAsImplicits

Inherited from RoutesAsImplicits

Inherited from ThreadLocalRequestFeature

Inherited from TimeLoggingFeature

Inherited from TimeLogging

Inherited from ValidationFeature

Inherited from JSONFeature

Inherited from BeforeAfterActionFeature

Inherited from ChunkedResponseFeature

Inherited from RequestScopeFeature

Inherited from LocaleFeature

Inherited from ActionDefinitionFeature

Inherited from ExplicitRedirectFeature

Inherited from UrlGeneratorSupport

Inherited from FormParamsFeature

Inherited from QueryParamsFeature

Inherited from EnvFeature

Inherited from ApiFormats

Inherited from SkinnyEngineServlet

Inherited from ThreadLocalFeatures

Inherited from JSONStringOpsConfig

Inherited from JSONOperations

Inherited from JSONStringOps

Inherited from BeforeAfterDsl

Inherited from RoutingDsl

Inherited from MainThreadLocalEverywhere

Inherited from SkinnyEngineServletBase

Inherited from SkinnyEngineBase

Inherited from SessionImplicits

Inherited from DefaultImplicits

Inherited from LowPriorityImplicits

Inherited from LowestPriorityImplicits

Inherited from engine.implicits.TypeConverterSupport

Inherited from EngineParamsImplicits

Inherited from CookiesImplicits

Inherited from RouteMatcherImplicits

Inherited from HaltPassControl

Inherited from UrlGenerator

Inherited from ResponseStatusAccessor

Inherited from ResponseContentTypeAccessor

Inherited from RequestFormatAccessor

Inherited from ParamsAccessor

Inherited from EnvironmentAccessor

Inherited from ErrorHandlerAccessor

Inherited from AsyncSupported

Inherited from CoreHandler

Inherited from Handler

Inherited from logging.LoggerProvider

Inherited from ServletContextAccessor

Inherited from RicherStringImplicits

Inherited from ServletApiImplicits

Inherited from RouteRegistryAccessor

Inherited from SkinnyEngineContextInitializer

Inherited from Initializable

Inherited from HttpServlet

Inherited from GenericServlet

Inherited from Serializable

Inherited from ServletConfig

Inherited from Servlet

Inherited from AnyRef

Inherited from Any

Ungrouped