Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Wilkins2014-08-13 05:55:19 +0000
committerGreg Wilkins2014-08-13 05:56:02 +0000
commit2af613a28b1ea51e5aca5cb9ffe3989147749568 (patch)
tree2a836396c8e86a71b65411b9f2c40fc5c30d54a1 /jetty-http
parent9a848e3425cb6357038beb3f6f4888fea5c12385 (diff)
downloadorg.eclipse.jetty.project-2af613a28b1ea51e5aca5cb9ffe3989147749568.tar.gz
org.eclipse.jetty.project-2af613a28b1ea51e5aca5cb9ffe3989147749568.tar.xz
org.eclipse.jetty.project-2af613a28b1ea51e5aca5cb9ffe3989147749568.zip
improved debugging output
Diffstat (limited to 'jetty-http')
-rw-r--r--jetty-http/src/main/java/org/eclipse/jetty/http/HttpContent.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpContent.java b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpContent.java
index ebae56d15c..1554f443ab 100644
--- a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpContent.java
+++ b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpContent.java
@@ -168,5 +168,11 @@ public interface HttpContent
{
_resource.close();
}
+
+ @Override
+ public String toString()
+ {
+ return String.format("%s@%x{r=%s}",this.getClass().getSimpleName(),hashCode(),_resource);
+ }
}
}

Back to the top