setStatusLine

void response.setStatusLine ( String statusLine )

Description

Manually set the status line.

Parameters

  • statusLine New status line declaration, as a string.

Return Values

Returns void.

Change Log

Version Description
4.5 Available for all editions.

Examples

Set Status Line

 // Set the status line to HTTP/1.1 200 OK
 response.setStatusLine( "HTTP/1.1 200 OK" );

See Also