Package io.undertow.util
Class ClosingChannelExceptionHandler<T extends java.nio.channels.Channel>
- java.lang.Object
-
- io.undertow.util.ClosingChannelExceptionHandler<T>
-
- All Implemented Interfaces:
java.util.EventListener
,org.xnio.ChannelExceptionHandler<T>
public class ClosingChannelExceptionHandler<T extends java.nio.channels.Channel> extends java.lang.Object implements org.xnio.ChannelExceptionHandler<T>
Channel exception handler that closes the channel, logs a debug level message and closes arbitrary other resources.- Author:
- Stuart Douglas
-
-
Constructor Summary
Constructors Constructor Description ClosingChannelExceptionHandler(java.io.Closeable... closable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleException(T t, java.io.IOException e)
-