Build 1.0_r1(from source)

android.webkit.gears
Class UrlInterceptHandlerGears.ServiceRequest

java.lang.Object
  extended by android.webkit.gears.UrlInterceptHandlerGears.ServiceRequest
Enclosing class:
UrlInterceptHandlerGears

public static class UrlInterceptHandlerGears.ServiceRequest
extends Object

Object passed to the native side, containing information about the URL to service.


Constructor Summary
UrlInterceptHandlerGears.ServiceRequest(String url, Map<String,String[]> requestHeaders)
          Initialize members on construction.
 
Method Summary
 String getRequestHeader(String header)
          Get the value associated with a request header key, if any.
 String getUrl()
          Returns the URL being requested.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UrlInterceptHandlerGears.ServiceRequest

public UrlInterceptHandlerGears.ServiceRequest(String url,
                                               Map<String,String[]> requestHeaders)
Initialize members on construction.

Parameters:
url - The URL being requested.
requestHeaders - Headers associated with the request, or null if none. Map of lowercase key to [ unmodified key, value ].
Method Detail

getUrl

public String getUrl()
Returns the URL being requested.

Returns:
The URL being requested.

getRequestHeader

public String getRequestHeader(String header)
Get the value associated with a request header key, if any.

Parameters:
header - The key to find, case insensitive.
Returns:
The value associated with this header, or null if not found.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature