-
Bug
-
Resolution: Done
-
Major
-
3.6.0.Final, 4.0.0.Beta4
According to jax-RS specification all methods of any javax.ws.rs.client.WebTarget implementation that returns a new WebTarget instance (such as path(),queryParam(),resolveTemplates()...) must ensure that :
A snapshot of the present configuration of the current (parent) target instance is taken and is inherited by the newly constructed (child) target instance. ... Therefore, once a configuration is inherited it is also detached (deep copied) from its parent configuration and changes to the parent and child configurations are not be visible to each other.
Thanks to what have been done in https://issues.jboss.org/browse/RESTEASY-1345, child configuration is partially detached from its parent in a way that invocations of getClasses(), getInstances(), getContracts(...), getProperties() and getProperty(...) on the child does not reflect parent configurations changes and vice versa.
However those configurations are not yet fully detached from each other since providers registered on parent configuration after child configuration creation are taken into account and used by child request/response processing mechanism (see unit tests added to the PR).
- causes
-
JBEAP-18635 Increased response time and gc for rest endpoints running rest clients
- Closed
- is related to
-
RESTEASY-1345 Instances built from org.jboss.resteasy.client.jaxrs.internal.ClientWebTarget must inherit of a snaphot of the parent configuration
- Closed
-
RESTEASY-2302 Reduce memory pressure while inheriting client configuration
- Resolved