X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=lib%2Fjetty%2Forg%2Feclipse%2Fjetty%2Fhttp%2FHttpContent.java;h=ba098805406521b8ba649b5e4a01099e5a32612b;hb=0c07a64ca0c633fa1e4c867c4d5d12ef19ac23c2;hp=ebae56d15cb587886cadebf8702d3cde7863e92a;hpb=73ef54a38e3930a1a789cdc6b5fa23cdd4c9d086;p=gigi.git diff --git a/lib/jetty/org/eclipse/jetty/http/HttpContent.java b/lib/jetty/org/eclipse/jetty/http/HttpContent.java index ebae56d1..ba098805 100644 --- a/lib/jetty/org/eclipse/jetty/http/HttpContent.java +++ b/lib/jetty/org/eclipse/jetty/http/HttpContent.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2014 Mort Bay Consulting Pty. Ltd. +// Copyright (c) 1995-2016 Mort Bay Consulting Pty. Ltd. // ------------------------------------------------------------------------ // All rights reserved. This program and the accompanying materials // are made available under the terms of the Eclipse Public License v1.0 @@ -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); + } } }