@ChannelHandler.Sharable public class DashboardWebSocketServerHandler extends io.netty.channel.ChannelInboundHandlerAdapter implements MockServerLogListener, MockServerMatcherListener
Constructor and Description |
---|
DashboardWebSocketServerHandler(HttpStateHandler httpStateHandler) |
Modifier and Type | Method and Description |
---|---|
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) |
void |
updated(MockServerEventLog mockServerLog) |
void |
updated(MockServerMatcher mockServerMatcher) |
channelActive, channelInactive, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggered
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
public DashboardWebSocketServerHandler(HttpStateHandler httpStateHandler)
public void channelRead(io.netty.channel.ChannelHandlerContext ctx, Object msg) throws Exception
channelRead
in interface io.netty.channel.ChannelInboundHandler
channelRead
in class io.netty.channel.ChannelInboundHandlerAdapter
Exception
public void channelReadComplete(io.netty.channel.ChannelHandlerContext ctx)
channelReadComplete
in interface io.netty.channel.ChannelInboundHandler
channelReadComplete
in class io.netty.channel.ChannelInboundHandlerAdapter
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 updated(MockServerEventLog mockServerLog)
updated
in interface MockServerLogListener
public void updated(MockServerMatcher mockServerMatcher)
updated
in interface MockServerMatcherListener
Copyright © 2018. All rights reserved.