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:
java.lang.Runnable, Service, Transport
Direct Known Subclasses:
HttpClientTransport, HttpTransport

public abstract class HttpTransportSupport
extends TransportThreadSupport

A useful base class for HTTP Transport implementations.


Constructor Summary
HttpTransportSupport(TextWireFormat textWireFormat, java.net.URI remoteUrl)
           
 
Method Summary
 java.lang.String getProxyHost()
           
 java.lang.String getProxyPassword()
           
 int getProxyPort()
           
 java.lang.String getProxyUser()
           
 java.lang.String getRemoteAddress()
           
 java.net.URI getRemoteUrl()
           
 TextWireFormat getTextWireFormat()
           
 void setProxyHost(java.lang.String proxyHost)
           
 void setProxyPassword(java.lang.String proxyPassword)
           
 void setProxyPort(int proxyPort)
           
 void setProxyUser(java.lang.String proxyUser)
           
 void setTextWireFormat(TextWireFormat textWireFormat)
           
 java.lang.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, 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,
                            java.net.URI remoteUrl)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getRemoteAddress

public java.lang.String getRemoteAddress()

getRemoteUrl

public java.net.URI getRemoteUrl()

getTextWireFormat

public TextWireFormat getTextWireFormat()

setTextWireFormat

public void setTextWireFormat(TextWireFormat textWireFormat)

getProxyHost

public java.lang.String getProxyHost()

setProxyHost

public void setProxyHost(java.lang.String proxyHost)

getProxyPort

public int getProxyPort()

setProxyPort

public void setProxyPort(int proxyPort)

getProxyUser

public java.lang.String getProxyUser()

setProxyUser

public void setProxyUser(java.lang.String proxyUser)

getProxyPassword

public java.lang.String getProxyPassword()

setProxyPassword

public void setProxyPassword(java.lang.String proxyPassword)


Copyright © 2005-2012 FuseSource, Corp.. All Rights Reserved.