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 2018/01/10 00:34:59 UTC

httpcomponents-core git commit: [HTTPCORE-505] Make org.apache.http.nio.protocol.HttpAsyncService instance variables available through getters.

Repository: httpcomponents-core
Updated Branches:
  refs/heads/4.4.x 88a0bf85a -> 4641e5f47


[HTTPCORE-505] Make org.apache.http.nio.protocol.HttpAsyncService
instance variables available through getters.

Project: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/commit/4641e5f4
Tree: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/tree/4641e5f4
Diff: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/diff/4641e5f4

Branch: refs/heads/4.4.x
Commit: 4641e5f4733269250dfbdcbff5e7e4622755fdb7
Parents: 88a0bf8
Author: Gary Gregory <gg...@apache.org>
Authored: Tue Jan 9 17:34:56 2018 -0700
Committer: Gary Gregory <gg...@apache.org>
Committed: Tue Jan 9 17:34:56 2018 -0700

----------------------------------------------------------------------
 RELEASE_NOTES.txt                                       |  2 +-
 .../org/apache/http/nio/protocol/HttpAsyncService.java  | 12 ++++++------
 2 files changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/4641e5f4/RELEASE_NOTES.txt
----------------------------------------------------------------------
diff --git a/RELEASE_NOTES.txt b/RELEASE_NOTES.txt
index 40cd638..3d629a5 100644
--- a/RELEASE_NOTES.txt
+++ b/RELEASE_NOTES.txt
@@ -27,7 +27,7 @@ Changelog
 * HTTPCORE-504: Update DefaultHttpClientIODispatch constructor to type for subclasses of DefaultNHttpClientConnection (like DefaultHttpServerIODispatch.)
   Contributed by Gary Gregory <ggregory at apache.org>
 
-* HTTPCORE-505: Make org.apache.http.nio.protocol.HttpAsyncService instance variables available to subclasses.
+* HTTPCORE-505: Make org.apache.http.nio.protocol.HttpAsyncService instance variables available through getters.
   Contributed by Gary Gregory <ggregory at apache.org>
 
 

http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/4641e5f4/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncService.java
----------------------------------------------------------------------
diff --git a/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncService.java b/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncService.java
index 968d760..59e3080 100644
--- a/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncService.java
+++ b/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncService.java
@@ -1093,7 +1093,7 @@ public class HttpAsyncService implements NHttpServerEventHandler {
      * @return  the HttpResponseFactory for this service.
      * @since 4.4.8
      */
-    protected HttpResponseFactory getResponseFactory() {
+    public HttpResponseFactory getResponseFactory() {
       return responseFactory;
     }
 
@@ -1103,7 +1103,7 @@ public class HttpAsyncService implements NHttpServerEventHandler {
      * @return the HttpProcessor for this service.
      * @since 4.4.9
      */
-    protected HttpProcessor getHttpProcessor() {
+    public HttpProcessor getHttpProcessor() {
         return httpProcessor;
     }
 
@@ -1113,7 +1113,7 @@ public class HttpAsyncService implements NHttpServerEventHandler {
      * @return the ConnectionReuseStrategy for this service.
      * @since 4.4.9
      */
-    protected ConnectionReuseStrategy getConnectionStrategy() {
+    public ConnectionReuseStrategy getConnectionStrategy() {
         return connectionStrategy;
     }
 
@@ -1123,7 +1123,7 @@ public class HttpAsyncService implements NHttpServerEventHandler {
      * @return the HttpAsyncRequestHandlerMapper for this service.
      * @since 4.4.9
      */
-    protected HttpAsyncRequestHandlerMapper getHandlerMapper() {
+    public HttpAsyncRequestHandlerMapper getHandlerMapper() {
         return handlerMapper;
     }
 
@@ -1133,7 +1133,7 @@ public class HttpAsyncService implements NHttpServerEventHandler {
      * @return the HttpAsyncExpectationVerifier for this service.
      * @since 4.4.9
      */
-    protected HttpAsyncExpectationVerifier getExpectationVerifier() {
+    public HttpAsyncExpectationVerifier getExpectationVerifier() {
         return expectationVerifier;
     }
 
@@ -1143,7 +1143,7 @@ public class HttpAsyncService implements NHttpServerEventHandler {
      * @return the ExceptionLogger for this service.
      * @since 4.4.9
      */
-    protected ExceptionLogger getExceptionLogger() {
+    public ExceptionLogger getExceptionLogger() {
         return exceptionLogger;
     }