Package

skinny

micro

Permalink

package micro

Linear Supertypes
HaltPassControl, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. micro
  2. HaltPassControl
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. type Action = () ⇒ Any

    Permalink
  2. type ActionResult = micro.response.ActionResult

    Permalink
  3. trait ApiFormats extends SkinnyMicroBase with RicherStringImplicits

    Permalink

    Adds support for mapping and inferring formats to content types.

    Adds support for mapping and inferring formats to content types.

    $ - Provides a request-scoped format variable $ - Maps formats to content types and vice versa $ - Augments the content-type inferrer to use the format

  4. type AppBase = SkinnyMicroBase

    Permalink
  5. type AsyncAction = (Context) ⇒ Any

    Permalink
  6. trait AsyncFeatures extends AsyncSupport with AsyncRoutingDsl with AsyncBeforeAfterDsl

    Permalink

    Built-in features in SkinnyMicroFilter/SkinnyMicroServlet.

    Built-in features in SkinnyMicroFilter/SkinnyMicroServlet. These traits should not be mixed in SkinnyMicroBase.

  7. type AsyncResult = micro.async.AsyncResult

    Permalink
  8. type AsyncSingleApp = AsyncSkinnyMicroServlet

    Permalink
  9. trait AsyncSkinnyMicroFilter extends Filter with SkinnyMicroFilterBase with AsyncFeatures

    Permalink

    Async skinny.micro filter.

  10. trait AsyncSkinnyMicroServlet extends HttpServlet with SkinnyMicroServletBase with AsyncFeatures

    Permalink

    Async skinny.micro servlet.

  11. type AsyncWebApp = AsyncSkinnyMicroFilter

    Permalink
  12. trait ContentEncoding extends AnyRef

    Permalink

    Content encoding

    Content encoding

    Represents an HTTP content encoding.

  13. case class ContentNegotiation[T](value: T, q: Float = 1) extends Product with Serializable

    Permalink

    Represents the value of a content negotiation header.

  14. type ContentTypeInferrer = PartialFunction[Any, String]

    Permalink
  15. type Context = SkinnyContext

    Permalink
  16. type Cookie = micro.cookie.Cookie

    Permalink
  17. type CookieOptions = micro.cookie.CookieOptions

    Permalink
  18. type ErrorHandler = PartialFunction[Throwable, Any]

    Permalink
  19. trait Format extends AnyRef

    Permalink

    Response body format.

  20. trait Handler extends Initializable with SkinnyContextInitializer with UnstableAccessValidationConfig with RouteRegistryAccessor with ServletContextAccessor with LoggerProvider

    Permalink

    A Handler is the SkinnyMicro abstraction for an object that operates on a request/response pair.

  21. trait Initializable extends AnyRef

    Permalink

    Trait representing an object that can't be fully initialized by its constructor.

    Trait representing an object that can't be fully initialized by its constructor. Useful for unifying the initialization process of an HttpServlet and a Filter.

  22. trait LifeCycle extends ServletApiImplicits

    Permalink
  23. trait Mimes extends AnyRef

    Permalink

    A utility to help with mime type detection for a given file path or url

  24. type MultiParams = MultiMap

    Permalink
  25. type Params = MultiMapHeadView[String, String] with MapWithIndifferentAccess[String]

    Permalink
  26. type RenderPipeline = PartialFunction[Any, Any]

    Permalink
  27. type ResponseStatus = micro.response.ResponseStatus

    Permalink
  28. trait RouteTransformer extends AnyRef

    Permalink
  29. class ServletConcurrencyException extends RuntimeException

    Permalink

    Represents concurrency issue access multiple threads on the Servlet.

  30. type SingleApp = SkinnyMicroServlet

    Permalink
  31. class SkinnyListener extends ServletContextListener with LoggerProvider

    Permalink
  32. trait SkinnyMicroBase extends Handler with AsyncSupported with UnstableAccessValidationConfig with RedirectionDsl with RouteRegistryAccessor with ErrorHandlerAccessor with ServletContextAccessor with EnvAccessor with ParamsAccessor with QueryParamsAccessor with FormParamsAccessor with RequestFormatAccessor with ResponseContentTypeAccessor with ResponseStatusAccessor with UrlGenerator with HaltPassControl with ServletApiImplicits with RouteMatcherImplicits with CookiesImplicits with SkinnyMicroParamsImplicits with DefaultImplicits with RicherStringImplicits with SessionImplicits

    Permalink

    The base implementation of the SkinnyMicro DSL.

    The base implementation of the SkinnyMicro DSL. Intended to be portable to all supported backends.

  33. class SkinnyMicroException extends Exception

    Permalink

    Represents an exception happened inside skinny.micro.

  34. trait SkinnyMicroFilter extends Filter with SkinnyMicroFilterBase with ThreadLocalFeatures

    Permalink

    An implementation of the SkinnyMicro DSL in a filter.

    An implementation of the SkinnyMicro DSL in a filter. You may prefer a filter to a SkinnyMicroServlet if:

    $ - you are sharing a URL space with another servlet or filter and want to delegate unmatched requests. This is very useful when migrating legacy applications one page or resource at a time.

    Unlike a SkinnyMicroServlet, does not send 404 or 405 errors on non-matching routes. Instead, it delegates to the filter chain.

    If in doubt, extend SkinnyMicroServlet instead.

    See also

    SkinnyMicroServlet

  35. trait SkinnyMicroFilterBase extends SkinnyMicroBase

    Permalink

    Base trait for SkinnyMicroFilter implementations.

  36. class SkinnyMicroParams extends MultiMapHeadView[String, String] with MapWithIndifferentAccess[String]

    Permalink

    Params.

  37. trait SkinnyMicroServlet extends HttpServlet with SkinnyMicroServletBase with ThreadLocalFeatures

    Permalink

    An implementation of the SkinnyMicro DSL in a servlet.

    An implementation of the SkinnyMicro DSL in a servlet. This is the recommended base trait for most SkinnyMicro applications. Use a servlet if:

    $ - your SkinnyMicro routes run in a subcontext of your web application. $ - you want SkinnyMicro to have complete control of unmatched requests. $ - you think you want a filter just for serving static content with the default servlet; SkinnyMicroServlet can do this too $ - you don't know the difference

    See also

    SkinnyMicroFilter

  38. trait SkinnyMicroServletBase extends HttpServlet with SkinnyMicroBase

    Permalink

    Base trait for SkinnyMicroServlet implementations.

  39. trait ThreadLocalFeatures extends MainThreadLocalEverywhere with RoutingDsl with BeforeAfterDsl

    Permalink

    Built-in features in SkinnyMicroFilter/SkinnyMicroServlet.

    Built-in features in SkinnyMicroFilter/SkinnyMicroServlet. These traits should not be mixed in SkinnyMicroBase.

  40. trait TypedAsyncFeatures extends AsyncSupport with TypedAsyncRoutingDsl with AsyncBeforeAfterDsl

    Permalink

    Built-in features in SkinnyMicroFilter/SkinnyMicroServlet.

    Built-in features in SkinnyMicroFilter/SkinnyMicroServlet. These traits should not be mixed in SkinnyMicroBase.

  41. type TypedAsyncSingleApp = TypedAsyncSkinnyMicroServlet

    Permalink
  42. trait TypedAsyncSkinnyMicroFilter extends Filter with SkinnyMicroFilterBase with TypedAsyncFeatures

    Permalink

    Async skinny.micro filter.

  43. trait TypedAsyncSkinnyMicroServlet extends HttpServlet with SkinnyMicroServletBase with TypedAsyncFeatures

    Permalink

    Async skinny.micro servlet.

  44. type TypedAsyncWebApp = TypedAsyncSkinnyMicroFilter

    Permalink
  45. type TypedSingleApp = TypedSkinnyMicroServlet

    Permalink
  46. trait TypedSkinnyMicroFilter extends Filter with SkinnyMicroFilterBase with TypedThreadLocalFeatures

    Permalink

    An implementation of the SkinnyMicro DSL in a filter.

    An implementation of the SkinnyMicro DSL in a filter. You may prefer a filter to a SkinnyMicroServlet if:

    $ - you are sharing a URL space with another servlet or filter and want to delegate unmatched requests. This is very useful when migrating legacy applications one page or resource at a time.

    Unlike a SkinnyMicroServlet, does not send 404 or 405 errors on non-matching routes. Instead, it delegates to the filter chain.

    If in doubt, extend SkinnyMicroServlet instead.

    See also

    SkinnyMicroServlet

  47. trait TypedSkinnyMicroServlet extends HttpServlet with SkinnyMicroServletBase with TypedThreadLocalFeatures

    Permalink

    An implementation of the SkinnyMicro DSL in a servlet.

    An implementation of the SkinnyMicro DSL in a servlet. This is the recommended base trait for most SkinnyMicro applications. Use a servlet if:

    $ - your SkinnyMicro routes run in a subcontext of your web application. $ - you want SkinnyMicro to have complete control of unmatched requests. $ - you think you want a filter just for serving static content with the default servlet; SkinnyMicroServlet can do this too $ - you don't know the difference

    See also

    SkinnyMicroFilter

  48. trait TypedThreadLocalFeatures extends MainThreadLocalEverywhere with TypedRoutingDsl with BeforeAfterDsl

    Permalink

    Built-in features in SkinnyMicroFilter/SkinnyMicroServlet.

    Built-in features in SkinnyMicroFilter/SkinnyMicroServlet. These traits should not be mixed in SkinnyMicroBase.

  49. type TypedWebApp = TypedSkinnyMicroFilter

    Permalink
  50. class UnstableAccessException extends RuntimeException

    Permalink

    Represents unstable access to servlet objects managed by containers from unmanaged threads.

  51. case class UnstableAccessValidation(enabled: Boolean, useMostlyStableHttpSession: Boolean, createdThreadId: Long = Thread.currentThread.getId) extends Product with Serializable

    Permalink

    Unstable access validation configuration.

  52. trait UrlGeneratorSupport extends AnyRef

    Permalink

    Adds support for generating URIs from routes and their params.

  53. type WebApp = SkinnyMicroFilter

    Permalink

Value Members

  1. val Accepted: micro.response.Accepted.type

    Permalink
  2. val ActionResult: micro.response.ActionResult.type

    Permalink
  3. val AlreadyReported: micro.response.AlreadyReported.type

    Permalink
  4. object ApiFormats

    Permalink
  5. val AsyncResult: micro.async.AsyncResult.type

    Permalink
  6. val BadGateway: micro.response.BadGateway.type

    Permalink
  7. val BadRequest: micro.response.BadRequest.type

    Permalink
  8. val Conflict: micro.response.Conflict.type

    Permalink
  9. object ContentEncoding

    Permalink
  10. object ContentNegotiation extends Serializable

    Permalink

    Defines type classes and helper methods for well known content-negotiation headers.

  11. val Cookie: micro.cookie.Cookie.type

    Permalink
  12. val CookieOptions: micro.cookie.CookieOptions.type

    Permalink
  13. val Created: micro.response.Created.type

    Permalink
  14. val EnvironmentKey: String

    Permalink
  15. val ExpectationFailed: micro.response.ExpectationFailed.type

    Permalink
  16. val FailedDependency: micro.response.FailedDependency.type

    Permalink
  17. val Forbidden: micro.response.Forbidden.type

    Permalink
  18. object Format

    Permalink

    Response body formats.

  19. val Found: micro.response.Found.type

    Permalink
  20. val GatewayTimeout: micro.response.GatewayTimeout.type

    Permalink
  21. val Gone: micro.response.Gone.type

    Permalink
  22. val HTTPVersionNotSupported: micro.response.HTTPVersionNotSupported.type

    Permalink
  23. object Handler

    Permalink
  24. val IMUsed: micro.response.IMUsed.type

    Permalink
  25. val InsufficientStorage: micro.response.InsufficientStorage.type

    Permalink
  26. val InternalServerError: micro.response.InternalServerError.type

    Permalink
  27. val LengthRequired: micro.response.LengthRequired.type

    Permalink
  28. val Locked: micro.response.Locked.type

    Permalink
  29. val LoopDetected: micro.response.LoopDetected.type

    Permalink
  30. val MethodNotAllowed: micro.response.MethodNotAllowed.type

    Permalink
  31. object MimeTypes extends Mimes

    Permalink
  32. object Mimes

    Permalink
  33. val MovedPermanently: micro.response.MovedPermanently.type

    Permalink
  34. val MultiParamsKey: String

    Permalink
  35. val MultiStatus: micro.response.MultiStatus.type

    Permalink
  36. val MultipleChoices: micro.response.MultipleChoices.type

    Permalink
  37. val NetworkAuthenticationRequired: micro.response.NetworkAuthenticationRequired.type

    Permalink
  38. val NoContent: micro.response.NoContent.type

    Permalink
  39. val NonAuthoritativeInformation: micro.response.NonAuthoritativeInformation.type

    Permalink
  40. val NotAcceptable: micro.response.NotAcceptable.type

    Permalink
  41. val NotExtended: micro.response.NotExtended.type

    Permalink
  42. val NotFound: micro.response.NotFound.type

    Permalink
  43. val NotImplemented: micro.response.NotImplemented.type

    Permalink
  44. val NotModified: micro.response.NotModified.type

    Permalink
  45. val Ok: micro.response.Ok.type

    Permalink
  46. val PartialContent: micro.response.PartialContent.type

    Permalink
  47. val PaymentRequired: micro.response.PaymentRequired.type

    Permalink
  48. val PermanentRedirect: micro.response.PermanentRedirect.type

    Permalink
  49. val PreconditionFailed: micro.response.PreconditionFailed.type

    Permalink
  50. val PreconditionRequired: micro.response.PreconditionRequired.type

    Permalink
  51. val ProxyAuthenticationRequired: micro.response.ProxyAuthenticationRequired.type

    Permalink
  52. val RequestEntityTooLarge: micro.response.RequestEntityTooLarge.type

    Permalink
  53. val RequestHeaderFieldsTooLarge: micro.response.RequestHeaderFieldsTooLarge.type

    Permalink
  54. val RequestTimeout: micro.response.RequestTimeout.type

    Permalink
  55. val RequestURITooLong: micro.response.RequestURITooLong.type

    Permalink
  56. val RequestedRangeNotSatisfiable: micro.response.RequestedRangeNotSatisfiable.type

    Permalink
  57. val ResetContent: micro.response.ResetContent.type

    Permalink
  58. val ResponseStatus: micro.response.ResponseStatus.type

    Permalink
  59. object RouteTransformer

    Permalink
  60. val SeeOther: micro.response.SeeOther.type

    Permalink
  61. val ServiceUnavailable: micro.response.ServiceUnavailable.type

    Permalink
  62. object ServletConcurrencyException extends Serializable

    Permalink
  63. object SkinnyListener

    Permalink
  64. object SkinnyMicroBase

    Permalink
  65. object SkinnyMicroServletBase extends Serializable

    Permalink
  66. val TemporaryRedirect: micro.response.TemporaryRedirect.type

    Permalink
  67. val TooManyRequests: micro.response.TooManyRequests.type

    Permalink
  68. val Unauthorized: micro.response.Unauthorized.type

    Permalink
  69. val UnprocessableEntity: micro.response.UnprocessableEntity.type

    Permalink
  70. object UnstableAccessException extends Serializable

    Permalink
  71. val UnsupportedMediaType: micro.response.UnsupportedMediaType.type

    Permalink
  72. val UpgradeRequired: micro.response.UpgradeRequired.type

    Permalink
  73. val UseProxy: micro.response.UseProxy.type

    Permalink
  74. val VariantAlsoNegotiates: micro.response.VariantAlsoNegotiates.type

    Permalink
  75. package async

    Permalink
  76. package base

    Permalink
  77. package constant

    Permalink
  78. package context

    Permalink
  79. package contrib

    Permalink
  80. package control

    Permalink
  81. package cookie

    Permalink
  82. package data

    Permalink
  83. def halt(result: micro.response.ActionResult): Nothing

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

    Permalink

    Immediately halts processing of a request.

    Immediately halts processing of a request. Can be called from either a before filter or a route.

    status

    the status to set on the response, or null to leave the status unchanged.

    body

    a result to render through the render pipeline as the body

    headers

    headers to add to the response

    reason

    the HTTP status reason to set, or null to leave unchanged.

    Definition Classes
    HaltPassControl
  85. package implicits

    Permalink
  86. package multipart

    Permalink
  87. def pass(): Nothing

    Permalink

    Immediately exits from the current route.

    Immediately exits from the current route.

    Definition Classes
    HaltPassControl
  88. package request

    Permalink
  89. package response

    Permalink
  90. package rl

    Permalink
  91. package routing

    Permalink
  92. def using[R <: Closable, A](resource: R)(f: (R) ⇒ A): A

    Permalink
  93. package util

    Permalink

Inherited from HaltPassControl

Inherited from AnyRef

Inherited from Any

Ungrouped