users@jax-rs-spec.java.net

[jax-rs-spec users] REST server/client contract

From: <jernej.pajntar_at_gmail.com>
Date: Tue, 23 Aug 2016 07:19:16 +0000 (UTC)

Am I really the only one who thinks that contracts between
server/client in an enterprise application are important?

The RESTeasy framework did a great job providing the contract interface
with Resteasy PROXY Framework*.

But with the rise of ASYNC processing it became useless, because the
return type cannot be inspected as far as i know.

@GET
    public void asyncGet(@Suspended final AsyncResponse asyncResponse)

Does anyone have any solutions for this problem?

*
https://docs.jboss.org/resteasy/docs/3.0-beta-3/userguide/html/RESTEasy
_Client_Framework.html