Class

org.latestbit.picoos

BaseHttpResource

Related Doc: package picoos

Permalink

abstract class BaseHttpResource extends HttpApiDecls

Linear Supertypes
HttpApiDecls, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BaseHttpResource
  2. HttpApiDecls
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BaseHttpResource(resourcePath: String)

    Permalink

Type Members

  1. class HttpMethodBodyDefEmptyParams extends HttpMethodBodyDef

    Permalink
    Definition Classes
    HttpApiDecls
  2. case class HttpMethodBodyDefReqParams(bodyRef: HttpMethodBodyReqParams, httpMethodDefs: HttpMethodDef) extends HttpMethodBodyDef with Product with Serializable

    Permalink
    Definition Classes
    HttpApiDecls
  3. case class HttpMethodBodyDefReqRespParams(bodyRef: HttpMethodBodyReqRespParams, httpMethodDefs: HttpMethodDef) extends HttpMethodBodyDef with Product with Serializable

    Permalink
    Definition Classes
    HttpApiDecls
  4. type HttpMethodBodyReqParams = (HttpResourceRequest) ⇒ HttpMethodResult

    Permalink
    Definition Classes
    HttpApiDecls
  5. type HttpMethodBodyReqRespParams = (HttpResourceRequest, HttpResourceResponse) ⇒ HttpMethodResult

    Permalink
    Definition Classes
    HttpApiDecls
  6. case class httpAsyncResult(future: Future[HttpMethodResult], timeout: Duration = null) extends HttpMethodResult with Product with Serializable

    Permalink
    Definition Classes
    HttpApiDecls
  7. case class httpDataTextResult(textResult: String, contentType: String, charset: String = "UTF-8", cacheFlags: CachingOptions = CachingOptions()) extends HttpMethodResult with Product with Serializable

    Permalink
    Definition Classes
    HttpApiDecls
  8. case class httpErrorResult(errorCode: Int, errorString: String, cacheFlags: CachingOptions = CachingOptions()) extends HttpMethodResult with Product with Serializable

    Permalink
    Definition Classes
    HttpApiDecls
  9. case class httpHtmlResult(html: String, charset: String = "UTF-8", cacheFlags: CachingOptions = CachingOptions()) extends HttpMethodResult with Product with Serializable

    Permalink
    Definition Classes
    HttpApiDecls
  10. case class httpJsonResult[T <: AnyRef, V <: AnyRef](jsonObj: T, jsonView: Class[V] = null, charset: String = "UTF-8", cacheFlags: CachingOptions = CachingOptions()) extends HttpMethodResult with Product with Serializable

    Permalink
    Definition Classes
    HttpApiDecls
  11. case class httpMethod(authRequired: Boolean = false, permissions: Seq[String] = Seq(), authFunction: (String, HttpResourceRequest) ⇒ Boolean = null) extends HttpMethodDef with Product with Serializable

    Permalink
    Definition Classes
    HttpApiDecls
  12. case class httpNoContentResult(cacheFlags: CachingOptions = CachingOptions()) extends HttpMethodResult with Product with Serializable

    Permalink
    Definition Classes
    HttpApiDecls
  13. case class httpNoResult(cacheFlags: CachingOptions = CachingOptions()) extends HttpMethodResult with Product with Serializable

    Permalink
    Definition Classes
    HttpApiDecls
  14. case class httpOkResult(cacheFlags: CachingOptions = CachingOptions()) extends HttpMethodResult with Product with Serializable

    Permalink
    Definition Classes
    HttpApiDecls
  15. case class httpPermanentRedirectResult(url: String) extends HttpMethodResult with Product with Serializable

    Permalink
    Definition Classes
    HttpApiDecls
  16. case class httpRedirectResult(url: String) extends HttpMethodResult with Product with Serializable

    Permalink
    Definition Classes
    HttpApiDecls
  17. case class httpTextResult(textResult: String, charset: String = "UTF-8", cacheFlags: CachingOptions = CachingOptions()) extends HttpMethodResult with Product with Serializable

    Permalink
    Definition Classes
    HttpApiDecls
  18. case class httpXmlResult(xmlObj: Node, charset: String = "UTF-8", cacheFlags: CachingOptions = CachingOptions()) extends HttpMethodResult with Product with Serializable

    Permalink
    Definition Classes
    HttpApiDecls

Abstract Value Members

  1. abstract def buildResourceApiRoutes(registry: HttpResourcesRegistry): Unit

    Permalink
    Attributes
    protected

Concrete Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addCustomHandler(handler: HttpResourceCustomHandler): BaseHttpResource

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. var cachingOptions: CachingOptions

    Permalink
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. var corsAllowHeaders: String

    Permalink
  9. var corsAllowOrigin: String

    Permalink
  10. var corsMode: Boolean

    Permalink
  11. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. var httpAuthenticator: HttpAuthorizer

    Permalink
  17. object httpMethod extends httpMethod

    Permalink
    Definition Classes
    HttpApiDecls
  18. object httpNoContentResult extends httpNoContentResult

    Permalink
    Definition Classes
    HttpApiDecls
  19. object httpNoResult extends httpNoResult

    Permalink
    Definition Classes
    HttpApiDecls
  20. object httpOkResult extends httpOkResult

    Permalink
    Definition Classes
    HttpApiDecls
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  25. def proceedResourceCustomHandlers(req: HttpResourceRequest, resp: HttpResourceResponse): Boolean

    Permalink
    Attributes
    protected
  26. def protectWith(httpAuthorizer: HttpAuthorizer): BaseHttpResource

    Permalink
  27. def register(registry: HttpResourcesRegistry): BaseHttpResource

    Permalink
  28. def removeCustomRequestHandler(handler: HttpResourceCustomHandler): BaseHttpResource

    Permalink
  29. val resourcePath: String

    Permalink
  30. def sendCorsHeaders(resp: HttpResourceResponse): Unit

    Permalink
  31. def setCORSMode(mode: Boolean, corsAllowOrigin: String = "*"): BaseHttpResource

    Permalink
  32. def setCachingOptions(options: CachingOptions): BaseHttpResource

    Permalink
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  34. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  35. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from HttpApiDecls

Inherited from AnyRef

Inherited from Any

Ungrouped