object Http
An entry point to access airframe-http functionalities
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Http
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- abstract class Context extends HttpContext[Request, Response, Future]
- abstract class Filter extends HttpFilter[Request, Response, Future]
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def DELETE(uri: String): Request
- def GET(uri: String): Request
- def PATCH(uri: String): Request
- def POST(uri: String): Request
- def PUT(uri: String): Request
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
client: HttpClientConfig
An entry point for building a new HttpClient
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
redirectException(locationUrl: String, status: HttpStatus = HttpStatus.Found_302): HttpServerException
Create an exception to redirect (status code = 302) the request to the target locationUrl
-
def
request(uri: String): Request
Create a new request
-
def
request(method: String, uri: String): Request
Create a new request
- def response(status: HttpStatus, content: String): Response
- def response(status: HttpStatus = HttpStatus.Ok_200): Response
-
def
serverException(status: HttpStatus, cause: Throwable): HttpServerException
Create a new server exception with an explicit cause
-
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
-
def
serverException(status: HttpStatus): HttpServerException
Create a new server exception that can be used to exit the Endpoint or RPC process.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated