Class ChannelWrapper


  • public class ChannelWrapper
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.nio.channels.ReadableByteChannel createReader​(com.google.cloud.storage.Blob blob)  
      java.nio.channels.WritableByteChannel createWriter​(com.google.cloud.storage.Blob blob)  
      <T extends java.nio.channels.Channel>
      T
      newChannelProxy​(java.lang.Class<T> intf, T channel)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ChannelWrapper

        @Inject
        public ChannelWrapper​(javax.inject.Provider<ChannelInvocationHandler> invocHandlerProvider)
    • Method Detail

      • createReader

        public java.nio.channels.ReadableByteChannel createReader​(com.google.cloud.storage.Blob blob)
      • createWriter

        public java.nio.channels.WritableByteChannel createWriter​(com.google.cloud.storage.Blob blob)
      • newChannelProxy

        public <T extends java.nio.channels.Channel> T newChannelProxy​(java.lang.Class<T> intf,
                                                                       T channel)