public class HttpMessageReceiver extends AbstractMessageReceiver
HttpMessageReceiver
is a simple http server that can be used to
listen for HTTP requests on a particular port.Modifier and Type | Class and Description |
---|---|
static class |
HttpMessageReceiver.EmptyRequestException |
static class |
HttpMessageReceiver.FailureProcessingRequestException |
defaultInboundTransformers, defaultResponseTransformers, flowConstruct, listener, receiverKey, replyToHandler
connected, connector, endpoint, lifecycleManager, logger, muleMessageFactory, retryTemplate
PHASE_NAME
PHASE_NAME
PHASE_NAME
PHASE_NAME
Constructor and Description |
---|
HttpMessageReceiver(Connector connector,
FlowConstruct flowConstruct,
InboundEndpoint endpoint) |
Modifier and Type | Method and Description |
---|---|
protected void |
doConnect() |
protected void |
doDisconnect() |
List<Transformer> |
getResponseTransportTransformers() |
protected MuleMessage |
handleUnacceptedFilter(MuleMessage message) |
protected void |
initializeMessageFactory()
Subclasses can override this method to create a custom
MuleMessageFactory instead
of re-using the instance from the connector. |
protected String |
processRelativePath(String contextPath,
String path) |
applyInboundTransformers, applyResponseTransformers, connectHandler, createExecutionTemplate, createLifecycleManager, createMuleEvent, doDispose, doStartHandler, doStop, getConnectEventId, getConnectionDescription, getEndpoint, getEndpointURI, getFlowConstruct, getReceiverKey, getReplyToHandler, getWorkManager, initialise, processMessage, propagateRootMessageIdProperty, routeEvent, routeMessage, routeMessage, routeMessage, routeMessage, routeMessage, setEndpoint, setListener, setReceiverKey, shouldConsumeInEveryNode, toString, warnIfMuleClientSendUsed
activate, connect, createMuleMessage, createMuleMessage, createMuleMessage, createMuleMessageFactory, createNullMuleMessage, disconnect, dispose, disposeAndLogException, doInitialise, doStart, getConnectEventId, getConnector, getLifecycleState, initializeRetryPolicy, isConnected, isDoThreading, isStarted, isStarting, isStopped, isStopping, passivate, setEndpoint, start, stop, validate, validateConnection
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
createMuleMessage, createMuleMessage
connect, disconnect, isConnected, validateConnection
dispose
public HttpMessageReceiver(Connector connector, FlowConstruct flowConstruct, InboundEndpoint endpoint) throws CreateException
CreateException
protected void doConnect() throws ConnectException
doConnect
in class AbstractTransportMessageHandler
ConnectException
protected void doDisconnect() throws Exception
doDisconnect
in class AbstractTransportMessageHandler
Exception
protected void initializeMessageFactory() throws InitialisationException
AbstractTransportMessageHandler
MuleMessageFactory
instead
of re-using the instance from the connector.initializeMessageFactory
in class AbstractTransportMessageHandler
InitialisationException
protected MuleMessage handleUnacceptedFilter(MuleMessage message)
handleUnacceptedFilter
in class AbstractMessageReceiver
public List<Transformer> getResponseTransportTransformers()
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.