public class ConnectionUtils extends Object
|Modifier and Type||Method and Description|
| || |
Cleanly close a connection, by shutting down and flushing writes and then draining reads.
public static void cleanClose(org.xnio.StreamConnection connection, Closeable... additional)
connection- The connection
additional- Any additional resources to close once the connection has been closed
Copyright © 2018 JBoss by Red Hat. All rights reserved.