You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by gg...@apache.org on 2017/09/28 16:43:54 UTC
httpcomponents-core git commit: Make
org.apache.http.nio.protocol.ErrorResponseProducer public.
Repository: httpcomponents-core
Updated Branches:
refs/heads/4.4.x e6653e15f -> 714d5fa9e
Make org.apache.http.nio.protocol.ErrorResponseProducer public.
Project: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/commit/714d5fa9
Tree: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/tree/714d5fa9
Diff: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/diff/714d5fa9
Branch: refs/heads/4.4.x
Commit: 714d5fa9ed45407a1732cb7392046c2ceb7ac419
Parents: e6653e1
Author: Gary Gregory <gg...@apache.org>
Authored: Thu Sep 28 10:43:51 2017 -0600
Committer: Gary Gregory <gg...@apache.org>
Committed: Thu Sep 28 10:43:51 2017 -0600
----------------------------------------------------------------------
.../java/org/apache/http/nio/protocol/ErrorResponseProducer.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/714d5fa9/httpcore-nio/src/main/java/org/apache/http/nio/protocol/ErrorResponseProducer.java
----------------------------------------------------------------------
diff --git a/httpcore-nio/src/main/java/org/apache/http/nio/protocol/ErrorResponseProducer.java b/httpcore-nio/src/main/java/org/apache/http/nio/protocol/ErrorResponseProducer.java
index b192277..3e7eb1e 100644
--- a/httpcore-nio/src/main/java/org/apache/http/nio/protocol/ErrorResponseProducer.java
+++ b/httpcore-nio/src/main/java/org/apache/http/nio/protocol/ErrorResponseProducer.java
@@ -38,14 +38,14 @@ import org.apache.http.nio.entity.HttpAsyncContentProducer;
import org.apache.http.protocol.HTTP;
import org.apache.http.protocol.HttpContext;
-class ErrorResponseProducer implements HttpAsyncResponseProducer {
+public class ErrorResponseProducer implements HttpAsyncResponseProducer {
private final HttpResponse response;
private final HttpEntity entity;
private final HttpAsyncContentProducer contentProducer;
private final boolean keepAlive;
- ErrorResponseProducer(
+ public ErrorResponseProducer(
final HttpResponse response,
final HttpEntity entity,
final boolean keepAlive) {