public class WebContextInterceptor
extends java.lang.Object
implements org.springframework.web.servlet.HandlerInterceptor
限定符和类型 | 字段和说明 |
---|---|
private ConfigDataComponent |
configDataComponent |
protected FileUploadComponent |
fileUploadComponent |
protected org.springframework.web.servlet.i18n.LocaleChangeInterceptor |
localeChangeInterceptor |
protected org.apache.commons.logging.Log |
log |
private LogLoginService |
logLoginService |
protected SiteComponent |
siteComponent |
protected SysUserService |
sysUserService |
private SysUserTokenService |
sysUserTokenService |
构造器和说明 |
---|
WebContextInterceptor() |
限定符和类型 | 方法和说明 |
---|---|
protected SysUser |
initUser(SysUser user,
java.lang.String channel,
java.lang.String cookiesName,
SysSite site,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
boolean |
preHandle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.Object handler) |
protected final org.apache.commons.logging.Log log
protected SysUserService sysUserService
private SysUserTokenService sysUserTokenService
protected SiteComponent siteComponent
private LogLoginService logLoginService
private ConfigDataComponent configDataComponent
protected FileUploadComponent fileUploadComponent
protected org.springframework.web.servlet.i18n.LocaleChangeInterceptor localeChangeInterceptor
public boolean preHandle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.Object handler) throws javax.servlet.ServletException
preHandle
在接口中 org.springframework.web.servlet.HandlerInterceptor
javax.servlet.ServletException