Hi All,
I am using dropwizard to build a application which provides redirection(301 using Location header) depending on what headers are passed.
I was figuring out if there is a nice way to get the list all the headers which are associated with the incoming request. I see that there is @HeaderParams from which we can access the request headers, but it would nice
if I can get hold of the httprequest itself.
Also for providing redirection I need to add the location header to the http response . I couldn't find a way to do this currently in the documentation.
Thanks,
Shrikar