Type Hierarchy:
Direct Known Subclasses: Body

A status response provides a simple http response with a status code and headers.

Initializer
Status(Integer code, {<String->String>*} headers = ...)
Parameters:
  • headers = {}
Attributes
code
shared Integer code
string
shared actual default String string

A developer-friendly string representing the instance. Concatenates the name of the concrete class of the instance with the hash of the instance. Subclasses are encouraged to refine this implementation to produce a more meaningful representation.

Refined declaration: string
Inherited Attributes
Attributes inherited from: Object
hash
Methods
send
shared actual default void send(HttpServerResponse resp)

Send the response to the client via the Vert.x response

Refined declaration: send
Inherited Methods
Methods inherited from: Object
equals