org.apache.http.message
Class BasicRequestLine
java.lang.Object
org.apache.http.message.BasicRequestLine
- All Implemented Interfaces:
- RequestLine
public class BasicRequestLine
- extends java.lang.Object
- implements RequestLine
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: 573864 $
- Author:
- Oleg Kalnichevski
Methods inherited from class java.lang.Object |
clone, 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
Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.