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
How would you handle seeking to parse an ID in the GET header from a client request ? Would you approach this in the same manner ?
Since the:
Form headers = (Form) getRequestAttributes().get("org.restlet.http.headers");
returns all the header information and
String hID = headers.getFirstValue("Location");
gets the location(s)
How would you handle parsing out the ID ?