RestContextManager.setContext(requestWrapper, hResponse, params);
SNASessionProvider.setCurrentSNASession(snaSession);
// 检测用户当前的安全状态
if (requestWrapper.getUserPrincipal() != null) {
SecurityContext securityContext = GuiceContext.getInstance()
.getBean(SecurityContext.class);
GuiceContext.getInstance().injectorMembers(securityContext);
securityContext.getUserPrincipal();
}
// 处理当前请求
new JRest4GuiceProcessor().setUrlPrefix(this.urlPrefix).process(
requestWrapper, hResponse);