object Http

An entry point to access airframe-http functionalities

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Http
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract class Context extends HttpContext[Request, Response, Future]
  2. abstract class Filter extends HttpFilter[Request, Response, Future]

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 DELETE(uri: String): Request
  5. def GET(uri: String): Request
  6. def PATCH(uri: String): Request
  7. def POST(uri: String): Request
  8. def PUT(uri: String): Request
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def client: HttpClientConfig

    An entry point for building a new HttpClient

  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. def redirectException(locationUrl: String, status: HttpStatus = HttpStatus.Found_302): HttpServerException

    Create an exception to redirect (status code = 302) the request to the target locationUrl

  21. def request(uri: String): Request

    Create a new request

  22. def request(method: String, uri: String): Request

    Create a new request

  23. def response(status: HttpStatus, content: String): Response
  24. def response(status: HttpStatus = HttpStatus.Ok_200): Response
  25. def serverException(status: HttpStatus, cause: Throwable): HttpServerException

    Create a new server exception with an explicit cause

  26. def serverException(request: Request, status: HttpStatus): HttpServerException

    Create a new server exception that can be used to exit the Endpoint or RPC process.

    Create a new server exception that can be used to exit the Endpoint or RPC process. The content type will be the same with the Accept type

  27. def serverException(status: HttpStatus): HttpServerException

    Create a new server exception that can be used to exit the Endpoint or RPC process.

  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped