Mercurial > dive4elements > http-client
comparison src/main/java/de/intevation/artifacts/httpclient/http/response/StringResponseHandler.java @ 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 | 0359c4f3b4a1 |
children |
comparison
equal
deleted
inserted
replaced
31:b78c1909c490 | 32:f314a514de5f |
---|---|
20 public class StringResponseHandler extends StreamResponseHandler { | 20 public class StringResponseHandler extends StreamResponseHandler { |
21 | 21 |
22 public StringResponseHandler() { | 22 public StringResponseHandler() { |
23 } | 23 } |
24 | 24 |
25 @Override | |
25 public Object handle(Response response) throws IOException { | 26 public Object handle(Response response) throws IOException { |
26 InputStream in = (InputStream) super.handle(response); | 27 InputStream in = (InputStream) super.handle(response); |
27 OutputStream out = new ByteArrayOutputStream(); | 28 OutputStream out = new ByteArrayOutputStream(); |
28 | 29 |
29 byte[] b = new byte[4096]; | 30 byte[] b = new byte[4096]; |