Skip to content
Snippets Groups Projects
Commit a0ebceba authored by Clayton, Brandon Scott's avatar Clayton, Brandon Scott
Browse files

test

parent 4da29f2a
No related branches found
No related tags found
2 merge requests!109Production Release,!107AASHTO Updates
......@@ -41,6 +41,11 @@ public class NetcdfWsUtils {
}
public static String getRequestUrl(HttpRequest<?> request) {
var logger = Logger.getAnonymousLogger();
request.getHeaders().asMap().entrySet().forEach(entry -> {
logger.info("Header name: " + entry.getKey());
logger.info("Header values" + Arrays.toString(entry.getValue().toArray()));
});;
var host = Optional.of(request.getHeaders().get("Host")).orElse("");
host = host.endsWith("/") ? host.substring(0, host.length() - 1) : host;
var scheme = request.getHeaders().get("Scheme");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment