org.mule.providers.http.jetty
Class JettyHttpMessageReceiver

java.lang.Object
  extended byorg.mule.providers.AbstractMessageReceiver
      extended byorg.mule.providers.http.jetty.JettyHttpMessageReceiver
All Implemented Interfaces:
Disposable, Lifecycle, Startable, Stoppable, UMOConnectable, UMOMessageReceiver

public class JettyHttpMessageReceiver
extends AbstractMessageReceiver

HttpMessageReceiver is a simple http server that can be used to listen for http requests on a particular port


Field Summary
static String JETTY_SERVLET_CONNECTOR_NAME
           
 
Fields inherited from class org.mule.providers.AbstractMessageReceiver
component, connected, connecting, connectionStrategy, connector, disposing, endpoint, logger, receiverKey, stopped
 
Constructor Summary
JettyHttpMessageReceiver(UMOConnector connector, UMOComponent component, UMOEndpoint endpoint)
           
 
Method Summary
protected  void doConnect()
           
protected  void doDisconnect()
           
protected  void doDispose()
          Template method to dispose any resources associated with this receiver.
protected  void doStart()
           
protected  void doStop()
           
 
Methods inherited from class org.mule.providers.AbstractMessageReceiver
applyResponseTransformer, connect, disconnect, dispose, getComponent, getConnectEventId, getConnectionDescription, getConnector, getEndpoint, getEndpointURI, getListener, getReceiverKey, getWorkManager, handleException, handleUnacceptedFilter, isConnected, routeMessage, routeMessage, routeMessage, routeMessage, routeMessage, routeMessage, setComponent, setConnector, setEndpoint, setExceptionDetails, setListener, setReceiverKey, setWorkManager, start, stop, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

JETTY_SERVLET_CONNECTOR_NAME

public static final String JETTY_SERVLET_CONNECTOR_NAME
See Also:
Constant Field Values
Constructor Detail

JettyHttpMessageReceiver

public JettyHttpMessageReceiver(UMOConnector connector,
                                UMOComponent component,
                                UMOEndpoint endpoint)
                         throws InitialisationException
Method Detail

doConnect

protected void doConnect()
                  throws Exception
Specified by:
doConnect in class AbstractMessageReceiver
Throws:
Exception

doDisconnect

protected void doDisconnect()
                     throws Exception
Specified by:
doDisconnect in class AbstractMessageReceiver
Throws:
Exception

doDispose

protected void doDispose()
Template method to dispose any resources associated with this receiver. There is not need to dispose the connector as this is already done by the framework

Specified by:
doDispose in class AbstractMessageReceiver

doStart

protected void doStart()
                throws UMOException
Specified by:
doStart in class AbstractMessageReceiver
Throws:
UMOException

doStop

protected void doStop()
               throws UMOException
Specified by:
doStop in class AbstractMessageReceiver
Throws:
UMOException


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.