Example usage for org.springframework.web.servlet HandlerInterceptor interface-usage

List of usage examples for org.springframework.web.servlet HandlerInterceptor interface-usage

Introduction

In this page you can find the example usage for org.springframework.web.servlet HandlerInterceptor interface-usage.

Usage

From source file com.thoughtworks.go.server.web.JsonpInterceptor.java

@Controller
public class JsonpInterceptor implements HandlerInterceptor {
    public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler)
            throws Exception {
        return true;
    }

From source file name.cphillipson.experimental.gwt.server.interceptor.DateTimeZoneHandlerInterceptor.java

/**
 * Spring MVC Interceptor that sets the request's {@link DateTimeZone} from a cookie.
 * Allows the client's timezone to be figured out by JavaScript, then submitted and applied on the server as the default timezone for the request.
 * Useful when you need to render dates in client local time.
 * @author Keith Donald
 */

From source file org.displaytag.filter.DisplayTagSpringInterceptor.java

/**
 * <p>
 * Allow the author of an included JSP page to reset the content type to something else (like a binary stream), and then
 * write the new info back as the exclusive response, clearing the buffers of all previously added content.
 * </p>
 * <p>

From source file org.jboss.arquillian.warp.extension.spring.interceptor.WarpInterceptor.java

/**
 * <p>A {@link HandlerInterceptor} that captures the Spring MVC execution state.</p>
 *
 * <p>The interceptor is alternative approach for using
 * {@link org.jboss.arquillian.warp.extension.spring.servlet.WarpDispatcherServlet} whit fallowing limitations:
 * <ol>

From source file org.cfr.capsicum.server.WebInterceptor.java

/**
 * Cayenne Spring web request interceptor that wraps Cayenne Runtime,
 * calling the request handler injected in Cayenne DI.
 * @see RequestHandler
 * @see SessionContextRequestHandler
 * @see StatelessContextRequestHandler

From source file org.encuestame.mvc.interceptor.Messagei18nInterceptor.java

public class Messagei18nInterceptor extends AbstractBaseOperations implements HandlerInterceptor {

    private Log log = LogFactory.getLog(this.getClass());

    /*
     *    (non-Javadoc)

From source file ch.silviowangler.dox.web.filters.DoxInterceptor.java

/**
 * @author Silvio Wangler
 * @since 0.2
 */
public class DoxInterceptor implements HandlerInterceptor, InitializingBean, EnvironmentAware {

From source file com.iwancool.dsm.admin.filter.DsmSecurityInterceptor.java

/**
 * 
 * 
 * @author   long
 * @version  1.0.0
 * @2015327 ?11:32:21

From source file org.parancoe.web.ParancoeOpenSessionInViewInterceptor.java

/**
 * I don't know why the transaction annotations aren't recognized. This class is a workaround until
 * I will find a solution.
 *
 * @author Jacopo Murador <jacopo.murador at seesaw.it>
 */

From source file com.baifendian.swordfish.webserver.interceptor.LoginInterceptor.java

/**
 * ,  "/login" ??, 
 */
public class LoginInterceptor implements HandlerInterceptor {
    private static Logger logger = LoggerFactory.getLogger(LoginInterceptor.class.getName());