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
-
- All Implemented Interfaces:
Runnable,org.apache.activemq.Service,org.apache.activemq.transport.Transport
- Direct Known Subclasses:
HttpClientTransport
public abstract class HttpTransportSupport extends org.apache.activemq.transport.TransportThreadSupportA 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 StringgetNonProxyHosts()StringgetProxyHost()StringgetProxyPassword()intgetProxyPort()StringgetProxyUser()StringgetRemoteAddress()URIgetRemoteUrl()protected abstract StringgetSystemPropertyPrefix()TextWireFormatgetTextWireFormat()voidsetNonProxyHosts(String nonProxyHosts)voidsetProxyHost(String proxyHost)voidsetProxyPassword(String proxyPassword)voidsetProxyPort(int proxyPort)voidsetProxyUser(String proxyUser)voidsetTextWireFormat(TextWireFormat textWireFormat)StringtoString()-
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
-
-
-
-
Constructor Detail
-
HttpTransportSupport
public HttpTransportSupport(TextWireFormat textWireFormat, URI remoteUrl)
-
-
Method Detail
-
getRemoteAddress
public String getRemoteAddress()
-
getRemoteUrl
public URI getRemoteUrl()
-
getTextWireFormat
public TextWireFormat getTextWireFormat()
-
setTextWireFormat
public void setTextWireFormat(TextWireFormat textWireFormat)
-
getProxyHost
public String getProxyHost()
-
setProxyHost
public void setProxyHost(String proxyHost)
-
getNonProxyHosts
public String getNonProxyHosts()
-
setNonProxyHosts
public void setNonProxyHosts(String nonProxyHosts)
-
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()
-
-