(sess = SessionsCtrl.getSession(wapp, hsess)) != null ?
I18Ns.setup(sess, request, response, "UTF-8"):
I18Ns.setup(hsess, request, response, "UTF-8"):
Charsets.setup(null, request, response, "UTF-8");
try {
cwr.service(request, response,
pi.substring(ClassWebResource.PATH_PREFIX.length()));
} finally {
if (hsess != null) I18Ns.cleanup(request, old);
else {
Charsets.cleanup(request, old);