@ChannelHandler.Sharable @Internal public class HttpRequestDecoder extends io.netty.handler.codec.MessageToMessageDecoder<io.netty.handler.codec.http.HttpRequest> implements Ordered
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID
Constant for Micronaut http decoder.
|
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
HttpRequestDecoder(EmbeddedServer embeddedServer,
ConversionService<?> conversionService,
HttpServerConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
protected void |
decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.HttpRequest msg,
java.util.List<java.lang.Object> out) |
acceptInboundMessage, channelRead
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
public static final java.lang.String ID
public HttpRequestDecoder(EmbeddedServer embeddedServer, ConversionService<?> conversionService, HttpServerConfiguration configuration)
embeddedServer
- The embedded serviceconversionService
- The conversion serviceconfiguration
- The Http server configuration