hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject httpcomponents-core git commit: [HTTPCORE-505] Make org.apache.http.nio.protocol.HttpAsyncService instance variables available through getters.
Date Wed, 10 Jan 2018 00:34:59 GMT
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 <ggregory@apache.org>
Authored: Tue Jan 9 17:34:56 2018 -0700
Committer: Gary Gregory <ggregory@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;
     }
 


Mime
View raw message