public class MailSocketFactory extends SSLSocketFactory
| 构造器和说明 |
|---|
MailSocketFactory() |
| 限定符和类型 | 方法和说明 |
|---|---|
Socket |
createSocket() |
Socket |
createSocket(InetAddress inaddr,
int i) |
Socket |
createSocket(InetAddress inetAddress,
int i,
InetAddress inaddr1,
int j) |
Socket |
createSocket(Socket socket,
String s,
int i,
boolean flag) |
Socket |
createSocket(String s,
int i) |
Socket |
createSocket(String s,
int i,
InetAddress inaddr,
int j) |
static SocketFactory |
getDefault() |
String[] |
getDefaultCipherSuites() |
String[] |
getSupportedCipherSuites() |
createSocketpublic static SocketFactory getDefault()
public Socket createSocket() throws IOException
createSocket 在类中 SocketFactoryIOExceptionpublic Socket createSocket(Socket socket, String s, int i, boolean flag) throws IOException
createSocket 在类中 SSLSocketFactoryIOExceptionpublic Socket createSocket(InetAddress inetAddress, int i, InetAddress inaddr1, int j) throws IOException
createSocket 在类中 SocketFactoryIOExceptionpublic Socket createSocket(InetAddress inaddr, int i) throws IOException
createSocket 在类中 SocketFactoryIOExceptionpublic Socket createSocket(String s, int i, InetAddress inaddr, int j) throws IOException
createSocket 在类中 SocketFactoryIOExceptionpublic Socket createSocket(String s, int i) throws IOException
createSocket 在类中 SocketFactoryIOExceptionpublic String[] getDefaultCipherSuites()
getDefaultCipherSuites 在类中 SSLSocketFactorypublic String[] getSupportedCipherSuites()
getSupportedCipherSuites 在类中 SSLSocketFactoryCopyright © 2024. All rights reserved.