@ChannelHandler.Sharable
public class RestEasyHttpRequestDecoder
extends io.netty.handler.codec.MessageToMessageDecoder<io.netty.handler.codec.http.HttpRequest>
MessageToMessageDecoder
is responsible for decode HttpRequest
to NettyHttpRequest
's
This implementation is ChannelHandler.Sharable
Modifier and Type | Class and Description |
---|---|
static class |
RestEasyHttpRequestDecoder.Protocol |
Constructor and Description |
---|
RestEasyHttpRequestDecoder(SynchronousDispatcher dispatcher,
String servletMappingPrefix,
RestEasyHttpRequestDecoder.Protocol protocol) |
Modifier and Type | Method and Description |
---|---|
protected void |
decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.HttpRequest request,
List<Object> out) |
acceptInboundMessage, channelRead
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
public RestEasyHttpRequestDecoder(SynchronousDispatcher dispatcher, String servletMappingPrefix, RestEasyHttpRequestDecoder.Protocol protocol)
Copyright © 2021 JBoss by Red Hat. All rights reserved.