Class HttpTransportSupport
- java.lang.Object
-
- org.apache.activemq.util.ServiceSupport
-
- org.apache.activemq.transport.TransportSupport
-
- org.apache.activemq.transport.TransportThreadSupport
-
- org.apache.activemq.transport.http.HttpTransportSupport
-
- Direct Known Subclasses:
HttpClientTransport
public abstract class HttpTransportSupport extends TransportThreadSupport
A useful base class for HTTP Transport implementations.
-
-
Constructor Summary
Constructors Constructor Description HttpTransportSupport(TextWireFormat textWireFormat, URI remoteUrl)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description String
getProxyHost()
String
getProxyPassword()
int
getProxyPort()
String
getProxyUser()
String
getRemoteAddress()
URI
getRemoteUrl()
protected abstract String
getSystemPropertyPrefix()
TextWireFormat
getTextWireFormat()
void
setProxyHost(String proxyHost)
void
setProxyPassword(String proxyPassword)
void
setProxyPort(int proxyPort)
void
setProxyUser(String proxyUser)
void
setTextWireFormat(TextWireFormat textWireFormat)
String
toString()
-
Methods inherited from class org.apache.activemq.transport.TransportThreadSupport
doStart, 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, request, setTransportListener, updateURIs
-
Methods inherited from class org.apache.activemq.util.ServiceSupport
addServiceListener, dispose, doStop, isStarted, isStopped, isStopping, postStop, preStart, removeServiceListener, start, stop
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.activemq.transport.Transport
getPeerCertificates, getReceiveCounter, getWireFormat, oneway, setPeerCertificates
-
-
-
-
Constructor Detail
-
HttpTransportSupport
public HttpTransportSupport(TextWireFormat textWireFormat, URI remoteUrl)
-
-
Method Detail
-
getRemoteAddress
public String getRemoteAddress()
- Returns:
- the remote address for this connection
-
getRemoteUrl
public URI getRemoteUrl()
-
getTextWireFormat
public TextWireFormat getTextWireFormat()
-
setTextWireFormat
public void setTextWireFormat(TextWireFormat textWireFormat)
-
getProxyHost
public String getProxyHost()
-
setProxyHost
public void setProxyHost(String proxyHost)
-
getProxyPort
public int getProxyPort()
-
setProxyPort
public void setProxyPort(int proxyPort)
-
getProxyUser
public String getProxyUser()
-
setProxyUser
public void setProxyUser(String proxyUser)
-
getProxyPassword
public String getProxyPassword()
-
setProxyPassword
public void setProxyPassword(String proxyPassword)
-
getSystemPropertyPrefix
protected abstract String getSystemPropertyPrefix()
-
-