org.apache.activemq.transport.http
Class HttpTransport

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
                  extended by org.apache.activemq.transport.http.HttpTransport
All Implemented Interfaces:
java.lang.Runnable, Service, Transport
Direct Known Subclasses:
HttpsTransport

Deprecated.

@Deprecated
public class HttpTransport
extends HttpTransportSupport

See Also:
HttpClientTransport

Constructor Summary
HttpTransport(TextWireFormat wireFormat, java.net.URI remoteUrl)
          Deprecated.  
 
Method Summary
protected  void configureConnection(java.net.HttpURLConnection connection)
          Deprecated.  
protected  java.net.HttpURLConnection createReceiveConnection()
          Deprecated.  
protected  java.net.HttpURLConnection createSendConnection()
          Deprecated.  
protected  void doStart()
          Deprecated.  
protected  void doStop(ServiceStopper stopper)
          Deprecated.  
protected  java.net.HttpURLConnection getReceiveConnection()
          Deprecated.  
 int getReceiveCounter()
          Deprecated. Returns a counter which gets incremented as data is read from the transport.
protected  java.net.URL getRemoteURL()
          Deprecated.  
protected  java.net.HttpURLConnection getSendConnection()
          Deprecated.  
 void oneway(java.lang.Object o)
          Deprecated. A one way asynchronous send
 void run()
          Deprecated.  
protected  void setReceiveConnection(java.net.HttpURLConnection conn)
          Deprecated.  
protected  void setSendConnection(java.net.HttpURLConnection conn)
          Deprecated.  
 
Methods inherited from class org.apache.activemq.transport.http.HttpTransportSupport
getProxyHost, getProxyPort, getRemoteAddress, getRemoteUrl, getTextWireFormat, setProxyHost, setProxyPort, setTextWireFormat, toString
 
Methods inherited from class org.apache.activemq.transport.TransportThreadSupport
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, 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 org.apache.activemq.Service
start, stop
 

Constructor Detail

HttpTransport

public HttpTransport(TextWireFormat wireFormat,
                     java.net.URI remoteUrl)
              throws java.net.MalformedURLException
Deprecated. 
Throws:
java.net.MalformedURLException
Method Detail

oneway

public void oneway(java.lang.Object o)
            throws java.io.IOException
Deprecated. 
Description copied from interface: Transport
A one way asynchronous send

Throws:
java.io.IOException

run

public void run()
Deprecated. 

createSendConnection

protected java.net.HttpURLConnection createSendConnection()
                                                   throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

createReceiveConnection

protected java.net.HttpURLConnection createReceiveConnection()
                                                      throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

configureConnection

protected void configureConnection(java.net.HttpURLConnection connection)
Deprecated. 

getRemoteURL

protected java.net.URL getRemoteURL()
Deprecated. 

getSendConnection

protected java.net.HttpURLConnection getSendConnection()
                                                throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

getReceiveConnection

protected java.net.HttpURLConnection getReceiveConnection()
                                                   throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

setSendConnection

protected void setSendConnection(java.net.HttpURLConnection conn)
Deprecated. 

setReceiveConnection

protected void setReceiveConnection(java.net.HttpURLConnection conn)
Deprecated. 

doStart

protected void doStart()
                throws java.lang.Exception
Deprecated. 
Overrides:
doStart in class TransportThreadSupport
Throws:
java.lang.Exception

doStop

protected void doStop(ServiceStopper stopper)
               throws java.lang.Exception
Deprecated. 
Specified by:
doStop in class ServiceSupport
Throws:
java.lang.Exception

getReceiveCounter

public int getReceiveCounter()
Deprecated. 
Description copied from interface: Transport
Returns a counter which gets incremented as data is read from the transport. It should only be used to determine if there is progress being made in reading the next command from the transport. The value may wrap into the negative numbers.

Returns:
a counter which gets incremented as data is read from the transport.


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