当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 jaxrpc API Documentation 英文版文档
JSSESocketFactory (JAXRPC API) - JBoss 4.0.1 sp1 jaxrpc API Documentation 英文版文档
org.apache.axis.components.net
Class JSSESocketFactory
java.lang.Object
org.apache.axis.components.net.DefaultSocketFactory
org.apache.axis.components.net.JSSESocketFactory
- All Implemented Interfaces:
- SecureSocketFactory, SocketFactory
- Direct Known Subclasses:
- SunJSSESocketFactory
- public class JSSESocketFactory
- extends DefaultSocketFactory
- implements SecureSocketFactory
SSL socket factory. It _requires_ a valid RSA key and
JSSE. (borrowed code from tomcat)
THIS CODE STILL HAS DEPENDENCIES ON sun.* and com.sun.*
- Author:
- Davanum Srinivas (dims@yahoo.com)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sslFactory
protected SSLSocketFactory sslFactory
- Field sslFactory
JSSESocketFactory
public JSSESocketFactory(Hashtable attributes)
- Constructor JSSESocketFactory
- Parameters:
attributes
-
initFactory
protected void initFactory()
throws IOException
- Initialize the SSLSocketFactory
- Throws:
IOException
create
public Socket create(String host,
int port,
StringBuffer otherHeaders,
BooleanHolder useFullURL)
throws Exception
- creates a secure socket
- Specified by:
create
in interface SocketFactory
- Overrides:
create
in class DefaultSocketFactory
- Parameters:
host
- port
- otherHeaders
- useFullURL
-
- Returns:
- Socket
- Throws:
Exception
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.