Mercurial > dive4elements > http-client
comparison src/main/java/de/intevation/artifacts/httpclient/http/response/StreamResponseHandler.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 | a1db30b33f43 |
children |
comparison
equal
deleted
inserted
replaced
31:b78c1909c490 | 32:f314a514de5f |
---|---|
19 public class StreamResponseHandler implements ResponseHandler { | 19 public class StreamResponseHandler implements ResponseHandler { |
20 | 20 |
21 public StreamResponseHandler() { | 21 public StreamResponseHandler() { |
22 } | 22 } |
23 | 23 |
24 @Override | |
24 public Object handle(Response response) throws IOException { | 25 public Object handle(Response response) throws IOException { |
25 Representation output = response.getEntity(); | 26 Representation output = response.getEntity(); |
26 return output.getStream(); | 27 return output.getStream(); |
27 } | 28 } |
28 } | 29 } |