hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1794174 - /httpcomponents/httpcore/branches/4.4.x/httpcore-nio/src/main/java/org/apache/http/impl/nio/SessionHttpContext.java
Date Sat, 06 May 2017 19:18:09 GMT
Author: ggregory
Date: Sat May  6 19:18:09 2017
New Revision: 1794174

URL: http://svn.apache.org/viewvc?rev=1794174&view=rev
Log:
Add toString() method. Local build OK.

Modified:
    httpcomponents/httpcore/branches/4.4.x/httpcore-nio/src/main/java/org/apache/http/impl/nio/SessionHttpContext.java

Modified: httpcomponents/httpcore/branches/4.4.x/httpcore-nio/src/main/java/org/apache/http/impl/nio/SessionHttpContext.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/branches/4.4.x/httpcore-nio/src/main/java/org/apache/http/impl/nio/SessionHttpContext.java?rev=1794174&r1=1794173&r2=1794174&view=diff
==============================================================================
--- httpcomponents/httpcore/branches/4.4.x/httpcore-nio/src/main/java/org/apache/http/impl/nio/SessionHttpContext.java
(original)
+++ httpcomponents/httpcore/branches/4.4.x/httpcore-nio/src/main/java/org/apache/http/impl/nio/SessionHttpContext.java
Sat May  6 19:18:09 2017
@@ -54,4 +54,13 @@ class SessionHttpContext implements Http
         this.iosession.setAttribute(id, obj);
     }
 
+    @Override
+    public String toString() {
+        final StringBuilder sb = new StringBuilder();
+        sb.append("[iosession=");
+        sb.append(iosession);
+        sb.append("]");
+        return sb.toString();
+    }
+
 }



Mime
View raw message