public abstract class AbstractAuthorizeMessageProcessor extends DevkitBasedMessageProcessor implements FlowConstructAware, MuleContextAware, Initialisable, Startable, Stoppable, InterceptingMessageProcessor
Modifier and Type | Field and Description |
---|---|
protected HttpCallbackFactory |
callbackFactory |
flowConstruct, moduleObject, muleContext
PHASE_NAME
PHASE_NAME
PHASE_NAME
PHASE_NAME
Constructor and Description |
---|
AbstractAuthorizeMessageProcessor() |
Modifier and Type | Method and Description |
---|---|
String |
getAccessTokenUrl()
Retrieves accessTokenUrl
|
protected abstract String |
getAuthCodeRegex() |
String |
getAuthorizationUrl()
Retrieves authorizationUrl
|
MessageProcessor |
getListener() |
HttpCallback |
getOauthCallback() |
String |
getState() |
protected void |
notifyAuthorizeStart(MuleEvent event) |
void |
setAccessTokenUrl(String value)
Sets accessTokenUrl
|
void |
setAuthorizationUrl(String value)
Sets authorizationUrl
|
void |
setCallbackFactory(HttpCallbackFactory callbackFactory) |
void |
setListener(MessageProcessor value)
Sets listener
|
void |
setOauthCallback(HttpCallback oauthCallback) |
void |
setState(String value)
Sets state
|
void |
start() |
protected void |
startCallback(HttpCallbackAdapter adapter,
FetchAccessTokenMessageProcessor fetchAccessTokenMessageProcessor) |
void |
stop() |
protected String |
toString(MuleEvent event,
Object value) |
dispose, doProcess, findOrCreate, getAccessTokenId, getFlowConstruct, getMuleContext, initialise, overwritePayload, process, setAccessTokenId, setFlowConstruct, setModuleObject, setMuleContext
computeClassHierarchy, evaluate, evaluateAndTransform, evaluateAndTransform, getAccessTokenId, isAssignableFrom, isList, isListClass, isMap, isMapClass, transform, transform, transform
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setFlowConstruct
setMuleContext
initialise
process
protected HttpCallbackFactory callbackFactory
protected abstract String getAuthCodeRegex()
public void start() throws MuleException
start
in interface Startable
start
in class DevkitBasedMessageProcessor
MuleException
protected void startCallback(HttpCallbackAdapter adapter, FetchAccessTokenMessageProcessor fetchAccessTokenMessageProcessor) throws MuleException
MuleException
protected void notifyAuthorizeStart(MuleEvent event)
public final void stop() throws MuleException
stop
in interface Stoppable
stop
in class DevkitBasedMessageProcessor
MuleException
public void setListener(MessageProcessor value)
setListener
in interface MessageSource
value
- Value to setpublic void setAuthorizationUrl(String value)
value
- Value to setpublic String getAuthorizationUrl()
public void setAccessTokenUrl(String value)
value
- Value to setpublic String getAccessTokenUrl()
public void setState(String value)
value
- Value to setpublic HttpCallback getOauthCallback()
public void setOauthCallback(HttpCallback oauthCallback)
public MessageProcessor getListener()
public String getState()
public void setCallbackFactory(HttpCallbackFactory callbackFactory)
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.