I am developing web services using Restlet Java.
For this I want to protect some webservices from unauthorized clients. So I have written Filter cla
If you are using Restlet 2.1-RC3 this is the way to get it
Series headers = (Series) getRequestAttributes().get("org.restlet.http.headers"); String auth = headers.getFirstValue("auth");
This is exactly how it's worked for me. None of the answers above did it. I hope it helps.