public class

BasicStatusLine

extends Object
implements Serializable Cloneable StatusLine
java.lang.Object
   ↳ org.apache.http.message.BasicStatusLine

Class Overview

Basic implementation of StatusLine

Summary

Public Constructors
BasicStatusLine(ProtocolVersion version, int statusCode, String reasonPhrase)
Creates a new status line with the given version, status, and reason.
Public Methods
Object clone()
ProtocolVersion getProtocolVersion()
String getReasonPhrase()
int getStatusCode()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.apache.http.StatusLine

Public Constructors

public BasicStatusLine (ProtocolVersion version, int statusCode, String reasonPhrase)

Creates a new status line with the given version, status, and reason.

Parameters
version the protocol version of the response
statusCode the status code of the response
reasonPhrase the reason phrase to the status code, or null

Public Methods

public Object clone ()

public ProtocolVersion getProtocolVersion ()

public String getReasonPhrase ()

public int getStatusCode ()

public String toString ()