@ChannelHandler.Sharable
public class RuntimeMonitorHandler
extends io.netty.channel.SimpleChannelInboundHandler<io.netty.handler.codec.http.router.Routed>
RequestHandler
.
This handler also deals with setting correct response MIME types and returning
proper codes, like OK, NOT_FOUND, or SERVER_ERROR.Modifier and Type | Field and Description |
---|---|
static String |
WEB_MONITOR_ADDRESS_KEY |
Constructor and Description |
---|
RuntimeMonitorHandler(RequestHandler handler,
JobManagerRetriever retriever,
scala.concurrent.Future<String> localJobManagerAddressFuture,
scala.concurrent.duration.FiniteDuration timeout) |
Modifier and Type | Method and Description |
---|---|
protected void |
channelRead0(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.router.Routed routed) |
acceptInboundMessage, channelRead
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
handlerAdded, handlerRemoved, isSharable
public static final String WEB_MONITOR_ADDRESS_KEY
public RuntimeMonitorHandler(RequestHandler handler, JobManagerRetriever retriever, scala.concurrent.Future<String> localJobManagerAddressFuture, scala.concurrent.duration.FiniteDuration timeout)
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.