public class Http11RequestHandler extends Http20RequestHandler
authenticator, cacheOperations, contextChecker, logger, restAccessLoggingHandler, staticContent
Constructor and Description |
---|
Http11RequestHandler(RestServerConfiguration configuration,
EmbeddedCacheManager embeddedCacheManager)
Creates new
Http11RequestHandler . |
Http11RequestHandler(RestServerConfiguration configuration,
EmbeddedCacheManager embeddedCacheManager,
Authenticator authenticator)
Creates new
Http11RequestHandler . |
Modifier and Type | Method and Description |
---|---|
void |
channelRead0(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.FullHttpRequest request) |
protected void |
sendResponse(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.FullHttpRequest request,
io.netty.handler.codec.http.FullHttpResponse response) |
exceptionCaught
acceptInboundMessage, channelRead
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggered
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
public Http11RequestHandler(RestServerConfiguration configuration, EmbeddedCacheManager embeddedCacheManager)
Http11RequestHandler
.configuration
- Rest Server configurationembeddedCacheManager
- Embedded Cache Manager for storing data.public Http11RequestHandler(RestServerConfiguration configuration, EmbeddedCacheManager embeddedCacheManager, Authenticator authenticator)
Http11RequestHandler
.configuration
- Rest Server configurationembeddedCacheManager
- Embedded Cache Manager for storing data.authenticator
- Authenticator.public void channelRead0(io.netty.channel.ChannelHandlerContext ctx, io.netty.handler.codec.http.FullHttpRequest request) throws Exception
channelRead0
in class Http20RequestHandler
Exception
protected void sendResponse(io.netty.channel.ChannelHandlerContext ctx, io.netty.handler.codec.http.FullHttpRequest request, io.netty.handler.codec.http.FullHttpResponse response)
sendResponse
in class Http20RequestHandler
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.