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" );
response.setStatusLine( "HTTP/1.1 200 OK" );
See Also
- getStatusLine() [response] - Returns the status line of the response
 
      scraper on 07/16/2010 at 5:15 pm
  
    
          
      
- Printer-friendly version
 - Login or register to post comments
 
