org.apache.activemq.transport.http
Class HttpTransportSupport

java.lang.Object
  extended by org.apache.activemq.util.ServiceSupport
      extended by org.apache.activemq.transport.TransportSupport
          extended by org.apache.activemq.transport.TransportThreadSupport
              extended by 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.


Constructor Summary
HttpTransportSupport(TextWireFormat textWireFormat, URI remoteUrl)
           
 
Method Summary
 String getProxyHost()
           
 String getProxyPassword()
           
 int getProxyPort()
           
 String getProxyUser()
           
 String getRemoteAddress()
           
 URI getRemoteUrl()
           
 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 java.lang.Runnable
run
 
Methods inherited from interface org.apache.activemq.transport.Transport
getReceiveCounter, oneway
 
Methods inherited from interface org.apache.activemq.Service
start, stop
 

Constructor Detail

HttpTransportSupport

public HttpTransportSupport(TextWireFormat textWireFormat,
                            URI remoteUrl)
Method Detail

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.