Type Hierarchy:

The body response extends the Status with a body

Initializer
Body(Integer code, String mimeType, String|Template data, {<String->String>*} headers = ...)
Parameters:
  • headers = {}
Attributes
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

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