RESTful Java with JAX-RS 2.0 by Bill Burke

RESTful Java with JAX-RS 2.0 by Bill Burke

Author:Bill Burke [Bill Burke]
Language: eng
Format: epub, mobi, pdf
Tags: COMPUTERS / Programming Languages / Java
ISBN: 9781449361334
Publisher: O’Reilly Media
Published: 2013-11-12T05:00:00+00:00


AsyncInvoker Client API

The client asynchronous API allows you to spin off a bunch of HTTP requests in the background and then either poll for a response, or register a callback that is invoked when the HTTP response is available. To invoke an HTTP request asynchronously on the client, you interact with the javax.ws.rs.client.AsyncInvoker interface or the submit() methods on javax.ws.rs.client.Invocation. First, let’s take a look at polling HTTP requests that are run in the background.

Using Futures



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.