org.apache.activemq.transport.http
Class HttpTransport
java.lang.Object
org.apache.activemq.util.ServiceSupport
org.apache.activemq.transport.TransportSupport
org.apache.activemq.transport.TransportThreadSupport
org.apache.activemq.transport.http.HttpTransportSupport
org.apache.activemq.transport.http.HttpTransport
- All Implemented Interfaces:
- java.lang.Runnable, Service, Transport
- Direct Known Subclasses:
- HttpsTransport
public class HttpTransport
- extends HttpTransportSupport
- Version:
- $Revision$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
HttpTransport
public HttpTransport(TextWireFormat wireFormat,
java.net.URI remoteUrl)
throws java.net.MalformedURLException
- Throws:
java.net.MalformedURLException
oneway
public void oneway(java.lang.Object o)
throws java.io.IOException
- Description copied from interface:
Transport
- A one way asynchronous send
- Throws:
java.io.IOException
run
public void run()
createSendConnection
protected java.net.HttpURLConnection createSendConnection()
throws java.io.IOException
- Throws:
java.io.IOException
createReceiveConnection
protected java.net.HttpURLConnection createReceiveConnection()
throws java.io.IOException
- Throws:
java.io.IOException
configureConnection
protected void configureConnection(java.net.HttpURLConnection connection)
getRemoteURL
protected java.net.URL getRemoteURL()
getSendConnection
protected java.net.HttpURLConnection getSendConnection()
throws java.io.IOException
- Throws:
java.io.IOException
getReceiveConnection
protected java.net.HttpURLConnection getReceiveConnection()
throws java.io.IOException
- Throws:
java.io.IOException
setSendConnection
protected void setSendConnection(java.net.HttpURLConnection conn)
setReceiveConnection
protected void setReceiveConnection(java.net.HttpURLConnection conn)
doStart
protected void doStart()
throws java.lang.Exception
- Overrides:
doStart
in class TransportThreadSupport
- Throws:
java.lang.Exception
doStop
protected void doStop(ServiceStopper stopper)
throws java.lang.Exception
- Specified by:
doStop
in class ServiceSupport
- Throws:
java.lang.Exception
Copyright © 2010 Apache Software Foundation. All Rights Reserved.