Android

org.apache.http.message.BasicRequestLine

java.lang.Object
org.apache.http.message.BasicRequestLine Cloneable RequestLine

The first line of an HttpRequest. It contains the method, URI, and HTTP version of the request. For details, see RFC 2616.

Summary

Public Constructors

            BasicRequestLine(String method, String uri, ProtocolVersion version)

Public Methods

          Object  clone()
Returns a new instance of the same class as the receiver, whose slots have been filled in with the values in the slots of the receiver.
          String  getMethod()
          ProtocolVersion  getProtocolVersion()
          String  getUri()
          String  toString()
Returns a string containing a concise, human-readable description of the receiver.
Methods inherited from class java.lang.Object
Methods inherited from interface org.apache.http.RequestLine

Details

Public Constructors

public BasicRequestLine(String method, String uri, ProtocolVersion version)

Public Methods

public Object clone()

Returns a new instance of the same class as the receiver, whose slots have been filled in with the values in the slots of the receiver.

Classes which wish to support cloning must specify that they implement the Cloneable interface, since the implementation checks for this.

Returns

  • Object a shallow copy of this object.

public String getMethod()

public ProtocolVersion getProtocolVersion()

public String getUri()

public String toString()

Returns a string containing a concise, human-readable description of the receiver.

Returns

  • String a printable representation for the receiver.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:56