Top Description Interfaces Classes
[default module]

Package io.netty.handler.stream


Writes very large data stream asynchronously neither spending a lot of memory nor getting java.lang.OutOfMemoryError. For a detailed example, please refer to io.netty.example.http.file.

Interface Summary

Modifier and TypeInterface and Description
public interface
ChunkedInput<B>

A data stream of indefinite length which is consumed by ChunkedWriteHandler.

Class Summary

Modifier and TypeClass and Description
public class
ChunkedFile

A ChunkedInput that fetches data from a file chunk by chunk.

public class
ChunkedNioFile

A ChunkedInput that fetches data from a file chunk by chunk using NIO FileChannel.

public class
ChunkedNioStream

A ChunkedInput that fetches data from a ReadableByteChannel chunk by chunk.

public class
ChunkedStream

A ChunkedInput that fetches data from an InputStream chunk by chunk.

public class
ChunkedWriteHandler

A ChannelHandler that adds support for writing a large data stream asynchronously neither spending a lot of memory nor getting OutOfMemoryError.