List of usage examples for io.netty.channel FileRegion interface-usage
From source file org.asynchttpclient.providers.netty4.BodyFileRegion.java
/** * Adapts a {@link RandomAccessBody} to Netty's {@link FileRegion}. */ class BodyFileRegion extends AbstractReferenceCounted implements FileRegion { private final RandomAccessBody body;
From source file org.asynchttpclient.providers.netty4.request.body.BodyFileRegion.java
/** * Adapts a {@link RandomAccessBody} to Netty's {@link FileRegion}. */ public class BodyFileRegion extends AbstractReferenceCounted implements FileRegion { private final RandomAccessBody body;
From source file org.asynchttpclient.providers.netty_4.BodyFileRegion.java
/** * Adapts a {@link RandomAccessBody} to Netty's {@link FileRegion}. */ class BodyFileRegion extends AbstractReferenceCounted implements FileRegion { private final RandomAccessBody body;
From source file org.base.netty.http.buffer.MessageWithHeader.java
/** * A wrapper message that holds two separate pieces (a header and a body). * * The header must be a ByteBuf, while the body can be a ByteBuf or a FileRegion. */ class MessageWithHeader extends AbstractReferenceCounted implements FileRegion {
From source file org.scache.network.protocol.MessageWithHeader.java
/** * A wrapper message that holds two separate pieces (a header and a body). * * The header must be a ByteBuf, while the body can be a ByteBuf or a FileRegion. */ class MessageWithHeader extends AbstractReferenceCounted implements FileRegion {
From source file qunar.tc.qmq.store.DataTransfer.java
/** * @author keli.wang * @since 2017/7/6 */ public class DataTransfer implements FileRegion { private final ByteBuf headerBuffer;