Hi,
Before I creat an issue in the issues DB I wanted to discuss it here...
I want to "internally" redirect all "/a/" calls to "/a/b" so I use the
RedirectRestlet like
RedirectRestlet redirect = new RedirectRestlet(myContainer, "/a/b",
RedirectRestlet.MODE_INTERNAL);
host.getScorers().add("/a/", redirect);
So when i call the url it shows the status page (as i have the
"StatusFilter" deployed) anfdthe log message (LogFilter) shows a 501 -
Not Implemented.
Is it a fact that the internal redirects aren't implemented?
I looked into the code for RedirectRestlet and it basically leads to
the "owner" (which in this case is a ResstletContainer) of the restlet
being called to handle the call.
Any hints as to why I get a 501?
Cheers
Piyush