final ServletResponse response) {
if (null == request || null == response) {
throw new IllegalArgumentException("Request and response can't be null");
}
final Context context = new ServletRequestContext(injectorName, request);
context.put(Key.get(ServletRequest.class), request);
context.put(Key.get(ServletResponse.class), response);
final Resource requestedResource = getRequestedResource(request);
context.put(Key.get(Resource.class, RequestedResource.class), requestedResource);
return context;
}