Skip to content

Most visited

Recently visited

navigation

BasicHttpRequest | Android Developers

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.
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.