System.out.printf("RemoteAddress: %s\n", he.getRemoteAddress());
System.out.printf("LocalAddress: %s\n", he.getLocalAddress());
System.out.printf("ContextPath: %s\n", he.getHttpContext().getPath());
System.out.printf("ContextAttributes: %s\n", he.getHttpContext().getAttributes());
Headers headers = he.getRequestHeaders();
for(String key : headers.keySet()) {
System.out.printf("Header(%s): %s\n", key, headers.getFirst(key));
}
return queryParams;
}
String getRequestFile(URI requestURI) {