@ChannelHandler.Sharable public class DashboardWebSocketHandler extends io.netty.channel.ChannelInboundHandlerAdapter implements MockServerLogListener, MockServerMatcherListener
Constructor and Description |
---|
DashboardWebSocketHandler(HttpState httpState,
boolean sslEnabledUpstream,
boolean prettyPrint) |
Modifier and Type | Method and Description |
---|---|
void |
channelInactive(io.netty.channel.ChannelHandlerContext ctx) |
void |
channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg) |
void |
channelReadComplete(io.netty.channel.ChannelHandlerContext ctx) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
Map<io.netty.channel.ChannelOutboundInvoker,HttpRequest> |
getClientRegistry() |
void |
handlerAdded(io.netty.channel.ChannelHandlerContext ctx) |
void |
handlerRemoved(io.netty.channel.ChannelHandlerContext ctx) |
protected DashboardWebSocketHandler |
registerListeners() |
void |
updated(MockServerEventLog mockServerLog) |
void |
updated(RequestMatchers requestMatchers,
MockServerMatcherNotifier.Cause cause) |
public DashboardWebSocketHandler(HttpState httpState, boolean sslEnabledUpstream, boolean prettyPrint)
public Map<io.netty.channel.ChannelOutboundInvoker,HttpRequest> getClientRegistry()
public void handlerAdded(io.netty.channel.ChannelHandlerContext ctx)
handlerAdded
in interface io.netty.channel.ChannelHandler
handlerAdded
in class io.netty.channel.ChannelHandlerAdapter
public void handlerRemoved(io.netty.channel.ChannelHandlerContext ctx)
handlerRemoved
in interface io.netty.channel.ChannelHandler
handlerRemoved
in class io.netty.channel.ChannelHandlerAdapter
public void channelRead(io.netty.channel.ChannelHandlerContext ctx, Object msg)
channelRead
in interface io.netty.channel.ChannelInboundHandler
channelRead
in class io.netty.channel.ChannelInboundHandlerAdapter
public void channelReadComplete(io.netty.channel.ChannelHandlerContext ctx)
channelReadComplete
in interface io.netty.channel.ChannelInboundHandler
channelReadComplete
in class io.netty.channel.ChannelInboundHandlerAdapter
protected DashboardWebSocketHandler registerListeners()
public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable cause)
exceptionCaught
in interface io.netty.channel.ChannelHandler
exceptionCaught
in interface io.netty.channel.ChannelInboundHandler
exceptionCaught
in class io.netty.channel.ChannelInboundHandlerAdapter
public void channelInactive(io.netty.channel.ChannelHandlerContext ctx)
channelInactive
in interface io.netty.channel.ChannelInboundHandler
channelInactive
in class io.netty.channel.ChannelInboundHandlerAdapter
public void updated(MockServerEventLog mockServerLog)
updated
in interface MockServerLogListener
public void updated(RequestMatchers requestMatchers, MockServerMatcherNotifier.Cause cause)
updated
in interface MockServerMatcherListener
Copyright © 2022. All rights reserved.