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.

Version:
$Revision: 1.1 $

Constructor Summary
HttpTransportSupport(TextWireFormat textWireFormat, java.net.URI remoteUrl)
           
 
Method Summary
 java.lang.String getProxyHost()
           
 int getProxyPort()
           
 java.lang.String getRemoteAddress()
           
 java.net.URI getRemoteUrl()
           
 TextWireFormat getTextWireFormat()
           
 void setProxyHost(java.lang.String proxyHost)
           
 void setProxyPort(int proxyPort)
           
 void setTextWireFormat(TextWireFormat textWireFormat)
           
 java.lang.String toString()
           
 
Methods inherited from class org.apache.activemq.transport.TransportThreadSupport
doStart, isDaemon, setDaemon
 
Methods inherited from class org.apache.activemq.transport.TransportSupport
asyncRequest, checkStarted, doConsume, getTransportListener, narrow, onException, request, request, setTransportListener
 
Methods inherited from class org.apache.activemq.util.ServiceSupport
dispose, doStop, isStarted, isStopped, isStopping, 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
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()
Returns:
the remote address for this connection

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)


Copyright © 2009 Apache Software Foundation. All Rights Reserved.