public class StatusLine
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
code
Status code
|
protected java.lang.String |
reason
Status reason
|
Constructor and Description |
---|
StatusLine(int c,
java.lang.String r)
Construct StatusLine
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Creates a new copy of the request-line.
|
boolean |
equals(java.lang.Object obj)
Whether Object obj is "equal to" this StatusLine.
|
int |
getCode()
Gets status code.
|
java.lang.String |
getReason()
Gets status reason.
|
java.lang.String |
toString()
Gets String value of this Object.
|
protected int code
protected java.lang.String reason
public java.lang.Object clone()
clone
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public int getCode()
public java.lang.String getReason()