Package io.undertow.util
Class IoUtils
java.lang.Object
io.undertow.util.IoUtils
General I/O utility methods.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
IoUtils
public IoUtils()
-
-
Method Details
-
safeClose
Close a series of resources, logging errors if they occur.- Parameters:
resources- the resources to close
-
safeClose
Close a resource, logging an error if an error occurs.- Parameters:
resource- the resource to close
-