This repository was archived by the owner on May 28, 2018. It is now read-only.

Description
Consider this simple code:
@Provider
public class RestRequestFilter implements ContainerRequestFilter {
private static final Logger logger = LogManager.getLogger(RestRequestFilter.class);
@Context
private HttpServletRequest httpRequest;
@Override
public void filter(ContainerRequestContext request) throws IOException {
logger.info("request: " + httpRequest);
}
}
you will see, that this is null, when run in inmemory/grizzly2/jetty providers for tests. However, it is injected correctly, when run in a real servlet container like jetty/tomcat.
Can someone point me to the right solution for this issue?
Thanks in advance,
Yusuf