to top
Android APIs
public class

BasicHttpRequest

extends AbstractHttpMessage
implements HttpRequest
java.lang.Object
   ↳ org.apache.http.message.AbstractHttpMessage
     ↳ org.apache.http.message.BasicHttpRequest
Known Direct Subclasses

Class Overview

Basic implementation of an HTTP request that can be modified.

Summary

[Expand]
Inherited Fields
From class org.apache.http.message.AbstractHttpMessage
Public Constructors
BasicHttpRequest(String method, String uri)
BasicHttpRequest(String method, String uri, ProtocolVersion ver)
BasicHttpRequest(RequestLine requestline)
Public Methods
ProtocolVersion getProtocolVersion()
Returns the protocol version this message is compatible with.
RequestLine getRequestLine()
Returns the request line of this request.
[Expand]
Inherited Methods
From class org.apache.http.message.AbstractHttpMessage
From class java.lang.Object
From interface org.apache.http.HttpMessage
From interface org.apache.http.HttpRequest

Public Constructors

public BasicHttpRequest (String method, String uri)

Added in API level 1

public BasicHttpRequest (String method, String uri, ProtocolVersion ver)

Added in API level 1

public BasicHttpRequest (RequestLine requestline)

Added in API level 1

Public Methods

public ProtocolVersion getProtocolVersion ()

Added in API level 1

Returns the protocol version this message is compatible with.

public RequestLine getRequestLine ()

Added in API level 1

Returns the request line of this request.

Returns
  • the request line.