org.apache.http.message
Class BasicRequestLine
java.lang.Object
org.apache.http.message.BasicRequestLine
- All Implemented Interfaces:
- java.lang.Cloneable, RequestLine
public class BasicRequestLine
- extends java.lang.Object
- implements RequestLine, java.lang.Cloneable
The first line of an HttpRequest
.
It contains the method, URI, and HTTP version of the request.
For details, see RFC 2616.
- Since:
- 4.0
- Version:
- $Revision: 604625 $
- Author:
- Oleg Kalnichevski
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BasicRequestLine
public BasicRequestLine(java.lang.String method,
java.lang.String uri,
ProtocolVersion version)
getMethod
public java.lang.String getMethod()
- Specified by:
getMethod
in interface RequestLine
getProtocolVersion
public ProtocolVersion getProtocolVersion()
- Specified by:
getProtocolVersion
in interface RequestLine
getUri
public java.lang.String getUri()
- Specified by:
getUri
in interface RequestLine
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Overrides:
clone
in class java.lang.Object
- Throws:
java.lang.CloneNotSupportedException
Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.