Class HttpsClientTransport
- java.lang.Object
-
- org.apache.activemq.util.ServiceSupport
-
- org.apache.activemq.transport.TransportSupport
-
- org.apache.activemq.transport.TransportThreadSupport
-
- org.apache.activemq.transport.http.HttpTransportSupport
-
- org.apache.activemq.transport.http.HttpClientTransport
-
- org.apache.activemq.transport.https.HttpsClientTransport
-
public class HttpsClientTransport extends HttpClientTransport
-
-
Field Summary
-
Fields inherited from class org.apache.activemq.transport.http.HttpClientTransport
canSendCompressed, MAX_CLIENT_TIMEOUT
-
-
Constructor Summary
Constructors Constructor Description HttpsClientTransport(TextWireFormat wireFormat, URI remoteUrl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.http.conn.HttpClientConnectionManager
createClientConnectionManager()
protected SSLSocketFactory
createSocketFactory()
Creates a new SSL SocketFactory.protected String
getSystemPropertyPrefix()
Boolean
getVerifyHostName()
void
setVerifyHostName(Boolean verifyHostName)
-
Methods inherited from class org.apache.activemq.transport.http.HttpClientTransport
asyncRequest, configureMethod, createHttpClient, doStart, doStop, getMinSendAsCompressedSize, getPeerCertificates, getReceiveCounter, getReceiveHttpClient, getSendHttpClient, getSoTimeout, getWireFormat, isTrace, isUseCompression, oneway, request, run, setMinSendAsCompressedSize, setPeerCertificates, setReceiveHttpClient, setSendHttpClient, setSoTimeout, setTrace, setUseCompression
-
Methods inherited from class org.apache.activemq.transport.http.HttpTransportSupport
getProxyHost, getProxyPassword, getProxyPort, getProxyUser, getRemoteAddress, getRemoteUrl, getTextWireFormat, setProxyHost, setProxyPassword, setProxyPort, setProxyUser, setTextWireFormat, toString
-
Methods inherited from class org.apache.activemq.transport.TransportThreadSupport
getStackSize, isDaemon, setDaemon, setStackSize
-
Methods inherited from class org.apache.activemq.transport.TransportSupport
asyncRequest, checkStarted, doConsume, getTransportListener, isConnected, isDisposed, isFaultTolerant, isReconnectSupported, isUpdateURIsSupported, narrow, onException, reconnect, request, setTransportListener, updateURIs
-
Methods inherited from class org.apache.activemq.util.ServiceSupport
addServiceListener, dispose, isStarted, isStopped, isStopping, postStop, preStart, removeServiceListener, start, stop
-
-
-
-
Constructor Detail
-
HttpsClientTransport
public HttpsClientTransport(TextWireFormat wireFormat, URI remoteUrl)
-
-
Method Detail
-
createClientConnectionManager
protected org.apache.http.conn.HttpClientConnectionManager createClientConnectionManager()
- Overrides:
createClientConnectionManager
in classHttpClientTransport
-
createSocketFactory
protected SSLSocketFactory createSocketFactory() throws IOException
Creates a new SSL SocketFactory. The given factory will use user-provided key and trust managers (if the user provided them).- Returns:
- Newly created (Ssl)SocketFactory.
- Throws:
IOException
-
getSystemPropertyPrefix
protected String getSystemPropertyPrefix()
- Overrides:
getSystemPropertyPrefix
in classHttpClientTransport
-
getVerifyHostName
public Boolean getVerifyHostName()
-
setVerifyHostName
public void setVerifyHostName(Boolean verifyHostName)
-
-