org.scalatra.swagger

SwaggerAuthBase

Related Doc: package swagger

trait SwaggerAuthBase[TypeForUser <: AnyRef] extends SwaggerBaseBase

Self Type
SwaggerAuthBase[TypeForUser] with JsonSupport[_] with CorsSupport with ScentrySupport[TypeForUser]
Linear Supertypes
SwaggerBaseBase, ScalatraBase, CookieSupport, DefaultImplicitConversions, LowPriorityImplicitConversions, LowestPriorityImplicitConversions, TypeConverterSupport, ScalatraParamsImplicits, DynamicScope, RequestResponseScope, CoreDsl, Control, Handler, ScalatraContext, CookieContext, SessionSupport, ServletApiImplicits, Initializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SwaggerAuthBase
  2. SwaggerBaseBase
  3. ScalatraBase
  4. CookieSupport
  5. DefaultImplicitConversions
  6. LowPriorityImplicitConversions
  7. LowestPriorityImplicitConversions
  8. TypeConverterSupport
  9. ScalatraParamsImplicits
  10. DynamicScope
  11. RequestResponseScope
  12. CoreDsl
  13. Control
  14. Handler
  15. ScalatraContext
  16. CookieContext
  17. SessionSupport
  18. ServletApiImplicits
  19. Initializable
  20. AnyRef
  21. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type ApiType = AuthApi[TypeForUser]

    Attributes
    protected
    Definition Classes
    SwaggerAuthBase → SwaggerBaseBase
  2. trait Config extends AnyRef

    Definition Classes
    Initializable
  3. abstract type ConfigT

    Definition Classes
    Initializable
  4. implicit class JsonAssocNonEmpty extends AnyRef

    Definition Classes
    SwaggerBaseBase
  5. sealed class TypedMultiParams extends AnyRef

    Definition Classes
    ScalatraParamsImplicits
  6. sealed class TypedParams extends AnyRef

    Definition Classes
    ScalatraParamsImplicits

Abstract Value Members

  1. implicit abstract def configWrapper(config: (SwaggerAuthBase.this)#ConfigT): (SwaggerAuthBase.this)#Config

    Attributes
    protected
    Definition Classes
    Initializable
  2. abstract val doNotFound: Action

    Attributes
    protected
    Definition Classes
    ScalatraBase
  3. abstract def requestPath(implicit request: HttpServletRequest): String

    Definition Classes
    ScalatraBase
  4. abstract def routeBasePath(implicit request: HttpServletRequest): String

    Attributes
    protected
    Definition Classes
    ScalatraBase
  5. implicit abstract def swagger: SwaggerEngine[AuthApi[AnyRef]]

    Attributes
    protected
    Definition Classes
    SwaggerAuthBase → SwaggerBaseBase
  6. abstract def userManifest: Manifest[TypeForUser]

    Attributes
    protected

Concrete Value Members

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

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

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

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

    Attributes
    protected
    Definition Classes
    ScalatraBase
  5. def addSessionId(uri: String)(implicit response: HttpServletResponse): String

    Attributes
    protected
    Definition Classes
    ScalatraBase
  6. def addStatusRoute(codes: Range, action: ⇒ Any): Unit

    Attributes
    protected[org.scalatra]
    Definition Classes
    ScalatraBase
  7. def after(transformers: RouteTransformer*)(fun: ⇒ Any): Unit

    Definition Classes
    ScalatraBase → CoreDsl
  8. implicit val anyToBoolean: TypeConverter[Any, Boolean]

    Definition Classes
    LowPriorityImplicitConversions
  9. implicit val anyToByte: TypeConverter[Any, Byte]

    Definition Classes
    LowPriorityImplicitConversions
  10. implicit val anyToDouble: TypeConverter[Any, Double]

    Definition Classes
    LowPriorityImplicitConversions
  11. implicit val anyToFloat: TypeConverter[Any, Float]

    Definition Classes
    LowPriorityImplicitConversions
  12. implicit val anyToInt: TypeConverter[Any, Int]

    Definition Classes
    LowPriorityImplicitConversions
  13. implicit val anyToLong: TypeConverter[Any, Long]

    Definition Classes
    LowPriorityImplicitConversions
  14. implicit val anyToShort: TypeConverter[Any, Short]

    Definition Classes
    LowPriorityImplicitConversions
  15. implicit val anyToString: TypeConverter[Any, String]

    Definition Classes
    LowPriorityImplicitConversions
  16. final def asInstanceOf[T0]: T0

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

    Definition Classes
    ScalatraBase → CoreDsl
  18. implicit def booleanBlock2RouteMatcher(block: ⇒ Boolean): RouteMatcher

    Attributes
    protected
    Definition Classes
    ScalatraBase
  19. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. var config: (SwaggerAuthBase.this)#ConfigT

    Definition Classes
    ScalatraBase
  21. def contentType: String

    Definition Classes
    ScalatraContext
  22. def contentTypeInferrer: ContentTypeInferrer

    Attributes
    protected
    Definition Classes
    ScalatraBase
  23. def contentType_=(contentType: String): Unit

    Definition Classes
    ScalatraContext
  24. def contextPath: String

    Attributes
    protected
    Definition Classes
    ScalatraBase
  25. implicit def cookieOptions: CookieOptions

    Definition Classes
    CookieContext
  26. def cookies: SweetCookies

    Definition Classes
    CookieContext
  27. val defaultCharacterEncoding: String

    Attributes
    protected
    Definition Classes
    ScalatraBase
  28. implicit def defaultStringToSeq[T](implicit elementConverter: TypeConverter[String, T], mf: Manifest[T]): TypeConverter[String, Seq[T]]

    Definition Classes
    DefaultImplicitConversions
  29. def delete(transformers: RouteTransformer*)(action: ⇒ Any): Route

    Definition Classes
    ScalatraBase → CoreDsl
  30. var doMethodNotAllowed: (Set[HttpMethod]) ⇒ Any

    Attributes
    protected
    Definition Classes
    ScalatraBase
  31. def docToJson(doc: (SwaggerAuthBase.this)#ApiType): JValue

    Attributes
    protected
    Definition Classes
    SwaggerAuthBase → SwaggerBaseBase
  32. implicit def enrichRequest(request: HttpServletRequest): RichRequest

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

    Definition Classes
    ServletApiImplicits
  34. implicit def enrichServletContext(servletContext: ServletContext): RichServletContext

    Definition Classes
    ServletApiImplicits
  35. implicit def enrichSession(session: HttpSession): RichSession

    Definition Classes
    ServletApiImplicits
  36. def environment: String

    Definition Classes
    ScalatraBase
  37. final def eq(arg0: AnyRef): Boolean

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

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

    Definition Classes
    ScalatraBase → CoreDsl
  40. var errorHandler: ErrorHandler

    Attributes
    protected
    Definition Classes
    ScalatraBase
  41. def executeRoutes(): Unit

    Attributes
    protected
    Definition Classes
    ScalatraBase
  42. def extractStatusCode(e: HaltException): Int

    Attributes
    protected
    Definition Classes
    ScalatraBase
  43. def filterDoc(doc: AuthApi[AnyRef]): AuthApi[AnyRef]

    Attributes
    protected
  44. def filterDocs(docs: Iterable[AuthApi[AnyRef]]): Iterable[AuthApi[AnyRef]]

    Attributes
    protected
  45. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  46. def format_=(formatValue: String): Unit

    Definition Classes
    ScalatraContext
  47. def format_=(formatValue: Symbol): Unit

    Definition Classes
    ScalatraContext
  48. def fullUrl(path: String, params: Iterable[(String, Any)], includeContextPath: Boolean, includeServletPath: Boolean, withSessionId: Boolean)(implicit request: HttpServletRequest, response: HttpServletResponse): String

    Definition Classes
    ScalatraBase
  49. def get(transformers: RouteTransformer*)(action: ⇒ Any): Route

    Definition Classes
    ScalatraBase → CoreDsl
  50. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  51. def halt(result: ActionResult): Nothing

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

    Definition Classes
    Control
  53. def handle(request: HttpServletRequest, response: HttpServletResponse): Unit

    Definition Classes
    ScalatraBase → Handler
  54. def hashCode(): Int

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

    Definition Classes
    ScalatraBase → CoreDsl
  56. def includeFormatParameter: Boolean

    Attributes
    protected
    Definition Classes
    SwaggerBaseBase
  57. def indexRoute: String

    Attributes
    protected
    Definition Classes
    SwaggerBaseBase
  58. def initParameter(name: String): Option[String]

    Definition Classes
    ScalatraBase
  59. def initialize(config: (SwaggerAuthBase.this)#ConfigT): Unit

    Definition Classes
    SwaggerAuthBase → SwaggerBaseBase → ScalatraBase → Initializable
  60. def invoke(matchedRoute: MatchedRoute): Option[Any]

    Attributes
    protected
    Definition Classes
    ScalatraBase
  61. def isAsyncExecutable(result: Any): Boolean

    Attributes
    protected
    Definition Classes
    ScalatraBase
  62. def isDevelopmentMode: Boolean

    Definition Classes
    ScalatraBase
  63. def isHttps(implicit request: HttpServletRequest): Boolean

    Attributes
    protected
    Definition Classes
    ScalatraBase
  64. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  65. implicit def jsonFormats: Formats

    Attributes
    protected
    Definition Classes
    SwaggerAuthBase → SwaggerBaseBase
  66. implicit def lowestPriorityAny2T[T](implicit arg0: Manifest[T]): TypeConverter[Any, T]

    Definition Classes
    LowestPriorityImplicitConversions
  67. def methodNotAllowed(f: (Set[HttpMethod]) ⇒ Any): Unit

    Definition Classes
    ScalatraBase → CoreDsl
  68. def multiParams(implicit request: HttpServletRequest): MultiParams

    Definition Classes
    ScalatraBase
  69. def multiParams(key: String)(implicit request: HttpServletRequest): Seq[String]

    Definition Classes
    ScalatraBase
  70. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  71. def needsHttps: Boolean

    Attributes
    protected
    Definition Classes
    ScalatraBase
  72. def notFound(fun: ⇒ Any): Unit

    Definition Classes
    ScalatraBase → CoreDsl
  73. final def notify(): Unit

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

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

    Definition Classes
    ScalatraBase → CoreDsl
  76. def params(implicit request: HttpServletRequest): Params

    Definition Classes
    ScalatraBase
  77. def params(key: Symbol)(implicit request: HttpServletRequest): String

    Definition Classes
    ScalatraBase
  78. def params(key: String)(implicit request: HttpServletRequest): String

    Definition Classes
    ScalatraBase
  79. def pass(): Nothing

    Definition Classes
    Control
  80. def patch(transformers: RouteTransformer*)(action: ⇒ Any): Route

    Definition Classes
    ScalatraBase → CoreDsl
  81. implicit def pathPatternParser2RouteMatcher(pattern: PathPattern): RouteMatcher

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

    Definition Classes
    ScalatraBase → CoreDsl
  83. def put(transformers: RouteTransformer*)(action: ⇒ Any): Route

    Definition Classes
    ScalatraBase → CoreDsl
  84. def redirect(uri: String)(implicit request: HttpServletRequest, response: HttpServletResponse): Nothing

    Definition Classes
    ScalatraBase
  85. implicit def regex2RouteMatcher(regex: Regex): RouteMatcher

    Attributes
    protected
    Definition Classes
    ScalatraBase
  86. def relativeUrl(path: String, params: Iterable[(String, Any)], includeContextPath: Boolean, includeServletPath: Boolean)(implicit request: HttpServletRequest, response: HttpServletResponse): String

    Definition Classes
    ScalatraBase
  87. def removeRoute(method: String, route: Route): Unit

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

    Attributes
    protected
    Definition Classes
    ScalatraBase
  89. def renderDoc(doc: (SwaggerAuthBase.this)#ApiType): JValue

    Attributes
    protected
    Definition Classes
    SwaggerBaseBase
  90. def renderHaltException(e: HaltException): Unit

    Attributes
    protected
    Definition Classes
    ScalatraBase
  91. def renderIndex(docs: List[(SwaggerAuthBase.this)#ApiType]): JValue

    Attributes
    protected
    Definition Classes
    SwaggerBaseBase
  92. def renderPipeline: RenderPipeline

    Attributes
    protected
    Definition Classes
    ScalatraBase
  93. def renderResponse(actionResult: Any): Unit

    Attributes
    protected
    Definition Classes
    ScalatraBase
  94. def renderResponseBody(actionResult: Any): Unit

    Attributes
    protected
    Definition Classes
    ScalatraBase
  95. def renderSwagger2(docs: List[(SwaggerAuthBase.this)#ApiType]): JValue

    Attributes
    protected
    Definition Classes
    SwaggerBaseBase
  96. def renderUncaughtException(e: Throwable)(implicit request: HttpServletRequest, response: HttpServletResponse): Unit

    Attributes
    protected
    Definition Classes
    ScalatraBase
  97. implicit def request: HttpServletRequest

    Definition Classes
    DynamicScope → RequestResponseScope
  98. implicit def response: HttpServletResponse

    Definition Classes
    DynamicScope → RequestResponseScope
  99. lazy val routes: RouteRegistry

    Definition Classes
    ScalatraBase
  100. def runFilters(filters: Traversable[Route]): Unit

    Attributes
    protected
    Definition Classes
    ScalatraBase
  101. def runRoutes(routes: Traversable[Route]): Stream[Any]

    Attributes
    protected
    Definition Classes
    ScalatraBase
  102. implicit def safe[S, T](f: (S) ⇒ T): TypeConverter[S, T]

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

    Definition Classes
    TypeConverterSupport
  104. implicit def scalatraContext: ScalatraContext

    Attributes
    protected[this]
    Definition Classes
    ScalatraContext
  105. implicit def seqHead[T](implicit elementConverter: TypeConverter[String, T], mf: Manifest[T]): TypeConverter[Seq[String], T]

    Definition Classes
    DefaultImplicitConversions
  106. implicit def seqToSeq[T](implicit elementConverter: TypeConverter[String, T], mf: Manifest[T]): TypeConverter[Seq[String], Seq[T]]

    Definition Classes
    DefaultImplicitConversions
  107. def serverHost(implicit request: HttpServletRequest): String

    Definition Classes
    ScalatraBase
  108. def serverPort(implicit request: HttpServletRequest): Int

    Definition Classes
    ScalatraBase
  109. def servletContext: ServletContext

    Definition Classes
    ScalatraBase → ScalatraContext
  110. def session(key: Symbol)(implicit request: HttpServletRequest): Any

    Definition Classes
    SessionSupport
  111. def session(key: String)(implicit request: HttpServletRequest): Any

    Definition Classes
    SessionSupport
  112. implicit def session(implicit request: HttpServletRequest): HttpSession

    Definition Classes
    SessionSupport
  113. def sessionOption(implicit request: HttpServletRequest): Option[HttpSession]

    Definition Classes
    SessionSupport
  114. def setMultiparams[S](matchedRoute: Option[MatchedRoute], originalParams: MultiParams)(implicit request: HttpServletRequest): Unit

    Attributes
    protected
    Definition Classes
    ScalatraBase
  115. def shutdown(): Unit

    Attributes
    protected
    Definition Classes
    Initializable
  116. def status: Int

    Definition Classes
    ScalatraContext
  117. def status_=(code: Int): Unit

    Definition Classes
    ScalatraContext
  118. implicit def string2RouteMatcher(path: String): RailsRouteMatcher

    Definition Classes
    SwaggerBaseBase → ScalatraBase
  119. implicit val stringToBoolean: TypeConverter[String, Boolean]

    Definition Classes
    DefaultImplicitConversions
  120. implicit val stringToByte: TypeConverter[String, Byte]

    Definition Classes
    DefaultImplicitConversions
  121. def stringToDate(format: ⇒ String): TypeConverter[String, Date]

    Definition Classes
    DefaultImplicitConversions
  122. def stringToDateFormat(format: ⇒ DateFormat): TypeConverter[String, Date]

    Definition Classes
    DefaultImplicitConversions
  123. implicit val stringToDouble: TypeConverter[String, Double]

    Definition Classes
    DefaultImplicitConversions
  124. implicit val stringToFloat: TypeConverter[String, Float]

    Definition Classes
    DefaultImplicitConversions
  125. implicit val stringToInt: TypeConverter[String, Int]

    Definition Classes
    DefaultImplicitConversions
  126. implicit val stringToLong: TypeConverter[String, Long]

    Definition Classes
    DefaultImplicitConversions
  127. implicit val stringToSelf: TypeConverter[String, String]

    Definition Classes
    DefaultImplicitConversions
  128. def stringToSeq[T](elementConverter: TypeConverter[String, T], separator: String)(implicit arg0: Manifest[T]): TypeConverter[String, Seq[T]]

    Definition Classes
    DefaultImplicitConversions
  129. implicit val stringToShort: TypeConverter[String, Short]

    Definition Classes
    DefaultImplicitConversions
  130. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  131. def toString(): String

    Definition Classes
    AnyRef → Any
  132. implicit def toTypedMultiParams(params: MultiParams): (SwaggerAuthBase.this)#TypedMultiParams

    Definition Classes
    ScalatraParamsImplicits
  133. implicit def toTypedParams(params: Params): (SwaggerAuthBase.this)#TypedParams

    Definition Classes
    ScalatraParamsImplicits
  134. def trap(codes: Range)(block: ⇒ Any): Unit

    Definition Classes
    ScalatraBase → CoreDsl
  135. def trap(code: Int)(block: ⇒ Any): Unit

    Definition Classes
    CoreDsl
  136. def url(path: String, params: Iterable[(String, Any)], includeContextPath: Boolean, includeServletPath: Boolean, absolutize: Boolean, withSessionId: Boolean)(implicit request: HttpServletRequest, response: HttpServletResponse): String

    Definition Classes
    ScalatraBase
  137. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  140. def withRequest[A](request: HttpServletRequest)(f: ⇒ A): A

    Attributes
    protected
    Definition Classes
    DynamicScope → RequestResponseScope
  141. def withRequestResponse[A](request: HttpServletRequest, response: HttpServletResponse)(f: ⇒ A): A

    Attributes
    protected
    Definition Classes
    DynamicScope → RequestResponseScope
  142. def withResponse[A](response: HttpServletResponse)(f: ⇒ A): A

    Attributes
    protected
    Definition Classes
    DynamicScope → RequestResponseScope
  143. def withRouteMultiParams[S](matchedRoute: Option[MatchedRoute])(thunk: ⇒ S): S

    Attributes
    protected
    Definition Classes
    ScalatraBase

Deprecated Value Members

  1. def _request: DynamicVariable[HttpServletRequest]

    Attributes
    protected
    Definition Classes
    DynamicScope
    Annotations
    @deprecated
    Deprecated

    (Since version 2.1.0) Do not invoke directly. Use withRequest to change the binding, or request to get the value

  2. def _response: DynamicVariable[HttpServletResponse]

    Attributes
    protected
    Definition Classes
    DynamicScope
    Annotations
    @deprecated
    Deprecated

    (Since version 2.1.0) Do not invoke directly. Use withResponse to change the binding, or response to get the value

  3. def applicationContext: ServletContext

    Definition Classes
    ScalatraBase
    Annotations
    @deprecated
    Deprecated

    (Since version 2.1.0) Use servletContext instead

  4. def status(code: Int): Unit

    Definition Classes
    ScalatraContext
    Annotations
    @deprecated
    Deprecated

    (Since version 2.1.0) Use status_=(Int) instead

Inherited from SwaggerBaseBase

Inherited from ScalatraBase

Inherited from CookieSupport

Inherited from DefaultImplicitConversions

Inherited from LowPriorityImplicitConversions

Inherited from LowestPriorityImplicitConversions

Inherited from TypeConverterSupport

Inherited from ScalatraParamsImplicits

Inherited from DynamicScope

Inherited from RequestResponseScope

Inherited from CoreDsl

Inherited from Control

Inherited from Handler

Inherited from ScalatraContext

Inherited from CookieContext

Inherited from SessionSupport

Inherited from ServletApiImplicits

Inherited from Initializable

Inherited from AnyRef

Inherited from Any

Ungrouped