App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | Static Public Attributes | List of all members
google.appengine.api.urlfetch_stub.URLFetchServiceStub Class Reference
Inheritance diagram for google.appengine.api.urlfetch_stub.URLFetchServiceStub:
google.appengine.api.apiproxy_stub.APIProxyStub

Public Member Functions

def __init__
 
- Public Member Functions inherited from google.appengine.api.apiproxy_stub.APIProxyStub
def __init__
 
def CreateRPC
 
def MakeSyncCall
 
def SetError
 

Static Public Attributes

 THREADSAFE = True
 
- Static Public Attributes inherited from google.appengine.api.apiproxy_stub.APIProxyStub
 THREADSAFE = False
 

Additional Inherited Members

- Public Attributes inherited from google.appengine.api.apiproxy_stub.APIProxyStub
 request_data
 

Detailed Description

Stub version of the urlfetch API to be used with apiproxy_stub_map.

Constructor & Destructor Documentation

def google.appengine.api.urlfetch_stub.URLFetchServiceStub.__init__ (   self,
  service_name = 'urlfetch',
  urlmatchers_to_fetch_functions = None 
)
Initializer.

Args:
  service_name: Service name expected for all calls.
  urlmatchers_to_fetch_functions: A list of two-element tuples.
The first element is a urlmatcher predicate function that takes
a url and determines a match. The second is a function that
can retrieve result for that url. If no match is found, a url is
handled by the default _RetrieveURL function.
When more than one match is possible, the first match is used.

The documentation for this class was generated from the following file: