org.apache.activemq.transport.http
Class HttpTransportFactory

java.lang.Object
  extended by org.apache.activemq.transport.TransportFactory
      extended by org.apache.activemq.transport.http.HttpTransportFactory
Direct Known Subclasses:
HttpsTransportFactory

public class HttpTransportFactory
extends TransportFactory

Version:
$Revision$

Constructor Summary
HttpTransportFactory()
           
 
Method Summary
protected  TextWireFormat asTextWireFormat(WireFormat wireFormat)
           
 Transport compositeConfigure(Transport transport, WireFormat format, java.util.Map options)
          Similar to configure(...) but this avoid adding in the MutexTransport and ResponseCorrelator transport layers so that the resulting transport can more efficiently be used as part of a composite transport.
protected  Transport createTransport(java.net.URI location, WireFormat wf)
          Factory method to create a new transport
 TransportServer doBind(java.lang.String brokerId, java.net.URI location)
           
protected  java.lang.String getDefaultWireFormatType()
           
 
Methods inherited from class org.apache.activemq.transport.TransportFactory
bind, compositeConnect, compositeConnect, configure, connect, connect, createWireFormat, createWireFormatFactory, doCompositeConnect, doCompositeConnect, doConnect, doConnect, serverConfigure
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpTransportFactory

public HttpTransportFactory()
Method Detail

doBind

public TransportServer doBind(java.lang.String brokerId,
                              java.net.URI location)
                       throws java.io.IOException
Specified by:
doBind in class TransportFactory
Throws:
java.io.IOException

asTextWireFormat

protected TextWireFormat asTextWireFormat(WireFormat wireFormat)

getDefaultWireFormatType

protected java.lang.String getDefaultWireFormatType()
Overrides:
getDefaultWireFormatType in class TransportFactory

createTransport

protected Transport createTransport(java.net.URI location,
                                    WireFormat wf)
                             throws java.io.IOException
Description copied from class: TransportFactory
Factory method to create a new transport

Overrides:
createTransport in class TransportFactory
Throws:
java.io.IOException
java.net.UnknownHostException

compositeConfigure

public Transport compositeConfigure(Transport transport,
                                    WireFormat format,
                                    java.util.Map options)
Description copied from class: TransportFactory
Similar to configure(...) but this avoid adding in the MutexTransport and ResponseCorrelator transport layers so that the resulting transport can more efficiently be used as part of a composite transport.

Overrides:
compositeConfigure in class TransportFactory
Returns:


Copyright © 2009 Apache Software Foundation. All Rights Reserved.