skinny.controller

AsyncSkinnyControllerBase

trait AsyncSkinnyControllerBase extends SkinnyControllerCommonBase with AsyncFeatures with AsyncBeforeAfterActionFeature

Linear Supertypes
AsyncBeforeAfterActionFeature, AsyncFeatures, AsyncBeforeAfterDsl, AsyncRoutingDsl, RoutingDslBase, AsyncSupport, AsyncOperations, SkinnyControllerCommonBase, SkinnyFilterActivation, ParamsPermitImplicits, ParametersGetAsImplicits, RoutesAsImplicits, XContentTypeOptionsNosniffHeaderFeature, TimeLoggingFeature, SensitiveParametersFeature, TimeLogging, ValidationFeature, JSONFeature, JSONSupport, JSONStringOps, ChunkedResponseFeature, ChunkedResponseSupport, RequestScopeFeature, LocaleFeature, SnakeCasedParamKeysFeature, BeforeAfterDsl, ActionDefinitionFeature, ExplicitRedirectFeature, UrlGeneratorSupport, FormParamsFeature, QueryParamsFeature, EnvFeature, ApiFormats, SkinnyMicroBase, SessionImplicits, DefaultImplicits, LowPriorityImplicits, LowestPriorityImplicits, micro.implicits.TypeConverterSupport, SkinnyMicroParamsImplicits, CookiesImplicits, RouteMatcherImplicits, HaltPassControl, UrlGenerator, ResponseStatusAccessor, ResponseContentTypeAccessor, RequestFormatAccessor, FormParamsAccessor, QueryParamsAccessor, ParamsAccessor, EnvAccessor, ErrorHandlerAccessor, RedirectionDsl, AsyncSupported, Handler, logging.LoggerProvider, ServletContextAccessor, RicherStringImplicits, ServletApiImplicits, RouteRegistryAccessor, UnstableAccessValidationConfig, SkinnyContextInitializer, Initializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AsyncSkinnyControllerBase
  2. AsyncBeforeAfterActionFeature
  3. AsyncFeatures
  4. AsyncBeforeAfterDsl
  5. AsyncRoutingDsl
  6. RoutingDslBase
  7. AsyncSupport
  8. AsyncOperations
  9. SkinnyControllerCommonBase
  10. SkinnyFilterActivation
  11. ParamsPermitImplicits
  12. ParametersGetAsImplicits
  13. RoutesAsImplicits
  14. XContentTypeOptionsNosniffHeaderFeature
  15. TimeLoggingFeature
  16. SensitiveParametersFeature
  17. TimeLogging
  18. ValidationFeature
  19. JSONFeature
  20. JSONSupport
  21. JSONStringOps
  22. ChunkedResponseFeature
  23. ChunkedResponseSupport
  24. RequestScopeFeature
  25. LocaleFeature
  26. SnakeCasedParamKeysFeature
  27. BeforeAfterDsl
  28. ActionDefinitionFeature
  29. ExplicitRedirectFeature
  30. UrlGeneratorSupport
  31. FormParamsFeature
  32. QueryParamsFeature
  33. EnvFeature
  34. ApiFormats
  35. SkinnyMicroBase
  36. SessionImplicits
  37. DefaultImplicits
  38. LowPriorityImplicits
  39. LowestPriorityImplicits
  40. TypeConverterSupport
  41. SkinnyMicroParamsImplicits
  42. CookiesImplicits
  43. RouteMatcherImplicits
  44. HaltPassControl
  45. UrlGenerator
  46. ResponseStatusAccessor
  47. ResponseContentTypeAccessor
  48. RequestFormatAccessor
  49. FormParamsAccessor
  50. QueryParamsAccessor
  51. ParamsAccessor
  52. EnvAccessor
  53. ErrorHandlerAccessor
  54. RedirectionDsl
  55. AsyncSupported
  56. Handler
  57. LoggerProvider
  58. ServletContextAccessor
  59. RicherStringImplicits
  60. ServletApiImplicits
  61. RouteRegistryAccessor
  62. UnstableAccessValidationConfig
  63. SkinnyContextInitializer
  64. Initializable
  65. AnyRef
  66. 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. abstract type ConfigT <: AnyRef { ... /* 3 definitions in type refinement */ }

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

    Definition Classes
    SkinnyFilterActivation
  4. sealed class TypedMultiParams extends AnyRef

    Definition Classes
    SkinnyMicroParamsImplicits
  5. sealed class TypedParams extends AnyRef

    Definition Classes
    SkinnyMicroParamsImplicits

Abstract Value Members

  1. abstract val doNotFound: () ⇒ Any

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

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

    Attributes
    protected
    Definition Classes
    RoutingDslBase

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. def FutureWithContext[A](op: (SkinnyContext) ⇒ A)(implicit ec: ExecutionContext, context: SkinnyContext): Future[A]

    Definition Classes
    AsyncOperations
  7. object WithRendering extends controller.feature.SkinnyControllerCommonBase.RenderingRequired with Product with Serializable

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

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

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

    Attributes
    protected
    Definition Classes
    ApiFormats
  11. 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
  12. def addActionDefinition(actionDef: ActionDefinition): Unit

    Adds action definition

    Adds action definition

    actionDef

    action definition

    Definition Classes
    ActionDefinitionFeature
  13. 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
  14. def addMimeMapping(mime: String, extension: String): Unit

    Attributes
    protected
    Definition Classes
    ApiFormats
  15. 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
  16. def addRoute(method: HttpMethod, transformers: Seq[RouteTransformer], action: (micro.Context) ⇒ Any): Route

    Attributes
    protected
    Definition Classes
    AsyncRoutingDsl
  17. def after(transformers: RouteTransformer*)(fun: (micro.Context) ⇒ Any): Unit

    Definition Classes
    AsyncBeforeAfterDsl
  18. def after(transformers: RouteTransformer*)(fun: ⇒ Any): Unit

    Definition Classes
    BeforeAfterDsl
  19. def afterAction(only: Seq[Symbol] = Nil, except: Seq[Symbol] = Nil)(action: (micro.Context) ⇒ 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
    AsyncBeforeAfterActionFeature
  20. def afterFilter(only: Seq[Symbol] = Nil, except: Seq[Symbol] = Nil)(action: (micro.Context) ⇒ Any): Unit

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

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

    Definition Classes
    AsyncBeforeAfterActionFeature
  21. implicit val anyToBoolean: micro.implicits.TypeConverter[Any, Boolean]

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

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

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

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

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

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

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

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

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

    Definition Classes
    JSONStringOps
  31. def awaitFutures[A](duration: Duration)(fs: Future[A]*)(implicit ec: ExecutionContext): Seq[A]

    Definition Classes
    AsyncOperations
  32. def before(transformers: RouteTransformer*)(fun: (micro.Context) ⇒ Any): Unit

    Definition Classes
    AsyncBeforeAfterDsl
  33. def before(transformers: RouteTransformer*)(fun: ⇒ Any): Unit

    Definition Classes
    BeforeAfterDsl
  34. def beforeAction(only: Seq[Symbol] = Nil, except: Seq[Symbol] = Nil)(action: (micro.Context) ⇒ 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
    AsyncBeforeAfterActionFeature
  35. def beforeFilter(only: Seq[Symbol] = Nil, except: Seq[Symbol] = Nil)(action: (micro.Context) ⇒ Any): Unit

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

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

    Definition Classes
    AsyncBeforeAfterActionFeature
  36. implicit def booleanBlock2RouteMatcher(block: ⇒ Boolean): RouteMatcher

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

    Definition Classes
    SkinnyMicroBase
  38. def clone(): AnyRef

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

    Definition Classes
    JSONStringOps
  40. var config: ConfigT

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

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

    Definition Classes
    ResponseContentTypeAccessor
  43. def contentTypeInferrer: ContentTypeInferrer

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

    Definition Classes
    ResponseContentTypeAccessor
  45. def context: SkinnyContext

    Definition Classes
    SkinnyContextInitializer
  46. def contextPath: String

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

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

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

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

    Definition Classes
    CookiesImplicits
  51. 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
  52. 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
  53. def currentErrorHandler: ErrorHandler

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

    Definition Classes
    ApiFormats
  56. val defaultCharacterEncoding: String

    Attributes
    protected
    Definition Classes
    SkinnyMicroBase
  57. def defaultFormat: Symbol

    Definition Classes
    ApiFormats
  58. def defaultLocale: Option[Locale]

    Returns default locale.

    Returns default locale.

    Attributes
    protected
    Definition Classes
    LocaleFeature
  59. def defaultObjectMapper: ObjectMapper

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

    Definition Classes
    DefaultImplicits
  61. def delete(transformers: RouteTransformer*)(action: (micro.Context) ⇒ Any): Route

    Definition Classes
    AsyncRoutingDsl
  62. def detectTooManyErrorFilterRegistrationAsAnErrorAtSkinnyMicroBase: Boolean

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

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

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

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

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

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

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

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

    Returns errorMessages in the RequestScope.

    Returns errorMessages in the RequestScope.

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

    Attributes
    protected
    Definition Classes
    SkinnyMicroBase
  72. implicit def executionContext: ExecutionContext

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  74. def formMultiParams(implicit ctx: SkinnyContext): micro.MultiParams

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    UrlGenerator
  85. def get(transformers: RouteTransformer*)(action: (micro.Context) ⇒ Any): Route

    Definition Classes
    AsyncRoutingDsl
  86. final def getClass(): Class[_]

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

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

    Definition Classes
    HaltPassControl
  90. def haltWithBody[A](httpStatus: Int)(implicit ctx: SkinnyContext, format: micro.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
    SkinnyControllerCommonBase
  91. def handle(request: HttpServletRequest, response: HttpServletResponse): Unit

    Definition Classes
    SkinnyMicroBase → Handler
  92. def hashCode(): Int

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

    Definition Classes
    AsyncRoutingDsl
  94. def inferFromFormats: ContentTypeInferrer

    Attributes
    protected
    Definition Classes
    ApiFormats
  95. def infoTimeLoggingEnabled: Boolean

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

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

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

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

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

    Attributes
    protected
    Definition Classes
    AsyncSupport
  101. def isDevelopment(): Boolean

    Attributes
    protected
    Definition Classes
    EnvAccessor
  102. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  103. def isProduction(): Boolean

    Attributes
    protected
    Definition Classes
    EnvAccessor
  104. def isStaging(): Boolean

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

    Attributes
    protected
    Definition Classes
    EnvAccessor
  106. implicit val jsonFormats: Formats

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

    Returns keyAndErrorMessages in the RequestScope.

    Returns keyAndErrorMessages in the RequestScope.

    Definition Classes
    RequestScopeFeature
  108. def logger: Logger

    Attributes
    protected
    Definition Classes
    LoggerProvider
  109. def loggerName: String

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

    Definition Classes
    LowestPriorityImplicits
  111. def maxDurationToAwaitAsyncFilters: Duration

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

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

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

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

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

    Definition Classes
    ParamsAccessor
  117. final def ne(arg0: AnyRef): Boolean

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

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

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

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

    Definition Classes
    AsyncRoutingDsl
  122. def params(implicit ctx: SkinnyContext): micro.Params

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

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

    Definition Classes
    ParamsAccessor
  125. def pass(): Nothing

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

    Definition Classes
    AsyncRoutingDsl
  127. implicit def pathPatternParser2RouteMatcher(pattern: PathPattern): RouteMatcher

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

    Definition Classes
    AsyncRoutingDsl
  129. def prefixForJSONVulnerabilityProtection: String

    Attributes
    protected
    Definition Classes
    JSONStringOps
  130. def put(transformers: RouteTransformer*)(action: (micro.Context) ⇒ Any): Route

    Definition Classes
    AsyncRoutingDsl
  131. def queryMultiParams(implicit ctx: SkinnyContext): micro.MultiParams

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

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

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

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

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

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

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

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

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

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

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

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

    Attributes
    protected
    Definition Classes
    SkinnyMicroBase
  144. 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
  145. def request(implicit ctx: SkinnyContext): HttpServletRequest

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

    Definition Classes
    ApiFormats
  147. 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
  148. 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
  149. 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
  150. def respondTo: Seq[micro.Format]

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

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

    Attributes
    protected
    Definition Classes
    JSONSupport
  153. val routes: RouteRegistry

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

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

    Definition Classes
    TypeConverterSupport
  156. def sensitiveParameterNames: Seq[String]

    Returns registered sensitive parameter names.

    Returns registered sensitive parameter names.

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

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

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

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

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

    Definition Classes
    ServletContextAccessor
  162. implicit def servletContext: javax.servlet.ServletContext

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

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

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

    Definition Classes
    SessionImplicits
  166. def sessionLocaleKey: String

    Session key to store current locale string.

    Session key to store current locale string.

    returns

    key

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

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

    Set attributes to request scope.

    Set attributes to request scope.

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

    Set attribute to request scope.

    Set attribute to request scope.

    Definition Classes
    RequestScopeFeature
  170. 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
  171. 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
  172. def setCurrentLocale(locale: String)(implicit ctx: SkinnyContext): Unit

    Set current locale.

    Set current locale.

    locale

    locale string

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

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

    Set params to request scope.

    Set params to request scope.

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

    Set params to request scope.

    Set params to request scope.

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

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

    Attributes
    protected
    Definition Classes
    Initializable
  179. def skinnyContext(implicit ctx: javax.servlet.ServletContext): SkinnyContext

    Definition Classes
    SkinnyContextInitializer
  180. def skinnyEnv: Option[String]

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

    Registered error handlers.

    Registered error handlers.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    ParametersGetAsImplicits
  198. def skipHaltingWhenRedirection: Boolean

    Attributes
    protected
    Definition Classes
    RedirectionDsl
  199. def stackTraceDepthForTimeLogging: Int

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    DefaultImplicits
  215. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  216. def toJSON(v: Any): JValue

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

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

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

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

    Definition Classes
    JSONStringOps
  221. 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
  222. def toString(): String

    Definition Classes
    AnyRef → Any
  223. implicit def toTypedMultiParams(params: micro.MultiParams): TypedMultiParams

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

    Definition Classes
    SkinnyMicroParamsImplicits
  225. def trap(code: Int)(block: (micro.Context) ⇒ Any): Unit

    Definition Classes
    AsyncRoutingDsl
  226. def trap(codes: Range)(block: (micro.Context) ⇒ Any): Unit

    Definition Classes
    AsyncRoutingDsl
  227. def unstableAccessValidationEnabled: Boolean

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

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

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

    Definition Classes
    UrlGenerator
  232. def useJSONVulnerabilityProtection: Boolean

    Attributes
    protected
    Definition Classes
    JSONStringOps
  233. def useMostlyStableHttpSession: Boolean

    Attributes
    protected
    Definition Classes
    UnstableAccessValidationConfig
  234. 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
  235. def useUnderscoreKeysForJSON: Boolean

    Attributes
    protected
    Definition Classes
    JSONStringOps
  236. def validation(params: Params, validations: NewValidation*)(implicit locale: Locale = ...): MapValidator

    Creates new validation form.

    Creates new validation form.

    params

    params

    validations

    validations

    locale

    current locale

    returns

    validator

    Definition Classes
    ValidationFeature
  237. 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
  238. 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
  239. 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
  240. final def wait(): Unit

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    ChunkedResponseSupport
  252. def xmlItemName: String

    Attributes
    protected
    Definition Classes
    SkinnyControllerCommonBase
  253. def xmlRootName: String

    Attributes
    protected
    Definition Classes
    SkinnyControllerCommonBase

Deprecated Value Members

  1. def futureWithRequest[A](op: (HttpServletRequest) ⇒ A)(implicit ec: ExecutionContext, ctx: SkinnyContext): Future[A]

    Definition Classes
    AsyncOperations
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) Use FutureWithContext { implicit ctx => ... } instead

  2. 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 AsyncFeatures

Inherited from AsyncBeforeAfterDsl

Inherited from AsyncRoutingDsl

Inherited from RoutingDslBase

Inherited from AsyncSupport

Inherited from AsyncOperations

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 BeforeAfterDsl

Inherited from ActionDefinitionFeature

Inherited from ExplicitRedirectFeature

Inherited from UrlGeneratorSupport

Inherited from FormParamsFeature

Inherited from QueryParamsFeature

Inherited from EnvFeature

Inherited from ApiFormats

Inherited from SkinnyMicroBase

Inherited from SessionImplicits

Inherited from DefaultImplicits

Inherited from LowPriorityImplicits

Inherited from LowestPriorityImplicits

Inherited from micro.implicits.TypeConverterSupport

Inherited from SkinnyMicroParamsImplicits

Inherited from CookiesImplicits

Inherited from RouteMatcherImplicits

Inherited from HaltPassControl

Inherited from UrlGenerator

Inherited from ResponseStatusAccessor

Inherited from ResponseContentTypeAccessor

Inherited from RequestFormatAccessor

Inherited from FormParamsAccessor

Inherited from QueryParamsAccessor

Inherited from ParamsAccessor

Inherited from EnvAccessor

Inherited from ErrorHandlerAccessor

Inherited from RedirectionDsl

Inherited from AsyncSupported

Inherited from Handler

Inherited from logging.LoggerProvider

Inherited from ServletContextAccessor

Inherited from RicherStringImplicits

Inherited from ServletApiImplicits

Inherited from RouteRegistryAccessor

Inherited from UnstableAccessValidationConfig

Inherited from SkinnyContextInitializer

Inherited from Initializable

Inherited from AnyRef

Inherited from Any

Ungrouped