All Downloads are FREE. Search and download functionalities are using the official Maven repository.

top.infra.web.servlet.handler.OrderedHandlerInterceptor Maven / Gradle / Ivy

There is a newer version: 3.0.1
Show newest version
package top.infra.web.servlet.handler;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;


/**
 * OrderedHandlerInterceptor and patterns.
 *
 * @param  Interceptor type
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OrderedHandlerInterceptor implements Serializable {

    /**
     * ordered interceptor
     */
    private T interceptor;

    /**
     * Add URL patterns to which the registered interceptor should apply to.
     */
    private String[] patterns;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy