org.apache.activemq.transport.http
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, Service, Transport
- Direct Known Subclasses:
- HttpClientTransport
public abstract class HttpTransportSupport
- extends TransportThreadSupport
A useful base class for HTTP Transport implementations.
| 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 interface java.lang.Runnable |
run |
HttpTransportSupport
public HttpTransportSupport(TextWireFormat textWireFormat,
URI remoteUrl)
toString
public String toString()
- Overrides:
toString in class Object
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)
Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.