Asynchronous filters
by Michael Musgrove
I see that resteasy supports async filters (Section 36.1.1 of the manual):
- was there ever an attempt to try to add this feature to the JAX-RS
specification and if so then could someone provide me with a link to the
discussion?
- do you think it would be worthwhile for me to ask them to include it in a
future JAX-RS release.
Thanks,
Mike
--
Michael Musgrove
mmusgrov(a)redhat.com
JBoss, by Red Hat
Registered Address: Red Hat Ltd, 6700 Cork Airport Business Park, Kinsale
Road, Co. Cork.
Registered in the Companies Registration Office, Parnell House, 14 Parnell
Square, Dublin 1, Ireland, No.304873
Directors:Michael Cunningham (USA), Vicky Wiseman (USA), Michael O'Neill,
Keith Phelan, Matt Parson (USA)
5 years, 10 months
Injecting HttpHeaders into ClientRequestFilter (with @Context)
by Michal Szynkiewicz
Hi,
The MP Rest Client 1.2 TCK assumes the ${subject} should be possible but
I'm getting "RESTEASY003880: Unable to find contextual data of type:
javax.ws.rs.core.HttpHeaders" when I try.
I think it's possible to add an implementation of HttpHeaders to
ResteasyProviderFactory.getContextDataMap(), and then make the headers from
it populated to the request with a filter but is there a better way? Maybe
some add-on that would make it work out of the box? ;)
Thanks,
Michał
5 years, 10 months