background preloader

Going_out

Facebook Twitter

Creating Task Handlers  |  App Engine standard environment for Java  |  Google Cloud Platform. This page describes how to create a task handler, the code that handles a push task. App Engine executes tasks by sending HTTP requests to your application. You must provide a request handler to execute your task code. The mapping from the request URL to the code is declared in your service's web.xml, just like any other request handler. Because you control how to map task requests to a handler, you're free to organize your task handlers. If your application processes many different kinds of tasks, you can add all the handlers to a single service, or you can distribute them among multiple services. Writing a push task request handler The Task Queue service creates an HTTP header and sends it to an instance of the worker service specified by the task's target. Your handler does not need to be written in the same language that created and enqueued the task if you write it in a separate service.

When you write you handler, follow these guidelines: Securing task handler URLs What's next. Billet de Train pas cher - Troc billets de train | KelBillet.com. Films, bandes-annonces et séances - Cinémur. Plunker. New York | Restau, vie nocturne, divertissement.