@Test public void preHandleDefault() throws Exception { SitePreferenceHandlerInterceptor interceptor = new SitePreferenceHandlerInterceptor(); boolean result = interceptor.preHandle(request, response, null); assertNull(SitePreferenceUtils.getCurrentSitePreference(request)); assertTrue(result); }
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception { sitePreferenceHandler.handleSitePreference(request, response); return true; }
SitePreferenceHandlerInterceptor extends HandlerInterceptorAdapter { public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception { sitePreferenceHandler.handleSitePreference(request, response); return true; } }
SitePreferenceHandlerInterceptor extends HandlerInterceptorAdapter { public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception { sitePreferenceHandler.handleSitePreference(request, response); return true; } SitePreferenceHandlerInterceptor();  SitePreferenceHandlerInterceptor(SitePreferenceHandler sitePreferenceHandler); }
SitePreferenceHandlerInterceptor extends HandlerInterceptorAdapter { public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception { sitePreferenceHandler.handleSitePreference(request, response); return true; } SitePreferenceHandlerInterceptor();  SitePreferenceHandlerInterceptor(SitePreferenceHandler sitePreferenceHandler); boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler); }
SitePreferenceHandlerInterceptor extends HandlerInterceptorAdapter { public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception { sitePreferenceHandler.handleSitePreference(request, response); return true; } SitePreferenceHandlerInterceptor();  SitePreferenceHandlerInterceptor(SitePreferenceHandler sitePreferenceHandler); boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler);  }