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/05/06 19:18:09 UTC
svn commit: r1794174 -
/httpcomponents/httpcore/branches/4.4.x/httpcore-nio/src/main/java/org/apache/http/impl/nio/SessionHttpContext.java
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();
+ }
+
}