Package graal.netty.graal
Class HttpContentCompressorSubstitutions.ZstdEncoderFactorySubstitution
java.lang.Object
graal.netty.graal.HttpContentCompressorSubstitutions.ZstdEncoderFactorySubstitution
- Enclosing class:
- HttpContentCompressorSubstitutions
public static final class HttpContentCompressorSubstitutions.ZstdEncoderFactorySubstitution
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected io.netty.buffer.ByteBuf
allocateBuffer
(io.netty.channel.ChannelHandlerContext ctx, io.netty.buffer.ByteBuf msg, boolean preferDirect) protected void
encode
(io.netty.channel.ChannelHandlerContext ctx, io.netty.buffer.ByteBuf in, io.netty.buffer.ByteBuf out) void
flush
(io.netty.channel.ChannelHandlerContext ctx)
-
Constructor Details
-
ZstdEncoderFactorySubstitution
public ZstdEncoderFactorySubstitution()
-
-
Method Details
-
allocateBuffer
protected io.netty.buffer.ByteBuf allocateBuffer(io.netty.channel.ChannelHandlerContext ctx, io.netty.buffer.ByteBuf msg, boolean preferDirect) throws Exception - Throws:
Exception
-
encode
protected void encode(io.netty.channel.ChannelHandlerContext ctx, io.netty.buffer.ByteBuf in, io.netty.buffer.ByteBuf out) -
flush
public void flush(io.netty.channel.ChannelHandlerContext ctx)
-