mateilles718 / google-api-java-client

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

Support NIO channels within google-api-java-client #925

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
External references, such as a standards document, or specification?
http://docs.oracle.com/javase/1.5.0/docs/api/java/nio/package-summary.html

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

Please add support for NIO channels within google-api-java-client. I have code 
which uses Channels and the additional overhead to move bytes into and out of 
ByteBuffers has a negative performance impact. I use this specifically to 
upload and download files from Google Cloud Storage.

Another user on StackOverflow was interested in whether this was available for 
HttpTransport as well:
http://stackoverflow.com/questions/23841713/non-blocking-implementation-of-the-g
oogle-api-clients-httptransport

Original issue reported on code.google.com by lc...@google.com on 23 Apr 2015 at 8:14