org.glassfish.grizzly.samples.ssl
Class SSLEchoClient

java.lang.Object
  extended by org.glassfish.grizzly.samples.ssl.SSLEchoClient

public class SSLEchoClient
extends Object

The simple 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.

Author:
Alexey Stashok
See Also:
StringFilter, SSLFilter, SSLContextConfigurator, SSLEngineConfigurator

Constructor Summary
SSLEchoClient()
           
 
Method Summary
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSLEchoClient

public SSLEchoClient()
Method Detail

main

public static void main(String[] args)
                 throws IOException
Throws:
IOException


Copyright © 2013 Oracle Corporation. All Rights Reserved.