Package org.apache.http.message
Class BasicRequestLine
- java.lang.Object
-
- org.apache.http.message.BasicRequestLine
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,RequestLine
@Contract(threading=IMMUTABLE) public class BasicRequestLine extends java.lang.Object implements RequestLine, java.lang.Cloneable, java.io.Serializable
Basic implementation ofRequestLine
.- Since:
- 4.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BasicRequestLine(java.lang.String method, java.lang.String uri, ProtocolVersion version)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
clone()
java.lang.String
getMethod()
ProtocolVersion
getProtocolVersion()
java.lang.String
getUri()
java.lang.String
toString()
-
-
-
Constructor Detail
-
BasicRequestLine
public BasicRequestLine(java.lang.String method, java.lang.String uri, ProtocolVersion version)
-
-
Method Detail
-
getMethod
public java.lang.String getMethod()
- Specified by:
getMethod
in interfaceRequestLine
-
getProtocolVersion
public ProtocolVersion getProtocolVersion()
- Specified by:
getProtocolVersion
in interfaceRequestLine
-
getUri
public java.lang.String getUri()
- Specified by:
getUri
in interfaceRequestLine
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
- Throws:
java.lang.CloneNotSupportedException
-
-