Class

skinny.controller

SkinnyServlet

Related Doc: package controller

Permalink

class SkinnyServlet extends HttpServlet with SkinnyMicroServlet with SkinnyControllerBase with SkinnyWebPageControllerFeatures

SkinnyController as a Servlet.

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, SkinnyMicroServlet, ThreadLocalFeatures, BeforeAfterDsl, RoutingDsl, RoutingDslBase, MainThreadLocalEverywhere, SkinnyMicroServletBase, 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, 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. 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. SkinnyMicroServlet
  41. ThreadLocalFeatures
  42. BeforeAfterDsl
  43. RoutingDsl
  44. RoutingDslBase
  45. MainThreadLocalEverywhere
  46. SkinnyMicroServletBase
  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. HttpServlet
  78. GenericServlet
  79. Serializable
  80. ServletConfig
  81. Servlet
  82. AnyRef
  83. 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. 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
    SkinnyMicroServletBase → GenericServlet → Servlet
  66. def detectTooManyErrorFilterRegistrationAsAnErrorAtSkinnyMicroBase: 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
    SkinnyMicroServletBase → SkinnyMicroBase
  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. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink

    Returns errorMessages in the RequestScope.

    Returns errorMessages in the RequestScope.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  104. 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
  105. def getInitParameter(arg0: String): String

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

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

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

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

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

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

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

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

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

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

    Permalink

    Handles when CSRF is detected.

    Handles when CSRF is detected.

    Definition Classes
    SkinnyWebPageControllerFeaturesCSRFProtectionFeature
  118. def hashCode(): Int

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

    Permalink
    Definition Classes
    RoutingDsl
  120. def inferFromFormats: ContentTypeInferrer

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

    Permalink
    Attributes
    protected
    Definition Classes
    TimeLogging
  122. def init(config: ServletConfig): Unit

    Permalink
    Definition Classes
    SkinnyMicroServletBase → GenericServlet → Servlet
  123. def init(): Unit

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink

    Returns keyAndErrorMessages in the RequestScope.

    Returns keyAndErrorMessages in the RequestScope.

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

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

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

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

    Permalink
    Definition Classes
    GenericServlet
  144. def logger: Logger

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

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

    Permalink
    Definition Classes
    LowestPriorityImplicits
  147. def maxDurationToAwaitAsyncFilters: Duration

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    SkinnyMicroServletBase → SkinnyMicroBase
  190. 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
  191. 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
  192. 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
  193. def resourceNotFound()(implicit ctx: SkinnyContext): Any

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyMicroServletBase
  194. def respondTo: Seq[micro.Format]

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyMicroServletBase → SkinnyMicroBase
  198. lazy val routes: RouteRegistry

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

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

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

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

    Permalink

    Returns registered sensitive parameter names.

    Returns registered sensitive parameter names.

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

    Permalink
    Definition Classes
    DefaultImplicits
  206. 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
  207. def serveStaticResource()(implicit ctx: SkinnyContext): Option[Any]

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyMicroServletBase
  208. def serverAuthority(implicit ctx: SkinnyContext): String

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    SessionImplicits
  217. def sessionLocaleKey: String

    Permalink

    Session key to store current locale string.

    Session key to store current locale string.

    returns

    key

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

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

    Permalink

    Set attributes to request scope.

    Set attributes to request scope.

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

    Permalink

    Set attribute to request scope.

    Set attribute to request scope.

    Definition Classes
    RequestScopeFeature
  221. 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
  222. 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
  223. def setCurrentLocale(locale: String)(implicit ctx: SkinnyContext): Unit

    Permalink

    Set current locale.

    Set current locale.

    locale

    locale string

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

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

    Permalink

    Set params to request scope.

    Set params to request scope.

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

    Permalink

    Set params to request scope.

    Set params to request scope.

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

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

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

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

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

    Permalink

    Registered error handlers.

    Registered error handlers.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    ParametersGetAsImplicits
  249. def skipHaltingWhenRedirection: Boolean

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    RoutingDsl
  286. def unstableAccessValidationEnabled: Boolean

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

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

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

    Permalink
    Definition Classes
    UrlGenerator
  291. def useJSONVulnerabilityProtection: Boolean

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    JSONStringOps
  295. 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
  296. 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
  297. 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
  298. 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
  299. final def wait(): Unit

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    ChunkedResponseSupport
  311. lazy val xFrameOptionsPolicy: String

    Permalink
    Definition Classes
    XFrameOptionsHeaderFeature
  312. def xmlItemName: String

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyControllerCommonBase
  313. 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 SkinnyMicroServlet

Inherited from ThreadLocalFeatures

Inherited from BeforeAfterDsl

Inherited from RoutingDsl

Inherited from RoutingDslBase

Inherited from MainThreadLocalEverywhere

Inherited from SkinnyMicroServletBase

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 HttpServlet

Inherited from GenericServlet

Inherited from Serializable

Inherited from ServletConfig

Inherited from Servlet

Inherited from AnyRef

Inherited from Any

Ungrouped