Skip to content

Commit 3c88029

Browse files
committed
Improve toString for filtered router function
Issue: SPR-16829 (cherry picked from commit f722f40)
1 parent c7adf28 commit 3c88029

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

spring-webflux/src/main/java/org/springframework/web/reactive/function/server/RouterFunctions.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,10 @@ public void accept(Visitor visitor) {
375375
this.routerFunction.accept(visitor);
376376
}
377377

378+
@Override
379+
public String toString() {
380+
return this.routerFunction.toString();
381+
}
378382
}
379383

380384
private static final class DefaultRouterFunction<T extends ServerResponse>

0 commit comments

Comments
 (0)