artiya4u / google-http-java-client

Automatically exported from code.google.com/p/google-http-java-client
0 stars 0 forks source link

HttpResponse.parseAs() accepts Void.class to ignore #110

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
External references, such as a standards document, or specification?

http://javadoc.google-http-java-client.googlecode.com/hg/1.8.3-beta/com/google/a
pi/client/http/HttpParser.html#parse(com.google.api.client.http.HttpResponse, 
java.lang.Class)

http://javadoc.google-http-java-client.googlecode.com/hg/1.8.3-beta/com/google/a
pi/client/http/HttpResponse.html#ignore()

Java environments (e.g. Java 6, Android 2.3, App Engine, or All)?

All

Please describe the feature requested.

Void.class may be a convenient way to say that you want to ignore the result.  
It would behave equivalent to calling HttpResponse.ignore().  But the nice 
thing is that then you are always following the same code path.

Original issue reported on code.google.com by yan...@google.com on 10 May 2012 at 8:01

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 30 May 2012 at 10:05

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 14 Jul 2012 at 11:34

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 2 Aug 2012 at 2:30

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 8 Oct 2012 at 7:16

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 24 Oct 2012 at 5:37

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 1 Dec 2012 at 5:30

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 9 Jan 2013 at 2:49

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 24 Jan 2013 at 1:48

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 4 Feb 2013 at 12:40

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 5 Feb 2013 at 4:49

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 25 Mar 2013 at 7:36

GoogleCodeExporter commented 9 years ago
https://codereview.appspot.com/8772044/

Original comment by yan...@google.com on 15 Apr 2013 at 7:41

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 17 Apr 2013 at 3:40