public class

DefaultHttpCallback

extends Object
implements HttpCallback
java.lang.Object
   ↳ org.mule.module.linkedin.process.DefaultHttpCallback

Summary

Nested Classes
class DefaultHttpCallback.FlowRefMessageProcessor  
[Expand]
Inherited Constants
From interface org.mule.api.lifecycle.Startable
From interface org.mule.api.lifecycle.Stoppable
Fields
private static final Logger LOGGER
private Boolean async Whether the the message processor that invokes the callback flow is asynchronous
private Flow callbackFlow The flow to be called upon the http callback
private MessageProcessor callbackMessageProcessor The message processor to be called upon the http callback
private String callbackPath Optional path to set up the endpoint
private Connector connector HTTP connector
private String domain The domain to be used in the dynamic http inbound endpoint that will receive the callback
private MessagingExceptionHandler exceptionHandler Exception Handler
private Flow flowConstruct The dynamically created flow
private Integer localPort
private String localUrl
private MuleContext muleContext Mule Context
private Integer remotePort The port number to be used in the dynamic http inbound endpoint that will receive the callback
private String url The dynamically generated url to pass on to the cloud connector.
Public Constructors
DefaultHttpCallback(Flow callbackFlow, MuleContext muleContext, String callbackDomain, Integer localPort, Integer remotePort, Boolean async)
DefaultHttpCallback(MessageProcessor callbackMessageProcessor, MuleContext muleContext, String callbackDomain, Integer localPort, Integer remotePort, Boolean async)
DefaultHttpCallback(MessageProcessor callbackMessageProcessor, MuleContext muleContext, String callbackDomain, Integer localPort, Integer remotePort, String callbackPath, Boolean async)
DefaultHttpCallback(Flow callbackFlow, MuleContext muleContext, String callbackDomain, Integer localPort, Integer remotePort, Boolean async, Connector connector)
DefaultHttpCallback(MessageProcessor callbackMessageProcessor, MuleContext muleContext, String callbackDomain, Integer localPort, Integer remotePort, Boolean async, Connector connector)
DefaultHttpCallback(MessageProcessor callbackMessageProcessor, MuleContext muleContext, String callbackDomain, Integer localPort, Integer remotePort, String callbackPath, Boolean async, Connector connector)
DefaultHttpCallback(List<MessageProcessor> callbackMessageProcessors, MuleContext muleContext, String callbackDomain, Integer localPort, Integer remotePort, Boolean async, Connector connector)
DefaultHttpCallback(List<MessageProcessor> callbackMessageProcessors, MuleContext muleContext, String callbackDomain, Integer localPort, Integer remotePort, String callbackPath, Boolean async, Connector connector)
DefaultHttpCallback(List<MessageProcessor> callbackMessageProcessors, MuleContext muleContext, String callbackDomain, Integer localPort, Integer remotePort, Boolean async)
DefaultHttpCallback(List<MessageProcessor> callbackMessageProcessors, MuleContext muleContext, String callbackDomain, Integer localPort, Integer remotePort, String callbackPath, Boolean async)
DefaultHttpCallback(List<MessageProcessor> callbackMessageProcessors, MuleContext muleContext, String callbackDomain, Integer localPort, Integer remotePort, String callbackPath, Boolean async, MessagingExceptionHandler exceptionHandler)
DefaultHttpCallback(List<MessageProcessor> callbackMessageProcessors, MuleContext muleContext, String callbackDomain, Integer localPort, Integer remotePort, String callbackPath, Boolean async, MessagingExceptionHandler exceptionHandler, Connector connector)
Public Methods
String getUrl()
Retrieves url
void setMuleContext(MuleContext value)
Sets muleContext
void start()
void stop()
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.mule.api.callback.HttpCallback
From interface org.mule.api.context.MuleContextAware
From interface org.mule.api.lifecycle.Startable
From interface org.mule.api.lifecycle.Stoppable

Fields

private static final Logger LOGGER

private Boolean async

Whether the the message processor that invokes the callback flow is asynchronous

private Flow callbackFlow

The flow to be called upon the http callback

private MessageProcessor callbackMessageProcessor

The message processor to be called upon the http callback

private String callbackPath

Optional path to set up the endpoint

private Connector connector

HTTP connector

private String domain

The domain to be used in the dynamic http inbound endpoint that will receive the callback

private MessagingExceptionHandler exceptionHandler

Exception Handler

private Flow flowConstruct

The dynamically created flow

private Integer localPort

private String localUrl

private MuleContext muleContext

Mule Context

private Integer remotePort

The port number to be used in the dynamic http inbound endpoint that will receive the callback

private String url

The dynamically generated url to pass on to the cloud connector. When this url is called the callback flow will be executed

Public Constructors

public DefaultHttpCallback (Flow callbackFlow, MuleContext muleContext, String callbackDomain, Integer localPort, Integer remotePort, Boolean async)

Parameters
callbackFlow
muleContext
callbackDomain
localPort
remotePort
async

public DefaultHttpCallback (MessageProcessor callbackMessageProcessor, MuleContext muleContext, String callbackDomain, Integer localPort, Integer remotePort, Boolean async)

Parameters
callbackMessageProcessor
muleContext
callbackDomain
localPort
remotePort
async

public DefaultHttpCallback (MessageProcessor callbackMessageProcessor, MuleContext muleContext, String callbackDomain, Integer localPort, Integer remotePort, String callbackPath, Boolean async)

Parameters
callbackMessageProcessor
muleContext
callbackDomain
localPort
remotePort
callbackPath
async

public DefaultHttpCallback (Flow callbackFlow, MuleContext muleContext, String callbackDomain, Integer localPort, Integer remotePort, Boolean async, Connector connector)

Parameters
callbackFlow
muleContext
callbackDomain
localPort
remotePort
async
connector

public DefaultHttpCallback (MessageProcessor callbackMessageProcessor, MuleContext muleContext, String callbackDomain, Integer localPort, Integer remotePort, Boolean async, Connector connector)

Parameters
callbackMessageProcessor
muleContext
callbackDomain
localPort
remotePort
async
connector

public DefaultHttpCallback (MessageProcessor callbackMessageProcessor, MuleContext muleContext, String callbackDomain, Integer localPort, Integer remotePort, String callbackPath, Boolean async, Connector connector)

Parameters
callbackMessageProcessor
muleContext
callbackDomain
localPort
remotePort
callbackPath
async
connector

public DefaultHttpCallback (List<MessageProcessor> callbackMessageProcessors, MuleContext muleContext, String callbackDomain, Integer localPort, Integer remotePort, Boolean async, Connector connector)

Parameters
callbackMessageProcessors
muleContext
callbackDomain
localPort
remotePort
async
connector
Throws
MuleException

public DefaultHttpCallback (List<MessageProcessor> callbackMessageProcessors, MuleContext muleContext, String callbackDomain, Integer localPort, Integer remotePort, String callbackPath, Boolean async, Connector connector)

Parameters
callbackMessageProcessors
muleContext
callbackDomain
localPort
remotePort
callbackPath
async
connector
Throws
MuleException

public DefaultHttpCallback (List<MessageProcessor> callbackMessageProcessors, MuleContext muleContext, String callbackDomain, Integer localPort, Integer remotePort, Boolean async)

Parameters
callbackMessageProcessors
muleContext
callbackDomain
localPort
remotePort
async
Throws
MuleException

public DefaultHttpCallback (List<MessageProcessor> callbackMessageProcessors, MuleContext muleContext, String callbackDomain, Integer localPort, Integer remotePort, String callbackPath, Boolean async)

Parameters
callbackMessageProcessors
muleContext
callbackDomain
localPort
remotePort
callbackPath
async
Throws
MuleException

public DefaultHttpCallback (List<MessageProcessor> callbackMessageProcessors, MuleContext muleContext, String callbackDomain, Integer localPort, Integer remotePort, String callbackPath, Boolean async, MessagingExceptionHandler exceptionHandler)

Parameters
callbackMessageProcessors
muleContext
callbackDomain
localPort
remotePort
callbackPath
async
exceptionHandler
Throws
MuleException

public DefaultHttpCallback (List<MessageProcessor> callbackMessageProcessors, MuleContext muleContext, String callbackDomain, Integer localPort, Integer remotePort, String callbackPath, Boolean async, MessagingExceptionHandler exceptionHandler, Connector connector)

Parameters
callbackMessageProcessors
muleContext
callbackDomain
localPort
remotePort
callbackPath
async
exceptionHandler
connector
Throws
MuleException

Public Methods

public String getUrl ()

Retrieves url

public void setMuleContext (MuleContext value)

Sets muleContext

Parameters
value Value to set

public void start ()

Throws
MuleException

public void stop ()

Throws
MuleException