Interface LocalTaskQueueCallback
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
EnvSettingTaskqueueCallback,LocalTaskQueueTestConfig.DeferredTaskCallback,LocalTaskQueueTestConfig.DeferredTaskCallback,LocalTaskQueueTestConfig.ServletInvokingTaskCallback,LocalTaskQueueTestConfig.ServletInvokingTaskCallback
A callback that is asynchronously invoked by the local Task Queue. Even though the interface is
defined in terms of a url fetch and its response, implementors are free to execute the request in
any way they see fit.
-
Method Summary
Modifier and TypeMethodDescriptionintExecute the provided url fetch request.voidinitialize(Map<String, String> properties) This method will be invoked fromLocalTaskQueue.init(com.google.appengine.tools.development.LocalServiceContext, Map)forwarding thepropertiesparameter.
-
Method Details
-
initialize
This method will be invoked fromLocalTaskQueue.init(com.google.appengine.tools.development.LocalServiceContext, Map)forwarding thepropertiesparameter. -
execute
Execute the provided url fetch request.- Parameters:
req- The url fetch request- Returns:
- The HTTP status code of the fetch.
-