Skip to content

Commit 3da93e1

Browse files
garydgregoryok2c
authored andcommitted
Add org.apache.hc.core5.http.impl.routing.RequestRouter.SingleAuthorityResolver.toString()
1 parent 63fe8d6 commit 3da93e1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

httpcore5/src/main/java/org/apache/hc/core5/http/impl/routing/RequestRouter.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,11 @@ public T apply(final URIAuthority authority) {
9696
return singleAuthority.equals(authority) ? router : null;
9797
}
9898

99+
@Override
100+
public String toString() {
101+
return singleAuthority + " " + router;
102+
}
103+
99104
}
100105

101106
static class NoAuthorityResolver<T> implements Function<URIAuthority, T> {

0 commit comments

Comments
 (0)