org.apache.activemq.transport.http
Class HttpTransportServer

java.lang.Object
  extended by org.apache.activemq.util.ServiceSupport
      extended by org.apache.activemq.transport.TransportServerSupport
          extended by org.apache.activemq.transport.WebTransportServerSupport
              extended by org.apache.activemq.transport.http.HttpTransportServer
All Implemented Interfaces:
org.apache.activemq.Service, org.apache.activemq.transport.TransportServer
Direct Known Subclasses:
HttpsTransportServer

public class HttpTransportServer
extends WebTransportServerSupport


Field Summary
 
Fields inherited from class org.apache.activemq.transport.WebTransportServerSupport
bindAddress, connector, host, server, socketConnectorFactory
 
Fields inherited from class org.apache.activemq.transport.TransportServerSupport
transportOptions
 
Constructor Summary
HttpTransportServer(URI uri, HttpTransportFactory factory)
           
 
Method Summary
protected  TextWireFormat createWireFormat()
           
protected  void doStart()
           
protected  void doStop(org.apache.activemq.util.ServiceStopper stopper)
           
 InetSocketAddress getSocketAddress()
           
 TextWireFormat getWireFormat()
           
 void setBrokerInfo(org.apache.activemq.command.BrokerInfo brokerInfo)
           
protected  void setConnector(org.eclipse.jetty.server.Connector connector)
           
 void setTransportOption(Map<String,Object> transportOptions)
           
 void setWireFormat(TextWireFormat wireFormat)
           
 
Methods inherited from class org.apache.activemq.transport.WebTransportServerSupport
bind
 
Methods inherited from class org.apache.activemq.transport.TransportServerSupport
getAcceptListener, getBindLocation, getConnectURI, onAcceptError, setAcceptListener, setBindLocation, setConnectURI
 
Methods inherited from class org.apache.activemq.util.ServiceSupport
addServiceListener, dispose, isStarted, isStopped, isStopping, postStop, preStart, removeServiceListener, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.activemq.Service
start, stop
 

Constructor Detail

HttpTransportServer

public HttpTransportServer(URI uri,
                           HttpTransportFactory factory)
Method Detail

setBrokerInfo

public void setBrokerInfo(org.apache.activemq.command.BrokerInfo brokerInfo)

getWireFormat

public TextWireFormat getWireFormat()

setWireFormat

public void setWireFormat(TextWireFormat wireFormat)

createWireFormat

protected TextWireFormat createWireFormat()

setConnector

protected void setConnector(org.eclipse.jetty.server.Connector connector)

doStart

protected void doStart()
                throws Exception
Specified by:
doStart in class org.apache.activemq.util.ServiceSupport
Throws:
Exception

doStop

protected void doStop(org.apache.activemq.util.ServiceStopper stopper)
               throws Exception
Specified by:
doStop in class org.apache.activemq.util.ServiceSupport
Throws:
Exception

getSocketAddress

public InetSocketAddress getSocketAddress()

setTransportOption

public void setTransportOption(Map<String,Object> transportOptions)
Overrides:
setTransportOption in class org.apache.activemq.transport.TransportServerSupport


Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.