com.sun.enterprise.web.portunif
Class TlsProtocolFinder
java.lang.Object
com.sun.enterprise.web.portunif.TlsProtocolFinder
- All Implemented Interfaces:
- ProtocolFinder
public class TlsProtocolFinder
- extends Object
- implements ProtocolFinder
ProtocolFinder that will first try to execute an handshake.
If the handshake is succesfull, the https protocol will be assumed. If the
handshake fail, the http protocol will be assumed.
This object shoudn't be called by several threads simultaneously.
- Author:
- Jeanfrancois Arcand
|
Method Summary |
void |
find(ProtocolInfo protocolInfo)
Try to initialize an SSL|TLS handshake to determine if https |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TlsProtocolFinder
public TlsProtocolFinder()
find
public void find(ProtocolInfo protocolInfo)
throws IOException
- Try to initialize an SSL|TLS handshake to determine if https
- Specified by:
find in interface ProtocolFinder
- Throws:
IOException
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.