public static class

NettyAsyncHttpProvider.OptimizedFileRegion

extends Object
implements FileRegion
java.lang.Object
   ↳ com.ning.http.client.providers.netty.NettyAsyncHttpProvider.OptimizedFileRegion

Summary

Public Constructors
NettyAsyncHttpProvider.OptimizedFileRegion(RandomAccessFile raf, long position, long count)
Public Methods
long getCount()
long getPosition()
void releaseExternalResources()
long transferTo(WritableByteChannel target, long position)
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.jboss.netty.channel.FileRegion
From interface org.jboss.netty.util.ExternalResourceReleasable

Public Constructors

public NettyAsyncHttpProvider.OptimizedFileRegion (RandomAccessFile raf, long position, long count)

Public Methods

public long getCount ()

public long getPosition ()

public void releaseExternalResources ()

public long transferTo (WritableByteChannel target, long position)

Throws
IOException