public class UrlFetchJob
extends java.lang.Object
Job
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 the TaskQueueAddRequest
contained in the job data. We delegate to
LocalURLFetchService
for the actual fetching.
initialize(LocalServerEnvironment, Clock)
must be called before the first invocation of
execute(JobExecutionContext)
.Constructor and Description |
---|
UrlFetchJob() |
Modifier and Type | Method and Description |
---|---|
void |
execute(JobExecutionContext context) |