Example usage for io.netty.handler.stream ChunkedInput interface-usage

List of usage examples for io.netty.handler.stream ChunkedInput interface-usage

Introduction

In this page you can find the example usage for io.netty.handler.stream ChunkedInput interface-usage.

Usage

From source file com.liferay.sync.engine.lan.server.file.SyncChunkedFile.java

/**
 * @author Dennis Ju
 */
public class SyncChunkedFile implements ChunkedInput<ByteBuf> {

    public SyncChunkedFile(Path path, long length, int chunkSize, long modifiedTime) throws IOException {

From source file com.minetats.mw.NamedPipe.java

public class NamedPipe implements ChunkedInput<ByteBuf> {

    private RandomAccessFile file;
    private int chunkSize;
    private boolean endOfInput;
    private int chunks;

From source file com.ning.http.client.providers.netty_4.BodyChunkedInput.java

/**
 * Adapts a {@link Body} to Netty's {@link ChunkedInput}.
 */
class BodyChunkedInput implements ChunkedInput<ByteBuf> {

    private final Body body;

From source file divconq.http.multipart.HttpPostRequestEncoder.java

/**
 * This encoder will help to encode Request for a FORM as POST.
 */
public class HttpPostRequestEncoder implements ChunkedInput<HttpContent> {

    /**

From source file io.gatling.http.client.body.multipart.impl.MultipartChunkedInput.java

public class MultipartChunkedInput implements ChunkedInput<ByteBuf> {

    private enum ChunkedInputState {

        /**
         * There's something to read

From source file io.werval.server.netty.HttpChunkedBodyEncoder.java

/**
 * Encode a ChunkedInput&lt;ByteBuf&gt; into HTTP chunks.
 */
public class HttpChunkedBodyEncoder implements ChunkedInput<HttpContent> {
    private final ChunkedInput<ByteBuf> chunkedBody;
    private boolean isLastChunk = false;

From source file org.apache.flink.runtime.query.netty.ChunkedByteBuf.java

/**
 * A {@link ByteBuf} instance to be consumed in chunks by {@link ChunkedWriteHandler},
 * respecting the high and low watermarks.
 *
 * @see <a href="http://normanmaurer.me/presentations/2014-facebook-eng-netty/slides.html#10.0">Low/High Watermarks</a>
 */

From source file org.asynchttpclient.netty.request.body.BodyChunkedInput.java

/**
 * Adapts a {@link Body} to Netty's {@link ChunkedInput}.
 */
public class BodyChunkedInput implements ChunkedInput<ByteBuf> {

    public static final int DEFAULT_CHUNK_SIZE = 8 * 1024;

From source file org.asynchttpclient.providers.netty.request.body.BodyChunkedInput.java

/**
 * Adapts a {@link Body} to Netty's {@link ChunkedInput}.
 */
public class BodyChunkedInput implements ChunkedInput<ByteBuf> {

    private static final int DEFAULT_CHUNK_SIZE = 8 * 1024;

From source file org.asynchttpclient.providers.netty.request.BodyChunkedInput.java

/**
 * Adapts a {@link Body} to Netty's {@link ChunkedInput}.
 */
class BodyChunkedInput implements ChunkedInput<ByteBuf> {

    private static final int DEFAULT_CHUNK_SIZE = 8 * 1024;