我正在尝试在一个资源上使用多个Java拦截器。仅最后一个拦截器被调用。 是否支持资源上的多个拦截器?
paths:
/public/rt/PING:
get:
description: ""
operationId: PING
x-wso2-disable-security: true
x-wso2-throttling-tier: 6PerMin
x-wso2-request-interceptor: java:org.mgw.interceptor.IDSAuthInterceptor
x-wso2-request-interceptor: java:org.mgw.interceptor.IPFilterInterceptor
responses:
"200":
description: Successful response
content:
application/json:
schema:
$ref: "#/components/schemas/PING"
application/xml:
schema:
$ref: "#/components/schemas/PING"
security:
- basicAuthentication: []
答案 0 :(得分:2)
不支持多个拦截器。是否可以编写第一个拦截器来调用第二个拦截器。这样就不需要多个拦截器。