Class ExceptionHandling
java.lang.Object
software.xdev.mockserver.exception.ExceptionHandling
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidcloseOnFlush(io.netty.channel.Channel ch) Closes the specified channel after all queued write requests are flushed.static booleanconnectionClosedException(Throwable throwable) returns true is the exception was caused by the connection being closedstatic booleanconnectionException(Throwable throwable) static booleansslHandshakeException(Throwable throwable)
-
Method Details
-
closeOnFlush
public static void closeOnFlush(io.netty.channel.Channel ch) Closes the specified channel after all queued write requests are flushed. -
connectionClosedException
returns true is the exception was caused by the connection being closed -
sslHandshakeException
-
connectionException
-