public static Response serviceGET(String serviceUrl, ConsumerContext context, Endpoint ep,
Token token, HttpServletRequest request, HttpServletResponse response)
throws IOException
{
HttpConnector connector = context.getHttpConnector();
UrlEncodedParameterMap params = new UrlEncodedParameterMap(serviceUrl);
context.getNonceAndTimestamp().put(params, token.getCk());
Parameter authorization = new Parameter("Authorization",
HttpAuthTransport.getAuthHeaderValue(params, ep, token,
context.getNonceAndTimestamp(), ep.getSignature()));
return connector.doGET(params.getUrl(), authorization);
}