com.google.appengine.api.urlfetch.dev
Class LocalURLFetchService

java.lang.Object
  extended by com.google.appengine.api.urlfetch.dev.LocalURLFetchService

@ServiceProvider(value=)
public final class LocalURLFetchService
extends java.lang.Object

LocalURLFetchService fetchs URLs using jakarta HttpClient. This implementation should only be used within the dev appserver environment.


Field Summary
static java.lang.String PACKAGE
          The package name for this service.
 
Constructor Summary
LocalURLFetchService()
           
 
Method Summary
 URLFetchResponse fetch(Status status, URLFetchRequest request)
           
 java.lang.String getPackage()
           
 void init(LocalServiceContext context, java.util.Map<java.lang.String,java.lang.String> properties)
           
static boolean isUrlfetchRequestInFlight()
           
 void setTimeoutInMs(int timeoutInMs)
           
static boolean shouldValidateCurrentRequest()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PACKAGE

public static final java.lang.String PACKAGE
The package name for this service.

See Also:
Constant Field Values
Constructor Detail

LocalURLFetchService

public LocalURLFetchService()
Method Detail

shouldValidateCurrentRequest

public static boolean shouldValidateCurrentRequest()

isUrlfetchRequestInFlight

public static boolean isUrlfetchRequestInFlight()

getPackage

public java.lang.String getPackage()

setTimeoutInMs

public void setTimeoutInMs(int timeoutInMs)

init

public void init(LocalServiceContext context,
                 java.util.Map<java.lang.String,java.lang.String> properties)

start

public void start()

stop

public void stop()

fetch

public URLFetchResponse fetch(Status status,
                              URLFetchRequest request)