Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
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.