public class SSLEchoClient extends Object
FilterChain based SSL client, which sends a message to
the echo server and waits for response. In this sample we add
a StringFilter to a FilterChain, so there is no need to do
Buffer <-> String transformation explicitly.StringFilter,
SSLFilter,
SSLContextConfigurator,
SSLEngineConfigurator| Constructor and Description |
|---|
SSLEchoClient() |
public static void main(String[] args) throws IOException
IOExceptionCopyright © 2018 Oracle Corporation. All Rights Reserved.