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, routedchannelRead0, routeracceptInboundMessage, channelReadchannelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredhandlerAdded, handlerRemoved, isSharableprotected 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–2018 The Apache Software Foundation. All rights reserved.