Hi all,
According the the javadoc for StatusService, one should be able to set
it on either the Application or the Component. However, in our case,
only the former works. A quick peek at the restlet code shows that
Resource.getStatusService() only calls Application.getStatusService().
Is this
Hi all,
According the the javadoc for StatusService, one should be able to set
it on either the Application or the Component. However, in our case,
only the former works. A quick peek at the restlet code shows that
Resource.getStatusService() only calls Application.getStatusService().
Is this
Hi Arjohn,
The StatusService has two complementary purposes:
- setting an HTTP status based on a Jave exception
- setting a response entity in case of on error status
For the second purpose, the Component level StatusService is capable of
overwriting the response entity in case of error
3 matches
Mail list logo