public class CustomSocketFactory extends SSLSocketFactory
| 限定符 | 构造器和说明 |
|---|---|
|
CustomSocketFactory()
Required for reflection.
|
protected |
CustomSocketFactory(SSLSocketFactory factory)
For internal use only.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
configure()
Configures this SSLSocketFactory so that it trusts any signer.
|
static void |
configure(String path,
String password)
Configures this SSLSocketFactory so that it uses the given keystore as its truststore.
|
Socket |
createSocket(InetAddress host,
int port) |
Socket |
createSocket(InetAddress host,
int port,
InetAddress client_host,
int client_port) |
Socket |
createSocket(Socket socket,
String host,
int port,
boolean autoclose) |
Socket |
createSocket(String host,
int port) |
Socket |
createSocket(String host,
int port,
InetAddress client_host,
int client_port) |
static CustomSocketFactory |
getDefault() |
String[] |
getDefaultCipherSuites() |
String[] |
getSupportedCipherSuites() |
createSocketcreateSocketpublic CustomSocketFactory()
protected CustomSocketFactory(SSLSocketFactory factory)
public static CustomSocketFactory getDefault()
public static void configure(String path, String password) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic static void configure()
public Socket createSocket(String host, int port) throws IOException, UnknownHostException
createSocket 在类中 SocketFactoryIOExceptionUnknownHostExceptionpublic Socket createSocket(String host, int port, InetAddress client_host, int client_port) throws IOException, UnknownHostException
createSocket 在类中 SocketFactoryIOExceptionUnknownHostExceptionpublic Socket createSocket(InetAddress host, int port) throws IOException, UnknownHostException
createSocket 在类中 SocketFactoryIOExceptionUnknownHostExceptionpublic Socket createSocket(InetAddress host, int port, InetAddress client_host, int client_port) throws IOException, UnknownHostException
createSocket 在类中 SocketFactoryIOExceptionUnknownHostExceptionpublic Socket createSocket(Socket socket, String host, int port, boolean autoclose) throws IOException, UnknownHostException
createSocket 在类中 SSLSocketFactoryIOExceptionUnknownHostExceptionpublic String[] getDefaultCipherSuites()
getDefaultCipherSuites 在类中 SSLSocketFactorypublic String[] getSupportedCipherSuites()
getSupportedCipherSuites 在类中 SSLSocketFactoryCopyright © 2024 Hitachi Vantara. All rights reserved.