[jax-rs-spec users] [jsr339-experts] setting request properties disrupts fluent api

From: Bill Burke <>
Date: Wed, 24 Oct 2012 10:26:16 -0400

I have some features that require setting a request property. It is a
bit awkward in the current API:

WebTarget target = ...;
Invocation.Builder request = target.request();
request.configuration().setProperty("custom", "value");
Response response = request.get();

Would be cool, if there were a property() method on Invocation.Builder:

Response response ="custom",

I'll log a JIRA if people agree.

Bill Burke
JBoss, a division of Red Hat