UrlFetchJob
Stay organized with collections
Save and categorize content based on your preferences.
- java.lang.Object
-
- com.google.appengine.api.taskqueue.dev.UrlFetchJob
-
public class UrlFetchJob
extends java.lang.Object
-
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
UrlFetchJob
public UrlFetchJob()
-
Method Detail
-
execute
public void execute(JobExecutionContext context)
throws JobExecutionException
- Throws:
JobExecutionException
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-02-15 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-02-15 UTC."],[[["`UrlFetchJob` is a Quartz `Job` implementation designed to interact with URLs, handling requests with specific methods, headers, and data based on the `TaskQueueAddRequest`."],["The actual URL fetching is handled by `LocalURLFetchService`, to which `UrlFetchJob` delegates the task."],["The `initialize(LocalServerEnvironment, Clock)` method must be called prior to the first use of the `execute(JobExecutionContext)` method."],["The class provides a constructor `UrlFetchJob()` for instantiation and an `execute` method to carry out the job, which can throw a `JobExecutionException`."]]],[]]