[
https://issues.apache.org/jira/browse/WINK-385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13783894#comment-13783894
]
Atul Kumar commented on WINK-385:
---------------------------------
yeah, solved it through injecting @Context at the resource level and then
passing it to the subresources.
> Not able to inject @Context (HttpHeaders) at sub-resource
> ---------------------------------------------------------
>
> Key: WINK-385
> URL: https://issues.apache.org/jira/browse/WINK-385
> Project: Wink
> Issue Type: Bug
> Components: Common, Server
> Affects Versions: 1.2
> Environment: Windows 7, WAS 8.5, RSA 8.5.1
> Reporter: Atul Kumar
>
> I want to inject HTTPHeaders at a sub-resource (without an @Path annotation),
> but at run-time the instance doesn't get instantiated.
> For example:
> @Context
> private HttpHeaders httpHeaders;
--
This message was sent by Atlassian JIRA
(v6.1#6144)