Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
The Application class should be injectable via a constructor. For example:
public StringReader(@Context HttpHeaders headers, @Context UriInfo info, @Context Application application) { super(); this.headers = headers; this.info = info; this.application = application; }
This is leveraged in TCK test
com/sun/ts/tests/jaxrs/spec/provider/visibility