public final Response setStatusLine ( final String statusLine ) { this . statusLine = statusLine ; final String [ ] statusPieces = statusLine . split ( " " ) ; if ( statusPieces . length > 1 ) { responseCode = Integer . parseInt ( statusPieces [ 1 ] ) ; } return this ; }
Specifies the HTTP status line