setContentAsString

void response.setContentAsString ( String content )

Description

Manually set the response content.

Parameters

  • content Response text, as a string.

Return Values

Returns void.

Change Log

Version Description
4.5 Available for all editions.

Examples

Change the Response Text

 // Supply your own content to the response
 response.setContentAsString( "<html> ... </html>");

See Also