We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1053ebb commit 91cc29cCopy full SHA for 91cc29c
client/src/main/java/org/asynchttpclient/HttpResponseStatus.java
@@ -99,4 +99,12 @@ public final Uri getUri() {
99
* if asynchronous provider is unable to provide the local address
100
*/
101
public abstract SocketAddress getLocalAddress();
102
+
103
+ /**
104
+ * Code followed by text.
105
+ */
106
+ @Override
107
+ public String toString() {
108
+ return getStatusCode() + " " + getStatusText();
109
+ }
110
}
0 commit comments