[prev in list] [next in list] [prev in thread] [next in thread]
List: httpcomponents-commits
Subject: [2/3] httpcomponents-core git commit: Make org.apache.http.nio.protocol.ErrorResponseProducer public
From: olegk () apache ! org
Date: 2017-09-28 21:21:38
Message-ID: 6249d4acffc04629af1ba229dd1ac298 () git ! apache ! org
[Download RAW message or body]
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/b7e97143
Tree: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/tree/b7e97143
Diff: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/diff/b7e97143
Branch: refs/heads/4.4.x
Commit: b7e9714308dadb2e414783bed58db2e6271d07cb
Parents: 2491e66
Author: Gary Gregory <ggregory@apache.org>
Authored: Thu Sep 28 10:43:51 2017 -0600
Committer: Oleg Kalnichevski <olegk@apache.org>
Committed: Thu Sep 28 23:16:56 2017 +0200
----------------------------------------------------------------------
.../org/apache/http/nio/protocol/ErrorResponseProducer.java | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/b7e97143/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..6a2df67 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,19 @@ import org.apache.http.nio.entity.HttpAsyncContentProducer;
import org.apache.http.protocol.HTTP;
import org.apache.http.protocol.HttpContext;
-class ErrorResponseProducer implements HttpAsyncResponseProducer {
+/**
+ * This class changed from package private to public in version 4.4.8.
+ *
+ * @since 4.4.8
+ */
+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) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic