Java 7 shipped with asynchronous I/O. Does anyone here know if I can use this to make async calls to a SecureSocket?
Rephrased: If I am using sslContext.getSocketFactory().createSocket("127.0.0.1", 42), then using socket.getOutputStream() and socket.getInputStream() to communicate in a blocking way; what changes would I need to make to access the async functions which would allow me to re-write my code to work asynchronously?