W3Cschool
恭喜您成為首批注冊用戶
獲得88經(jīng)驗(yàn)值獎(jiǎng)勵(lì)
要檢索有關(guān)一條路線的信息,請向/actuator/gateway/routes/{id}
發(fā)送一個(gè)GET
請求(例如/actuator/gateway/routes/first_route
)。產(chǎn)生的響應(yīng)類似于以下內(nèi)容:
{ "id": "first_route", "predicates": [{ "name": "Path", "args": {"_genkey_0":"/first"} }], "filters": [], "uri": "https://www.uri-destination.org", "order": 0 }]
下表描述了響應(yīng)的結(jié)構(gòu)。
路徑 | 類型 | 描述 |
---|---|---|
|
String |
The route id. |
|
Array |
The collection of route predicates. Each item defines the name and the arguments of a given predicate. |
|
Array |
The collection of filters applied to the route. |
|
String |
The destination URI of the route. |
|
Number |
The route order. |
Copyright©2021 w3cschool編程獅|閩ICP備15016281號-3|閩公網(wǎng)安備35020302033924號
違法和不良信息舉報(bào)電話:173-0602-2364|舉報(bào)郵箱:jubao@eeedong.com
掃描二維碼
下載編程獅App
編程獅公眾號
聯(lián)系方式:
更多建議: