We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d043e5e commit 18da0d6Copy full SHA for 18da0d6
httpcore5/src/main/java/org/apache/hc/core5/http/HttpConnection.java
@@ -42,7 +42,7 @@ public interface HttpConnection extends SocketModalCloseable {
42
/**
43
* Closes this connection gracefully. This method will attempt to flush the internal output
44
* buffer prior to closing the underlying socket. This method MUST NOT be called from a
45
- * different thread to force shutdown of the connection. Use {@link #close shutdown} instead.
+ * different thread to force shutdown of the connection. Use {@link #close(CloseMode) close(CloseMode.IMMEDIATE)} instead.
46
*/
47
@Override
48
void close() throws IOException;
0 commit comments