code: public static Response forwardGet(URI uri, HttpServletRequest request, boolean forwardHeaders)
          throws URISyntaxException, HttpException {
  
          Header[] headersToForward = null;
  
          if (request != null && forwardHeaders) {
              headersToForward = HttpUtil.getHeadersFromRequest(request);
          }
  
          return send(new HttpGet(uri), null, headersToForward);
      }
docs: Forward GET request to uri based on given request
  
  @param uri            uri The URI to forward to.
  @param request        The original {@link HttpServletRequest}
  @param forwardHeaders Should headers of request should be forwarded
  @return The HTTP response as Response object.
  @throws URISyntaxException
  @throws HttpException