public class RouterHandler
extends org.apache.flink.shaded.netty4.io.netty.handler.codec.http.router.Handler
Handler
that replaces the standard error response to be identical with those
sent by the AbstractRestHandler
.Constructor and Description |
---|
RouterHandler(org.apache.flink.shaded.netty4.io.netty.handler.codec.http.router.Router router,
Map<String,String> responseHeaders) |
Modifier and Type | Method and Description |
---|---|
protected void |
respondNotFound(org.apache.flink.shaded.netty4.io.netty.channel.ChannelHandlerContext ctx,
org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpRequest request) |
group, group, name, routed
channelRead0, router
acceptInboundMessage, channelRead
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
handlerAdded, handlerRemoved, isSharable
protected void respondNotFound(org.apache.flink.shaded.netty4.io.netty.channel.ChannelHandlerContext ctx, org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpRequest request)
respondNotFound
in class org.apache.flink.shaded.netty4.io.netty.handler.codec.http.router.DualAbstractHandler<org.apache.flink.shaded.netty4.io.netty.channel.ChannelInboundHandler,org.apache.flink.shaded.netty4.io.netty.handler.codec.http.router.Router>
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.