Skip to content

Commit 0d4b9a9

Browse files
HTTPCLIENT-2385: make DefaultManagedHttpClientConnection and DefaultM… (#692)
1 parent 9b3dffb commit 0d4b9a9

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

httpclient5/src/main/java/org/apache/hc/client5/http/impl/io/DefaultManagedHttpClientConnection.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
import javax.net.ssl.SSLSocket;
3939

4040
import org.apache.hc.client5.http.io.ManagedHttpClientConnection;
41+
import org.apache.hc.core5.annotation.Internal;
4142
import org.apache.hc.core5.http.ClassicHttpRequest;
4243
import org.apache.hc.core5.http.ClassicHttpResponse;
4344
import org.apache.hc.core5.http.ContentLengthStrategy;
@@ -56,7 +57,8 @@
5657
import org.slf4j.Logger;
5758
import org.slf4j.LoggerFactory;
5859

59-
final class DefaultManagedHttpClientConnection
60+
@Internal
61+
public class DefaultManagedHttpClientConnection
6062
extends DefaultBHttpClientConnection implements ManagedHttpClientConnection, Identifiable {
6163

6264
private static final Logger LOG = LoggerFactory.getLogger(DefaultManagedHttpClientConnection.class);

httpclient5/src/main/java/org/apache/hc/client5/http/impl/nio/DefaultManagedAsyncClientConnection.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
import javax.net.ssl.SSLSession;
3636

3737
import org.apache.hc.client5.http.nio.ManagedAsyncClientConnection;
38+
import org.apache.hc.core5.annotation.Internal;
3839
import org.apache.hc.core5.concurrent.FutureCallback;
3940
import org.apache.hc.core5.http.EndpointDetails;
4041
import org.apache.hc.core5.http.HttpConnection;
@@ -57,7 +58,8 @@
5758
import org.slf4j.Logger;
5859
import org.slf4j.LoggerFactory;
5960

60-
final class DefaultManagedAsyncClientConnection implements ManagedAsyncClientConnection, Identifiable {
61+
@Internal
62+
public class DefaultManagedAsyncClientConnection implements ManagedAsyncClientConnection, Identifiable {
6163

6264
private static final Logger LOG = LoggerFactory.getLogger(DefaultManagedAsyncClientConnection.class);
6365

0 commit comments

Comments
 (0)