@Contract(threading=IMMUTABLE) public class BasicRequestLine extends Object implements RequestLine, Cloneable, Serializable
RequestLine
.Modifier and Type | Field and Description |
---|---|
private String |
method |
private ProtocolVersion |
protoversion |
private static long |
serialVersionUID |
private String |
uri |
Constructor and Description |
---|
BasicRequestLine(String method,
String uri,
ProtocolVersion version) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
String |
getMethod() |
ProtocolVersion |
getProtocolVersion() |
String |
getUri() |
String |
toString() |
private static final long serialVersionUID
private final ProtocolVersion protoversion
public BasicRequestLine(String method, String uri, ProtocolVersion version)
public String getMethod()
getMethod
in interface RequestLine
public ProtocolVersion getProtocolVersion()
getProtocolVersion
in interface RequestLine
public String getUri()
getUri
in interface RequestLine
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses