summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2010-10-12 23:37:27 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2010-10-12 23:37:27 +0000
commit2eeffbc03e7bd621d4381190d2ad2383c399c51f (patch)
tree503f8e5d636b15e56dd5c598e4317b1be6c6c282
parentf3dc86430a464967caef5487931665c716281b68 (diff)
Instrummenting HTTP Headers to add toString()
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1021951 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--sca-java-2.x/trunk/modules/common-http/src/main/java/org/apache/tuscany/sca/common/http/HTTPHeader.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/modules/common-http/src/main/java/org/apache/tuscany/sca/common/http/HTTPHeader.java b/sca-java-2.x/trunk/modules/common-http/src/main/java/org/apache/tuscany/sca/common/http/HTTPHeader.java
index 40691dfd7f..63f62d1e5c 100644
--- a/sca-java-2.x/trunk/modules/common-http/src/main/java/org/apache/tuscany/sca/common/http/HTTPHeader.java
+++ b/sca-java-2.x/trunk/modules/common-http/src/main/java/org/apache/tuscany/sca/common/http/HTTPHeader.java
@@ -70,4 +70,9 @@ public class HTTPHeader {
public void setValue(String value) {
this.value = value;
}
+
+ @Override
+ public String toString() {
+ return "HTTPHeader [name=" + name + ", value=" + value + "]";
+ }
}