| java.lang.Object org.apache.http.message.BasicStatusLine
BasicStatusLine | public class BasicStatusLine implements StatusLine,Cloneable(Code) | | Represents a status line as returned from a HTTP server.
See RFC2616 section 6.1.
This class is immutable and therefore inherently thread safe.
See Also: HttpStatus author: Jeff Dever author: Mike Bowler version: $Id: BasicStatusLine.java 604625 2007-12-16 14:11:11Z olegk $ since: 4.0 |
BasicStatusLine | public BasicStatusLine(ProtocolVersion version, int statusCode, String reasonPhrase)(Code) | | Creates a new status line with the given version, status, and reason.
Parameters: version - the protocol version of the response Parameters: statusCode - the status code of the response Parameters: reasonPhrase - the reason phrase to the status code, ornull |
getReasonPhrase | public String getReasonPhrase()(Code) | | the Reason-Phrase |
getStatusCode | public int getStatusCode()(Code) | | the Status-Code |
|
|