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>");
response.setContentAsString( "<html> ... </html>");
See Also
- getContentAsString() [response] - Returns the content of the response
scraper on 07/16/2010 at 5:16 pm
- Printer-friendly version
- Login or register to post comments