Android

org.apache.http.client.methods.HttpUriRequest

org.apache.http.client.methods.HttpUriRequest HttpRequest

Extended version of the HttpRequest interface that provides convenience methods to access request properties such as request URI and method type.

Known Indirect Subclasses

Summary

Public Methods

          void  abort()
Aborts execution of the request.
          String  getMethod()
Returns the HTTP method this request uses, such as GET, PUT, POST, or other.
          URI  getURI()
Returns the URI this request uses, such as http://example.org/path/to/file.
          boolean  isAborted()
Tests if the request execution has been aborted.
Methods inherited from interface org.apache.http.HttpMessage
Methods inherited from interface org.apache.http.HttpRequest

Details

Public Methods

public void abort()

Aborts execution of the request.

Throws

UnsupportedOperationException if the abort operation is not supported / cannot be implemented.

public String getMethod()

Returns the HTTP method this request uses, such as GET, PUT, POST, or other.

public URI getURI()

Returns the URI this request uses, such as http://example.org/path/to/file.

public boolean isAborted()

Tests if the request execution has been aborted.

Returns

  • true if the request execution has been aborted, false otherwise.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:56