skinny.controller

SkinnyResourceServletWithId

trait SkinnyResourceServletWithId[Id] extends SkinnyServlet with SkinnyResourceActions[Id] with SkinnyResourceRoutes[Id]

Linear Supertypes
SkinnyResourceRoutes[Id], SkinnyApiResourceRoutes[Id], routing.Routes, SkinnyResourceActions[Id], SkinnyApiResourceActions[Id], SkinnyServlet, SkinnyWebPageControllerFeatures, XFrameOptionsHeaderFeature, XXSSProtectionHeaderFeature, CSRFProtectionFeature, CSRFTokenSupport, ScalateTemplateEngineFeature, ScalateSupport, TemplateEngineFeature, FlashFeature, FlashMapSupport, SkinnyControllerBase, SkinnyControllerCommonBase, SkinnyFilterActivation, ParamsPermitImplicits, ParametersGetAsImplicits, RoutesAsImplicits, XContentTypeOptionsNosniffHeaderFeature, ThreadLocalRequestFeature, TimeLoggingFeature, SensitiveParametersFeature, TimeLogging, ValidationFeature, JSONFeature, JSONSupport, JSONStringOps, BeforeAfterActionFeature, 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, CoreHandler, 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. SkinnyResourceServletWithId
  2. SkinnyResourceRoutes
  3. SkinnyApiResourceRoutes
  4. Routes
  5. SkinnyResourceActions
  6. SkinnyApiResourceActions
  7. SkinnyServlet
  8. SkinnyWebPageControllerFeatures
  9. XFrameOptionsHeaderFeature
  10. XXSSProtectionHeaderFeature
  11. CSRFProtectionFeature
  12. CSRFTokenSupport
  13. ScalateTemplateEngineFeature
  14. ScalateSupport
  15. TemplateEngineFeature
  16. FlashFeature
  17. FlashMapSupport
  18. SkinnyControllerBase
  19. SkinnyControllerCommonBase
  20. SkinnyFilterActivation
  21. ParamsPermitImplicits
  22. ParametersGetAsImplicits
  23. RoutesAsImplicits
  24. XContentTypeOptionsNosniffHeaderFeature
  25. ThreadLocalRequestFeature
  26. TimeLoggingFeature
  27. SensitiveParametersFeature
  28. TimeLogging
  29. ValidationFeature
  30. JSONFeature
  31. JSONSupport
  32. JSONStringOps
  33. BeforeAfterActionFeature
  34. ChunkedResponseFeature
  35. ChunkedResponseSupport
  36. RequestScopeFeature
  37. LocaleFeature
  38. SnakeCasedParamKeysFeature
  39. ActionDefinitionFeature
  40. ExplicitRedirectFeature
  41. UrlGeneratorSupport
  42. FormParamsFeature
  43. QueryParamsFeature
  44. EnvFeature
  45. ApiFormats
  46. SkinnyMicroServlet
  47. ThreadLocalFeatures
  48. BeforeAfterDsl
  49. RoutingDsl
  50. RoutingDslBase
  51. MainThreadLocalEverywhere
  52. SkinnyMicroServletBase
  53. SkinnyMicroBase
  54. SessionImplicits
  55. DefaultImplicits
  56. LowPriorityImplicits
  57. LowestPriorityImplicits
  58. TypeConverterSupport
  59. SkinnyMicroParamsImplicits
  60. CookiesImplicits
  61. RouteMatcherImplicits
  62. HaltPassControl
  63. UrlGenerator
  64. ResponseStatusAccessor
  65. ResponseContentTypeAccessor
  66. RequestFormatAccessor
  67. FormParamsAccessor
  68. QueryParamsAccessor
  69. ParamsAccessor
  70. EnvAccessor
  71. ErrorHandlerAccessor
  72. RedirectionDsl
  73. AsyncSupported
  74. CoreHandler
  75. Handler
  76. LoggerProvider
  77. ServletContextAccessor
  78. RicherStringImplicits
  79. ServletApiImplicits
  80. RouteRegistryAccessor
  81. UnstableAccessValidationConfig
  82. SkinnyContextInitializer
  83. Initializable
  84. HttpServlet
  85. GenericServlet
  86. Serializable
  87. ServletConfig
  88. Servlet
  89. AnyRef
  90. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. trait Config extends AnyRef

    Definition Classes
    Initializable
  2. type ConfigT = ServletConfig

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

    Definition Classes
    SkinnyFilterActivation
  4. trait SkinnyMicroTemplateEngine extends AnyRef

    Definition Classes
    ScalateSupport
  5. sealed class TypedMultiParams extends AnyRef

    Definition Classes
    SkinnyMicroParamsImplicits
  6. sealed class TypedParams extends AnyRef

    Definition Classes
    SkinnyMicroParamsImplicits

Abstract Value Members

  1. abstract def createForm: MapValidator

    Input form for creation

    Input form for creation

    Attributes
    protected
    Definition Classes
    SkinnyApiResourceActions
  2. abstract def createFormStrongParameters: Seq[(String, ParamType)]

    Strong parameter definitions for creation form

    Strong parameter definitions for creation form

    Attributes
    protected
    Definition Classes
    SkinnyApiResourceActions
  3. abstract def model: SkinnyModel[Id, _]

    SkinnyModel for this resource.

    SkinnyModel for this resource.

    Attributes
    protected
    Definition Classes
    SkinnyApiResourceActions
  4. abstract def resourceName: String

    Resource name in the singular.

    Resource name in the singular. This name will be used for path and validator's prefix.

    Attributes
    protected
    Definition Classes
    SkinnyResourceActionsSkinnyApiResourceActions
  5. abstract def resourcesName: String

    Resource name in the plural.

    Resource name in the plural. This name will be used for path and directory name to locale template files.

    Attributes
    protected
    Definition Classes
    SkinnyResourceActionsSkinnyApiResourceActions
  6. abstract def updateForm: MapValidator

    Input form for modification

    Input form for modification

    Attributes
    protected
    Definition Classes
    SkinnyApiResourceActions
  7. abstract def updateFormStrongParameters: Seq[(String, ParamType)]

    Strong parameter definitions for modification form

    Strong parameter definitions for modification form

    Attributes
    protected
    Definition Classes
    SkinnyApiResourceActions

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. object WithRendering extends controller.feature.SkinnyControllerCommonBase.RenderingRequired with Product with Serializable

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

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

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

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

    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
  11. def addActionDefinition(actionDef: ActionDefinition): Unit

    Adds action definition

    Adds action definition

    actionDef

    action definition

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

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

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

    handler

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

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

    Add param to params in the request scope.

    Add param to params in the request scope.

    name

    name

    value

    value

    Definition Classes
    RequestScopeFeature
  15. def addRoute(method: HttpMethod, transformers: Seq[RouteTransformer], action: ⇒ Any): Route

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

    Definition Classes
    BeforeAfterDsl
  17. def afterAction(only: Seq[Symbol] = Nil, except: Seq[Symbol] = Nil)(action: ⇒ Any): Unit

    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
  18. def afterFilter(only: Seq[Symbol] = Nil, except: Seq[Symbol] = Nil)(action: ⇒ Any): Unit

    If you prefer #afterFilter than #afterAction, keep going!

    If you prefer #afterFilter than #afterAction, keep going!

    Definition Classes
    BeforeAfterActionFeature
  19. implicit val anyToBoolean: micro.implicits.TypeConverter[Any, Boolean]

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

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

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

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

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

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

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

    Definition Classes
    LowPriorityImplicits
  27. final def asInstanceOf[T0]: T0

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

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

    Definition Classes
    BeforeAfterDsl
  30. def beforeAction(only: Seq[Symbol] = Nil, except: Seq[Symbol] = Nil)(action: ⇒ Any): Unit

    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
  31. def beforeFilter(only: Seq[Symbol] = Nil, except: Seq[Symbol] = Nil)(action: ⇒ Any): Unit

    If you prefer #beforeFilter than #beforeAction, keep going!

    If you prefer #beforeFilter than #beforeAction, keep going!

    Definition Classes
    BeforeAfterActionFeature
  32. implicit def booleanBlock2RouteMatcher(block: ⇒ Boolean): RouteMatcher

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

    Definition Classes
    SkinnyMicroBase
  34. def clone(): AnyRef

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

    Definition Classes
    JSONStringOps
  36. var config: ConfigT

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

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

    Definition Classes
    ResponseContentTypeAccessor
  39. def contentTypeInferrer: ContentTypeInferrer

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

    Definition Classes
    ResponseContentTypeAccessor
  41. def context: SkinnyContext

    Definition Classes
    SkinnyContextInitializer
  42. def contextPath: String

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

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

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

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

    Definition Classes
    CookiesImplicits
  47. def countResources(): Long

    Attributes
    protected
    Definition Classes
    SkinnyApiResourceActions
  48. def createApiAction: Any

    Attributes
    protected
    Definition Classes
    SkinnyApiResourceRoutes
  49. val createApiUrl: Route

    Definition Classes
    SkinnyApiResourceRoutes
  50. def createI18n()(implicit locale: Locale = ...): I18n

    Creates skinny.

    Creates skinny.I18n instance for current locale.

    locale

    current locale

    returns

    i18n provider

    Attributes
    protected
    Definition Classes
    SkinnyControllerCommonBase
  51. def createParams: Params

    Params for creation.

    Params for creation.

    Attributes
    protected
    Definition Classes
    SkinnyApiResourceActions
  52. def createRenderContext(out: PrintWriter)(implicit ctx: SkinnyContext): SkinnyScalateRenderContext

    Creates a RenderContext instance for Skinny app.

    Creates a RenderContext instance for Skinny app.

    Attributes
    protected
    Definition Classes
    ScalateTemplateEngineFeature → ScalateSupport
  53. def createResource()(implicit format: Format = Format.HTML): Any

    Creates new resource.

    Creates new resource.

    POST /{resources}

    format

    format

    returns

    created response if success

    Definition Classes
    SkinnyResourceActionsSkinnyApiResourceActions
  54. def createSkinnyScalateRenderContext(ctx: SkinnyContext): SkinnyScalateRenderContext

    Attributes
    protected
    Definition Classes
    ScalateTemplateEngineFeature
  55. def createTemplateEngine(config: ConfigT): TemplateEngine

    Creates TemplateEngine instance for Skinny app.

    Creates TemplateEngine instance for Skinny app.

    config

    configuration

    returns

    TemplateEngine instance

    Attributes
    protected
    Definition Classes
    ScalateTemplateEngineFeature → ScalateSupport
  56. val createUrl: Route

    Definition Classes
    SkinnyResourceRoutes
  57. val createWithSlashUrl: Route

    Definition Classes
    SkinnyResourceRoutes
  58. def csrfKey: String

    Overrides Scalatra's default key name.

    Overrides Scalatra's default key name.

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

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

    Returns action name for this request.

    Returns action name for this request.

    returns

    action name

    Definition Classes
    ActionDefinitionFeature
  61. def currentErrorHandler: ErrorHandler

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

    Returns current locale for this request.

    Returns current locale for this request.

    returns

    current locale

    Attributes
    protected
    Definition Classes
    LocaleFeature
  63. def debugLoggingParameters(form: MapValidator, id: Option[Id] = None): Unit

    Outputs debug logging for passed parameters.

    Outputs debug logging for passed parameters.

    form

    input form

    id

    id if exists

    Attributes
    protected
    Definition Classes
    SkinnyApiResourceActions
  64. def debugLoggingPermittedParameters(parameters: PermittedStrongParameters, id: Option[Id] = None): Unit

    Outputs debug logging for permitted parameters.

    Outputs debug logging for permitted parameters.

    parameters

    permitted strong parameters

    id

    id if exists

    Attributes
    protected
    Definition Classes
    SkinnyApiResourceActions
  65. def defaultAcceptedFormats: List[Symbol]

    Definition Classes
    ApiFormats
  66. val defaultCharacterEncoding: String

    Attributes
    protected
    Definition Classes
    CoreHandler
  67. def defaultFormat: Symbol

    Definition Classes
    ApiFormats
  68. def defaultIndexName: String

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

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

    Returns default locale.

    Returns default locale.

    Attributes
    protected
    Definition Classes
    LocaleFeature
  71. def defaultObjectMapper: ObjectMapper

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

    Definition Classes
    DefaultImplicits
  73. def defaultTemplateFormat: String

    Attributes
    protected
    Definition Classes
    ScalateSupport
  74. def defaultTemplatePath: List[String]

    Overrides to make the template path simpler.

    Overrides to make the template path simpler.

    returns

    paths

    Attributes
    protected
    Definition Classes
    ScalateTemplateEngineFeature → ScalateSupport
  75. def delete(transformers: RouteTransformer*)(action: ⇒ Any): Route

    Definition Classes
    RoutingDsl
  76. def deleteAction: Any

    Attributes
    protected
    Definition Classes
    SkinnyResourceRoutes
  77. def deleteApiAction: Any

    Attributes
    protected
    Definition Classes
    SkinnyApiResourceRoutes
  78. def destroy(): Unit

    Definition Classes
    SkinnyMicroServletBase → GenericServlet → Servlet
  79. val destroyApiUrl: Route

    Definition Classes
    SkinnyApiResourceRoutes
  80. def destroyResource(id: Id)(implicit format: Format = Format.HTML): Any

    Destroys the specified resource.

    Destroys the specified resource.

    DELETE /{resources}/{id}

    id

    id

    format

    format

    returns

    result

    Definition Classes
    SkinnyResourceActionsSkinnyApiResourceActions
  81. val destroyUrl: Route

    Definition Classes
    SkinnyResourceRoutes
  82. def detectTooManyErrorFilterRegistrationAsAnErrorAtSkinnyMicroBase: Boolean

    Attributes
    protected
    Definition Classes
    ErrorHandlerAccessor
  83. def doCreateAndReturnId(parameters: PermittedStrongParameters): Id

    Executes resource creation.

    Executes resource creation.

    parameters

    permitted parameters

    returns

    generated resource id

    Attributes
    protected
    Definition Classes
    SkinnyApiResourceActions
  84. def doDelete(arg0: HttpServletRequest, arg1: HttpServletResponse): Unit

    Attributes
    protected[javax.servlet.http]
    Definition Classes
    HttpServlet
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )
  85. def doDestroy(id: Id): Int

    Executes deletion of the specified single resource.

    Executes deletion of the specified single resource.

    id

    id

    returns

    count

    Attributes
    protected
    Definition Classes
    SkinnyApiResourceActions
  86. def doGet(arg0: HttpServletRequest, arg1: HttpServletResponse): Unit

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

    Attributes
    protected[javax.servlet.http]
    Definition Classes
    HttpServlet
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )
  88. var doNotFound: () ⇒ Any

    Attributes
    protected
    Definition Classes
    SkinnyMicroServletBase → SkinnyMicroBase
  89. def doOptions(arg0: HttpServletRequest, arg1: HttpServletResponse): Unit

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

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

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

    Attributes
    protected[javax.servlet.http]
    Definition Classes
    HttpServlet
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )
  93. def doUpdate(id: Id, parameters: PermittedStrongParameters): Int

    Executes modification for the specified resource.

    Executes modification for the specified resource.

    id

    id

    parameters

    permitted parameters

    returns

    count

    Attributes
    protected
    Definition Classes
    SkinnyApiResourceActions
  94. def editResource(id: Id)(implicit format: Format = Format.HTML): Any

    Shows input form for modification.

    Shows input form for modification.

    GET /{resources}/{id}/edit

    id

    id

    format

    format

    returns

    input form

    Definition Classes
    SkinnyResourceActions
  95. val editUrl: Route

    Definition Classes
    SkinnyResourceRoutes
  96. def enablePagination: Boolean

    Attributes
    protected
    Definition Classes
    SkinnyApiResourceActions
  97. implicit def enrichRequest(request: HttpServletRequest): RichRequest

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

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

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

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

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

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

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

    Returns errorMessages in the RequestScope.

    Returns errorMessages in the RequestScope.

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

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  108. def findResource(id: Id): Option[_]

    Attributes
    protected
    Definition Classes
    SkinnyApiResourceActions
  109. def findResources(): List[_]

    Attributes
    protected
    Definition Classes
    SkinnyApiResourceActions
  110. def findResources(pageSize: Int, pageNo: Int): List[_]

    Attributes
    protected
    Definition Classes
    SkinnyApiResourceActions
  111. def findTemplate(path: String, extensionSet: Set[String]): Option[String]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    UrlGenerator
  126. def generateWelcomePageIfAbsent(path: String)(implicit format: Format = Format.HTML): Unit

    Generates a sample page for absent page.

    Generates a sample page for absent page.

    Attributes
    protected
    Definition Classes
    ScalateTemplateEngineFeature
  127. def get(transformers: RouteTransformer*)(action: ⇒ Any): Route

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

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

    Fetches value from request scope.

    Fetches value from request scope.

    A

    type

    key

    key

    returns

    value if exists

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

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

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

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

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

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

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

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

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

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

    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
  140. def handle(req: HttpServletRequest, res: HttpServletResponse): Unit

    Definition Classes
    ScalateSupport → CoreHandler → Handler
  141. def handleForgery(): Unit

    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
  142. def handleForgeryIfDetected(): Nothing

    Handles when CSRF is detected.

    Handles when CSRF is detected.

    Definition Classes
    SkinnyWebPageControllerFeaturesCSRFProtectionFeature
  143. def hashCode(): Int

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

    Definition Classes
    RoutingDsl
  145. def idName: String

    Id field name.

    Id field name.

    Attributes
    protected
    Definition Classes
    SkinnyApiResourceActions
  146. def idParamName: String

    Id parameter name.

    Id parameter name.

    Attributes
    protected
    Definition Classes
    SkinnyApiResourceActions
  147. def indexApiAction: Any

    Attributes
    protected
    Definition Classes
    SkinnyApiResourceRoutes
  148. val indexApiUrl: Route

    Definition Classes
    SkinnyApiResourceRoutes
  149. val indexUrl: Route

    Definition Classes
    SkinnyResourceRoutes
  150. val indexWithSlashUrl: Route

    Definition Classes
    SkinnyResourceRoutes
  151. def inferFromFormats: ContentTypeInferrer

    Attributes
    protected
    Definition Classes
    ApiFormats
  152. def infoTimeLoggingEnabled: Boolean

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

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

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

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

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

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

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

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

    Attributes
    protected
    Definition Classes
    EnvAccessor
  161. def isForged: Boolean

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

    Definition Classes
    Any
  163. def isProduction(): Boolean

    Attributes
    protected
    Definition Classes
    EnvAccessor
  164. def isScalateErrorPageEnabled: Boolean

    To deal with exceptions.

    To deal with exceptions.

    http://www.scalatra.org/guides/views/scalate.html#toc_303

    Definition Classes
    ScalateTemplateEngineFeature → ScalateSupport
  165. def isStaging(): Boolean

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

    Attributes
    protected
    Definition Classes
    EnvAccessor
  167. def itemName: String

    Item variable name in view templates.

    Item variable name in view templates.

    Attributes
    protected
    Definition Classes
    SkinnyResourceActions
  168. def itemsName: String

    Items variable name in view templates.

    Items variable name in view templates.

    Attributes
    protected
    Definition Classes
    SkinnyResourceActions
  169. def jade(path: String, attributes: (String, Any)*)(implicit ctx: SkinnyContext): String

    Attributes
    protected
    Definition Classes
    ScalateSupport
  170. implicit val jsonFormats: Formats

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

    Returns keyAndErrorMessages in the RequestScope.

    Returns keyAndErrorMessages in the RequestScope.

    Definition Classes
    RequestScopeFeature
  172. def layout(path: String)(implicit ctx: SkinnyContext): ScalateTemplateEngineFeature

    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
  173. def layoutTemplate(path: String, attributes: (String, Any)*)(implicit ctx: SkinnyContext): String

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

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

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

    Definition Classes
    GenericServlet
  177. def logger: Logger

    Attributes
    protected
    Definition Classes
    LoggerProvider
  178. def loggerName: String

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

    Definition Classes
    LowestPriorityImplicits
  180. def maxDurationToAwaitAsyncFilters: Duration

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  188. def newResource()(implicit format: Format = Format.HTML): Any

    Shows input form for creation.

    Shows input form for creation.

    GET /{resources}/new

    format

    format

    returns

    input form

    Definition Classes
    SkinnyResourceActions
  189. val newUrl: Route

    Definition Classes
    SkinnyResourceRoutes
  190. final def normalizedResourcesBasePath: String

    Normalized base path.

    Normalized base path. This method should not be overridden.

    Attributes
    protected
    Definition Classes
    SkinnyApiResourceActions
  191. def notFound(fun: ⇒ Any): Unit

    Definition Classes
    SkinnyMicroBase
  192. final def notify(): Unit

    Definition Classes
    AnyRef
  193. final def notifyAll(): Unit

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

    Definition Classes
    RoutingDsl
  195. def pageNoParamName: String

    Attributes
    protected
    Definition Classes
    SkinnyApiResourceActions
  196. def pageSize: Int

    Attributes
    protected
    Definition Classes
    SkinnyApiResourceActions
  197. def pageSizeParamName: String

    Attributes
    protected
    Definition Classes
    SkinnyApiResourceActions
  198. def params(implicit ctx: SkinnyContext): micro.Params

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

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

    Definition Classes
    ParamsAccessor
  201. def pass(): Nothing

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

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

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

    Definition Classes
    RoutingDsl
  205. def preferredScalateExtension: String

    The Scalate template type that is searched for first.

    The Scalate template type that is searched for first.

    Definition Classes
    ScalateTemplateEngineFeature
  206. def prefixForJSONVulnerabilityProtection: String

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

    Attributes
    protected
    Definition Classes
    CSRFTokenSupport
  208. def protectFromForgery(only: Seq[Symbol] = Nil, except: Seq[Symbol] = Nil): Unit

    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
  209. def put(transformers: RouteTransformer*)(action: ⇒ Any): Route

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

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

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

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

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

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

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

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

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

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

    Attributes
    protected
    Definition Classes
    SkinnyMicroBase
  220. def render(path: String)(implicit ctx: SkinnyContext, format: Format = Format.HTML): String

    Renders body with template.

    Renders body with template.

    path

    path name

    format

    format (HTML,JSON,XML...)

    returns

    body

    Definition Classes
    TemplateEngineFeature
  221. def renderResponse(actionResult: Any)(implicit ctx: SkinnyContext): Unit

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

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

    Attributes
    protected
    Definition Classes
    ScalateSupport → SkinnyMicroBase
  224. def renderWithFormat(entity: Any)(implicit format: micro.Format = Format.HTML): String

    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
  225. def renderWithTemplate(path: String)(implicit ctx: SkinnyContext, format: Format = Format.HTML): String

    Renders body with template.

    Renders body with template.

    path

    path name

    format

    format (HTML,JSON,XML...)

    returns

    true/false

    Attributes
    protected
    Definition Classes
    ScalateTemplateEngineFeatureTemplateEngineFeature
  226. def request(implicit ctx: SkinnyContext): HttpServletRequest

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

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

    Definition Classes
    SkinnyMicroServletBase → SkinnyMicroBase
  229. def requestScope(keyAndValues: Seq[(String, Any)])(implicit ctx: SkinnyContext): RequestScopeFeature

    Set attributes to request scope.

    Set attributes to request scope.

    keyAndValues

    collection of key and value.

    returns

    self

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

    Set attribute to request scope.

    Set attribute to request scope.

    keyAndValue

    key and value

    returns

    self

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

    Returns whole request scope attributes.

    Returns whole request scope attributes.

    returns

    whole attributes

    Definition Classes
    RequestScopeFeature
  232. def resourceNotFound()(implicit ctx: SkinnyContext): Any

    Attributes
    protected
    Definition Classes
    SkinnyMicroServletBase
  233. def resourcesBasePath: String

    Base path.

    Base path.

    Attributes
    protected
    Definition Classes
    SkinnyApiResourceActions
  234. def resourcesBasePathPrefix: String

    Base path prefix.

    Base path prefix. (e.g. /admin/{resourcesName} )

    Attributes
    protected
    Definition Classes
    SkinnyApiResourceActions
  235. def respondTo: Seq[micro.Format]

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

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

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

    Attributes
    protected
    Definition Classes
    SkinnyMicroServletBase → SkinnyMicroBase
  239. def routeForShowApi: Route

    Attributes
    protected
    Definition Classes
    SkinnyApiResourceRoutes
  240. val routes: RouteRegistry

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

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

    Definition Classes
    TypeConverterSupport
  243. def scalateExtensions: List[String]

    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
  244. def scalateRenderContextNumberFormat: DecimalFormat

    Creates a DecimalFormat instance to be use by default.

    Creates a DecimalFormat instance to be use by default.

    Definition Classes
    ScalateTemplateEngineFeature
  245. def scaml(path: String, attributes: (String, Any)*)(implicit ctx: SkinnyContext): String

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

    Returns registered sensitive parameter names.

    Returns registered sensitive parameter names.

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

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

    Definition Classes
    DefaultImplicits
  249. def serveStaticResource()(implicit ctx: SkinnyContext): Option[Any]

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

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

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

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

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

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

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

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

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

    Definition Classes
    SessionImplicits
  259. def sessionLocaleKey: String

    Session key to store current locale string.

    Session key to store current locale string.

    returns

    key

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

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

    Set attributes to request scope.

    Set attributes to request scope.

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

    Set attribute to request scope.

    Set attribute to request scope.

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

    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
  264. def setContentTypeFromSkinnyApiResourceExtParam: Unit

    Set Content-Type response header which is suitable for specified extension.

    Set Content-Type response header which is suitable for specified extension.

    Attributes
    protected
    Definition Classes
    SkinnyApiResourceRoutes
  265. def setContentTypeIfAbsent()(implicit format: micro.Format = Format.HTML): Unit

    Set Content-Type for the format if absent.

    Set Content-Type for the format if absent.

    format

    format

    Attributes
    protected
    Definition Classes
    SkinnyControllerCommonBase
  266. def setCreateCompletionFlash(): Unit

    Set notice flash message for successful completion of creation.

    Set notice flash message for successful completion of creation.

    Attributes
    protected
    Definition Classes
    SkinnyResourceActions
  267. def setCurrentLocale(locale: String)(implicit ctx: SkinnyContext): Unit

    Set current locale.

    Set current locale.

    locale

    locale string

    Attributes
    protected
    Definition Classes
    LocaleFeature
  268. def setDestroyCompletionFlash(): FlashMap

    Set notice flash message for successful completion of deletion.

    Set notice flash message for successful completion of deletion.

    Attributes
    protected
    Definition Classes
    SkinnyResourceActions
  269. def setI18n(implicit ctx: SkinnyContext = context): RequestScopeFeature

    Set {{skinny.

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

    ctx

    context

    returns

    self

    Definition Classes
    RequestScopeFeature
  270. def setMultiparams[S](matchedRoute: Option[MatchedRoute], originalParams: micro.MultiParams)(implicit ctx: SkinnyContext): Unit

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

    Set params to request scope.

    Set params to request scope.

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

    Set params to request scope.

    Set params to request scope.

    Definition Classes
    RequestScopeFeature
  273. def setUpdateCompletionFlash(): FlashMap

    Set notice flash message for successful completion of modification.

    Set notice flash message for successful completion of modification.

    Attributes
    protected
    Definition Classes
    SkinnyResourceActions
  274. def showApiAction: Any

    Attributes
    protected
    Definition Classes
    SkinnyApiResourceRoutes
  275. val showApiUrl: Route

  276. def showResource(id: Id)(implicit format: Format = Format.HTML): Any

    Show single resource.

    Show single resource.

    GET /{resources}/{id} GET /{resources}/{id}.xml GET /{resources}/{id}.json

    id

    id

    format

    format

    returns

    single resource

    Definition Classes
    SkinnyResourceActionsSkinnyApiResourceActions
  277. def showResources()(implicit format: Format = Format.HTML): Any

    Shows a list of resource.

    Shows a list of resource.

    GET /{resources}/ GET /{resources}/?page=1&size=10 GET /{resources} GET /{resources}.xml GET /{resources}.json

    format

    format

    returns

    list of resource

    Definition Classes
    SkinnyResourceActionsSkinnyApiResourceActions
  278. val showUrl: Route

    Definition Classes
    SkinnyResourceRoutes
  279. def shutdown(): Unit

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

    Definition Classes
    MainThreadLocalEverywhere → SkinnyContextInitializer
  281. implicit val skinnyController: SkinnyControllerCommonBase

    Pass this controller instance implicitly because skinny.routing.implicits.RoutesAsImplicits expects skinny.controller.SkinnyControllerBase.

    Pass this controller instance implicitly because skinny.routing.implicits.RoutesAsImplicits expects skinny.controller.SkinnyControllerBase.

    Definition Classes
    Routes
  282. def skinnyEnv: Option[String]

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

    Registered error handlers.

    Registered error handlers.

    Attributes
    protected
    Definition Classes
    SkinnyFilterActivation
  284. implicit val skinnyMicroParamsIdTypeConverter: TypeConverter[String, Id]

    to enable params.

    to enable params.getAs[Id]("id")

    Definition Classes
    SkinnyApiResourceRoutes
  285. implicit def skinnyValidatorSafe[S, T](f: (S) ⇒ T): ParamValueTypeConverter[S, T]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    ParametersGetAsImplicits
  301. def skipHaltingWhenRedirection: Boolean

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

    Attributes
    protected
    Definition Classes
    ScalateSupport
  303. def stackTraceDepthForTimeLogging: Int

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Attributes
    protected
    Definition Classes
    ScalateSupport
  323. var templateEngine: TemplateEngine

    Attributes
    protected[this]
    Definition Classes
    ScalateSupport
  324. def templateExists(path: String)(implicit format: Format = Format.HTML): Boolean

    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
  325. def templatePaths(path: String)(implicit format: Format = Format.HTML): List[String]

    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
  326. def toJSON(v: Any): JValue

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

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

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

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

    Definition Classes
    JSONStringOps
  331. def toSnakeCase(s: String): String

    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
  332. def toString(): String

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

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

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

    Definition Classes
    SkinnyMicroParamsImplicits
  336. def totalPagesAttributeName: String

    Attributes
    protected
    Definition Classes
    SkinnyResourceActions
  337. def trap(code: Int)(block: ⇒ Any): Unit

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

    Definition Classes
    RoutingDsl
  339. def unstableAccessValidationEnabled: Boolean

    Attributes
    protected
    Definition Classes
    UnstableAccessValidationConfig
  340. def updateAction: Any

    Attributes
    protected
    Definition Classes
    SkinnyResourceRoutes
  341. def updateApiAction: Any

    Attributes
    protected
    Definition Classes
    SkinnyApiResourceRoutes
  342. def updateParams: Params

    Params for modification.

    Params for modification.

    Attributes
    protected
    Definition Classes
    SkinnyApiResourceActions
  343. val updatePatchApiUrl: Route

    Definition Classes
    SkinnyApiResourceRoutes
  344. val updatePatchUrl: Route

    Definition Classes
    SkinnyResourceRoutes
  345. val updatePostApiUrl: Route

    Definition Classes
    SkinnyApiResourceRoutes
  346. val updatePostUrl: Route

    Definition Classes
    SkinnyResourceRoutes
  347. val updatePutApiUrl: Route

    Definition Classes
    SkinnyApiResourceRoutes
  348. def updateResource(id: Id)(implicit format: Format = Format.HTML): Any

    Updates the specified single resource.

    Updates the specified single resource.

    PUT /{resources}/{id}

    id

    id

    format

    format

    returns

    result

    Definition Classes
    SkinnyResourceActionsSkinnyApiResourceActions
  349. val updateUrl: Route

    Definition Classes
    SkinnyResourceRoutes
  350. def url(route: Route, params: Map[String, String], splats: Iterable[String])(implicit ctx: SkinnyContext): String

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

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

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

    Definition Classes
    UrlGenerator
  354. def useJSONVulnerabilityProtection: Boolean

    Attributes
    protected
    Definition Classes
    JSONStringOps
  355. def useRelativePathForResourcesBasePath: Boolean

    Use relative path if true.

    Use relative path if true. This is set as false by default.

    If you set this as true, routing will become simpler but /{resources}.xml or /{resources}.json don't work.

    Attributes
    protected
    Definition Classes
    SkinnyApiResourceActions
  356. def useSnakeCasedParamKeys: Boolean

    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
  357. def useUnderscoreKeysForJSON: Boolean

    Attributes
    protected
    Definition Classes
    JSONStringOps
  358. def validation(params: Params, validations: NewValidation*)(implicit locale: Locale = currentLocale.orNull[Locale]): MapValidator

    Creates validator with prefix(resourceName).

    Creates validator with prefix(resourceName).

    params

    params

    validations

    validations

    locale

    current locale

    returns

    validator

    Definition Classes
    SkinnyResourceActionsSkinnyApiResourceActions
  359. def validationWithParams(validations: NewValidation*)(implicit locale: Locale = ...): MapValidator

    Creates new validation form.

    Creates new validation form.

    validations

    validations

    locale

    current locale

    returns

    validator

    Definition Classes
    ValidationFeature
  360. def validationWithParamsAndPrefix(prefix: String, params: Params, validations: NewValidation*)(implicit locale: Locale = ...): MapValidator

    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
  361. def validationWithPrefix(params: Params, prefix: String, validations: NewValidation*)(implicit ctx: SkinnyContext): MapValidator

    Creates new validation form.

    Creates new validation form.

    params

    params

    prefix

    key prefix for error message

    validations

    validations

    returns

    validator

    Definition Classes
    ValidationFeature
  362. def viewsDirectoryPath: String

    Directory path which contains view templates under src/main/webapp/WEB-INF/views.

    Directory path which contains view templates under src/main/webapp/WEB-INF/views.

    Attributes
    protected
    Definition Classes
    SkinnyResourceActions
  363. final def wait(): Unit

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

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

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

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

    Definition Classes
    TimeLoggingFeature
  368. def withFormat[A](format: micro.Format)(action: ⇒ A): A

    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
  369. def withOutputStream(f: (ServletOutputStream) ⇒ Unit)(implicit ctx: micro.Context): Unit

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

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

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

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

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

    Definition Classes
    ChunkedResponseSupport
  375. lazy val xFrameOptionsPolicy: String

    Definition Classes
    XFrameOptionsHeaderFeature
  376. def xmlItemName: String

    Each resource item element name in the XML response.

    Each resource item element name in the XML response.

    Attributes
    protected
    Definition Classes
    SkinnyApiResourceActions
  377. def xmlRootName: String

    Root element name in the XML response.

    Root element name in the XML response.

    Attributes
    protected
    Definition Classes
    SkinnyApiResourceActions

Deprecated Value Members

  1. def responseFormat(implicit ctx: SkinnyContext): String

    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 SkinnyResourceRoutes[Id]

Inherited from SkinnyApiResourceRoutes[Id]

Inherited from routing.Routes

Inherited from SkinnyResourceActions[Id]

Inherited from SkinnyApiResourceActions[Id]

Inherited from SkinnyServlet

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 JSONSupport

Inherited from JSONStringOps

Inherited from BeforeAfterActionFeature

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 CoreHandler

Inherited from Handler

Inherited from logging.LoggerProvider

Inherited from ServletContextAccessor

Inherited from RicherStringImplicits

Inherited from ServletApiImplicits

Inherited from RouteRegistryAccessor

Inherited from UnstableAccessValidationConfig

Inherited from SkinnyContextInitializer

Inherited from Initializable

Inherited from HttpServlet

Inherited from GenericServlet

Inherited from Serializable

Inherited from ServletConfig

Inherited from Servlet

Inherited from AnyRef

Inherited from Any

Ungrouped