You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wink.apache.org by "Atul Kumar (JIRA)" <ji...@apache.org> on 2013/10/02 15:16:26 UTC
[jira] [Closed] (WINK-385) Not able to inject @Context
(HttpHeaders) at sub-resource
[ https://issues.apache.org/jira/browse/WINK-385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Atul Kumar closed WINK-385.
---------------------------
workaround as suggested in comment 2
> 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)