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

    An entry point for building a new HttpClient

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

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

  22. def request(uri: String): Request

    Create a new request

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

    Create a new request

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

    Create a new server exception with an explicit cause

  27. 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

  28. def serverException(status: HttpStatus): HttpServerException

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

  29. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  33. 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