Mercurial > dive4elements > http-client
changeset 32:f314a514de5f
Added some Override annotations.
http-client/trunk@4273 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Thu, 19 Apr 2012 08:58:07 +0000 |
parents | b78c1909c490 |
children | 0d5ec0f2e6b5 |
files | ChangeLog src/main/java/de/intevation/artifacts/httpclient/http/response/DocumentResponseHandler.java src/main/java/de/intevation/artifacts/httpclient/http/response/StreamResponseHandler.java src/main/java/de/intevation/artifacts/httpclient/http/response/StringResponseHandler.java |
diffstat | 4 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Fri Mar 16 07:32:18 2012 +0000 +++ b/ChangeLog Thu Apr 19 08:58:07 2012 +0000 @@ -1,3 +1,10 @@ +2012-04-16 Ingo Weinzierl <ingo@intevation.de> + + * src/main/java/de/intevation/artifacts/httpclient/http/response/StringResponseHandler.java, + src/main/java/de/intevation/artifacts/httpclient/http/response/StreamResponseHandler.java, + src/main/java/de/intevation/artifacts/httpclient/http/response/DocumentResponseHandler.java: + Added Override annotations. + 2011-09-19 Ingo Weinzierl <ingo@intevation.de> Tagged pre2.7-2012-03-16
--- a/src/main/java/de/intevation/artifacts/httpclient/http/response/DocumentResponseHandler.java Fri Mar 16 07:32:18 2012 +0000 +++ b/src/main/java/de/intevation/artifacts/httpclient/http/response/DocumentResponseHandler.java Thu Apr 19 08:58:07 2012 +0000 @@ -23,6 +23,7 @@ public DocumentResponseHandler() { } + @Override public Object handle(Response response) throws IOException { Representation output = response.getEntity(); return XMLUtils.readDocument(output.getStream());
--- a/src/main/java/de/intevation/artifacts/httpclient/http/response/StreamResponseHandler.java Fri Mar 16 07:32:18 2012 +0000 +++ b/src/main/java/de/intevation/artifacts/httpclient/http/response/StreamResponseHandler.java Thu Apr 19 08:58:07 2012 +0000 @@ -21,6 +21,7 @@ public StreamResponseHandler() { } + @Override public Object handle(Response response) throws IOException { Representation output = response.getEntity(); return output.getStream();
--- a/src/main/java/de/intevation/artifacts/httpclient/http/response/StringResponseHandler.java Fri Mar 16 07:32:18 2012 +0000 +++ b/src/main/java/de/intevation/artifacts/httpclient/http/response/StringResponseHandler.java Thu Apr 19 08:58:07 2012 +0000 @@ -22,6 +22,7 @@ public StringResponseHandler() { } + @Override public Object handle(Response response) throws IOException { InputStream in = (InputStream) super.handle(response); OutputStream out = new ByteArrayOutputStream();