Class

org.latestbit.picoos

HttpResource

Related Doc: package picoos

Permalink

class HttpResource[A] extends BaseHttpResource

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

Instance Constructors

  1. new HttpResource(resourceName: String, 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 httpRoute(methodName: String, httpMethod: HttpMethod = HttpMethod.ANY_METHOD) extends HttpRouteInfo with Product with Serializable

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

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

    Permalink
    Definition Classes
    HttpApiDecls

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
    Definition Classes
    BaseHttpResource
  5. val allApiMethods: Seq[(String, Method)]

    Permalink
    Attributes
    protected
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def buildResourceApiRoutes(registry: HttpResourcesRegistry): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    HttpResourceBaseHttpResource
  8. var cachingOptions: CachingOptions

    Permalink
    Definition Classes
    BaseHttpResource
  9. def clone(): AnyRef

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

    Permalink
    Definition Classes
    BaseHttpResource
  11. var corsAllowOrigin: String

    Permalink
    Definition Classes
    BaseHttpResource
  12. var corsMode: Boolean

    Permalink
    Definition Classes
    BaseHttpResource
  13. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def findApiMethod(methodName: String): Method

    Permalink
    Attributes
    protected
  17. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    BaseHttpResource
  20. object httpMethod extends httpMethod

    Permalink
    Definition Classes
    HttpApiDecls
  21. object httpNoContentResult extends httpNoContentResult

    Permalink
    Definition Classes
    HttpApiDecls
  22. object httpNoResult extends httpNoResult

    Permalink
    Definition Classes
    HttpApiDecls
  23. object httpOkResult extends httpOkResult

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

    Permalink
    Definition Classes
    Any
  25. val methodExecutor: JavaMethodExecutor[HttpResource[A]]

    Permalink
  26. final def ne(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    BaseHttpResource
  30. def protectWith(httpAuthorizer: HttpAuthorizer): BaseHttpResource

    Permalink
    Definition Classes
    BaseHttpResource
  31. def register(registry: HttpResourcesRegistry): BaseHttpResource

    Permalink
    Definition Classes
    BaseHttpResource
  32. def removeCustomRequestHandler(handler: HttpResourceCustomHandler): BaseHttpResource

    Permalink
    Definition Classes
    BaseHttpResource
  33. val resourceName: String

    Permalink
  34. val resourcePath: String

    Permalink
    Definition Classes
    HttpResourceBaseHttpResource
  35. def routings: Seq[(String, HttpRouteInfo)]

    Permalink
    Attributes
    protected
  36. def sendCorsHeaders(resp: HttpResourceResponse): Unit

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

    Permalink
    Definition Classes
    BaseHttpResource
  38. def setCachingOptions(options: CachingOptions): BaseHttpResource

    Permalink
    Definition Classes
    BaseHttpResource
  39. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from BaseHttpResource

Inherited from HttpApiDecls

Inherited from AnyRef

Inherited from Any

Ungrouped