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, HttpTransport
public abstract class HttpTransportSupport
- extends TransportThreadSupport
A useful base class for HTTP Transport implementations.
- Version:
- $Revision: 1.1 $
Methods inherited from class org.apache.activemq.transport.TransportSupport |
asyncRequest, checkStarted, doConsume, getTransportListener, isConnected, isDisposed, isFaultTolerant, narrow, onException, reconnect, request, request, setTransportListener |
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)
Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.