webContextSpec);
RequestSpec requestSpec = spec.getRequestSpec();
RequestReceiver requestReceiver = new RequestReceiver(gsonBuilder.get(), requestSpec);
WebServiceRequest webServiceRequest = requestReceiver.receive(req);
ResourceQueryParams queryParams =
(ResourceQueryParams) webServiceRequest.getUrlParameters().getParamsObject();
WebContext context = new WebContextExtractor(webContextSpec).extract(webServiceRequest.getHeaders());
List results = resourceQuery.query(queryParams, context);
HeaderMapSpec headerSpec = new HeaderMapSpec.Builder().build();
HeaderMap responseHeaders = new HeaderMap.Builder(headerSpec).build();