Hi Surjendu,
you could call super.handle(request, response) in MyApplication.handle(..)
best regards
Stephan
Surjendu schrieb:
2. If I override handle method in Application class then my
createRoot never gets called.
Thanks Stephan.
Problem is I just found out that createRoot gets called
before handle() and hence request.getResourceRef().toString()
in createRoot is still null.
If the flow is other way round then it would have solved the
problem.
Do u have any other way??
Hi again,
Could you be more precise? Do you want to load your XML/properties once per
application instantiation, or each time a request is coming?
For the former case, you can try using the WADL extension, especially the
WadlApplication, at least as a source of inspiration:
http://www.restlet.or
3 matches
Mail list logo