Java io.netty.channel FileRegion fields, constructors, methods, implement or subclass

Example usage for Java io.netty.channel FileRegion fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for io.netty.channel FileRegion.

The text is from its open source code.

Implementation

io.netty.channel.FileRegion has the following implementations.
Click this link to see all its implementation.

Method

longcount()
Returns the number of bytes to transfer.
longposition()
Returns the offset in the file where the transfer began.
intrefCnt()
Returns the reference count of this object.
booleanrelease()
Decreases the reference count by 1 and deallocates this object if the reference count reaches at 0 .
longtransfered()
Returns the bytes which was transferred already.
longtransferTo(WritableByteChannel target, long position)
Transfers the content of this file region to the specified channel.