Class InterceptorRegistration及其方法 order

文档地址 https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/web/servlet/config/annotation/InterceptorRegistration.html

Class InterceptorRegistration

public class InterceptorRegistration extends Object

协助创建 MappedInterceptor。
Assists with the creation of a MappedInterceptor.

order

public InterceptorRegistration order(int order)

指定要使用的订单位置。默认值为 0。
Specify an order position to be used. Default is 0.

posted @ 2025-04-12 18:38  kuki'  阅读(15)  评论(0)    收藏  举报