top.infra.web.servlet.handler.OrderedHandlerInterceptor Maven / Gradle / Ivy
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