org.apache.jmeter.util
Class HttpSSLProtocolSocketFactory
SSLSocketFactory
org.apache.jmeter.util.HttpSSLProtocolSocketFactory
- SecureProtocolSocketFactory
public class HttpSSLProtocolSocketFactory
extends SSLSocketFactory
implements SecureProtocolSocketFactory
Derived from EasySSLProtocolFactory
Used by JsseSSLManager to set up the HttpClient and Java https socket handling
Socket | createSocket()
|
Socket | createSocket(InetAddress host, int port)
|
Socket | createSocket(InetAddress address, int port, InetAddress localAddress, int localPort)
|
Socket | createSocket(Socket socket, String host, int port, boolean autoClose)
|
Socket | createSocket(String host, int port)
|
Socket | createSocket(String host, int port, InetAddress clientHost, int clientPort)
|
Socket | createSocket(String host, int port, InetAddress localAddress, int localPort, HttpConnectionParams params) - Attempts to get a new socket connection to the given host within the given time limit.
|
String[] | getDefaultCipherSuites()
|
String[] | getSupportedCipherSuites()
|
HttpSSLProtocolSocketFactory
public HttpSSLProtocolSocketFactory(JsseSSLManager sslManager)
HttpSSLProtocolSocketFactory
public HttpSSLProtocolSocketFactory(JsseSSLManager sslManager,
int cps)
createSocket
public Socket createSocket()
throws IOException,
UnknownHostException
createSocket
public Socket createSocket(InetAddress host,
int port)
throws IOException
createSocket
public Socket createSocket(InetAddress address,
int port,
InetAddress localAddress,
int localPort)
throws IOException
createSocket
public Socket createSocket(Socket socket,
String host,
int port,
boolean autoClose)
throws IOException,
UnknownHostException
SecureProtocolSocketFactory.createSocket(java.net.Socket,java.lang.String,int,boolean)
createSocket
public Socket createSocket(String host,
int port)
throws IOException,
UnknownHostException
SecureProtocolSocketFactory.createSocket(java.lang.String,int)
createSocket
public Socket createSocket(String host,
int port,
InetAddress clientHost,
int clientPort)
throws IOException,
UnknownHostException
SecureProtocolSocketFactory.createSocket(java.lang.String,int,java.net.InetAddress,int)
createSocket
public Socket createSocket(String host,
int port,
InetAddress localAddress,
int localPort,
HttpConnectionParams params)
throws IOException,
UnknownHostException,
ConnectTimeoutException
Attempts to get a new socket connection to the given host within the given time limit.
host
- the host name/IPport
- the port on the hostlocalAddress
- the local host name/IP to bind the socket tolocalPort
- the port on the local machineparams
- Http connection parameters
getDefaultCipherSuites
public String[] getDefaultCipherSuites()
getSupportedCipherSuites
public String[] getSupportedCipherSuites()
Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.