com.google.appengine.api.taskqueue.dev
Class UrlFetchJob
- java.lang.Object
-
- com.google.appengine.api.taskqueue.dev.UrlFetchJob
-
public class UrlFetchJob extends java.lang.Object
QuartzJob
implementation that hits a url. The url to hit, the http method to invoke, headers, and any data that should be sent as part of the request are all determined by theTaskQueueAddRequest
contained in the job data. We delegate toLocalURLFetchService
for the actual fetching.initialize(LocalServerEnvironment, Clock)
must be called before the first invocation ofexecute(JobExecutionContext)
.
-
-
Constructor Summary
Constructors Constructor and Description UrlFetchJob()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
execute(JobExecutionContext context)
-