Hi
I have an intermittent issue with a restful webservice where the throwable
object is null on the status object albeit the status is 500 , this issue
is quite random and I have not managed to reproduce it , What are the
scenarios where the throwable is null for an internal server exception,
I haven't tested this so please accept my apologies if it doesn't work. You
could use the following form of attach()
public Route attach(String pathTemplate,
Class? targetClass,
int matchingMode)
and attach your guard with a Template.MODE_STARTS_WITH
Thank you for the response...
My simplified test code is now:
public final Restlet createInboundRoot() {
Router router = new Router(getContext());
router.attach(/v1/, RootServerResource.class);
router.attach(/v2/, RootServerResource.class);
GaeAuthenticator guard = new
3 matches
Mail list logo