Wso2 Response.getResolvedRequestedURI返回null

Wso2 Response.getResolvedRequestedURI返回null,wso2,wso2-mgw,Wso2,Wso2 Mgw,我在WSO2微网关的拦截器中使用Response.getResolvedRequestedURI来查找生产url。但是,我看到这个api总是返回null 获取wso2将呼叫转发到的生产url的方法是什么 /** * Get the ultimate request URI that was made to receive the response when redirect is on * @return the requested URI */ public String getReso

我在WSO2微网关的拦截器中使用Response.getResolvedRequestedURI来查找生产url。但是,我看到这个api总是返回null

获取wso2将呼叫转发到的生产url的方法是什么

/**
 * Get the ultimate request URI that was made to receive the response when redirect is on
 * @return the requested URI
 */
public String getResolvedRequestedURI() 

微网关将请求转发到的端点可以在响应路径中检索,如下所示

public boolean interceptResponse(Caller caller, Response response) {
    Map<String, Object> attributes = Utils.getInvocationContextAttributes();
    Object destination = attributes.get("destination");
   .
   .
   .
}
public boolean interceptResponse(调用者-调用者,响应-响应){
Map attributes=Utils.getInvocationContextAttributes();
对象目的地=attributes.get(“目的地”);
.
.
.
}

有人能对此发表评论吗?