Class ChannelTransformers

java.lang.Object
io.activej.csp.process.transformer.ChannelTransformers

public class ChannelTransformers extends Object
  • Constructor Details

    • ChannelTransformers

      public ChannelTransformers()
  • Method Details

    • identity

      public static <T> ChannelTransformer<T,T> identity()
    • chunkBytes

      public static ChannelTransformer<io.activej.bytebuf.ByteBuf,io.activej.bytebuf.ByteBuf> chunkBytes(io.activej.common.MemSize minChunkSize, io.activej.common.MemSize maxChunkSize)
    • rangeBytes

      public static ChannelTransformer<io.activej.bytebuf.ByteBuf,io.activej.bytebuf.ByteBuf> rangeBytes(long offset, long length)
    • dropBytes

      public static ChannelTransformer<io.activej.bytebuf.ByteBuf,io.activej.bytebuf.ByteBuf> dropBytes(long toDrop)
    • limitBytes

      public static ChannelTransformer<io.activej.bytebuf.ByteBuf,io.activej.bytebuf.ByteBuf> limitBytes(long limit)