public abstract class AbstractAuthorizeMessageProcessor extends DevkitBasedMessageProcessor implements FlowConstructAware, MuleContextAware, Initialisable, Startable, Stoppable, InterceptingMessageProcessor
| Modifier and Type | Field and Description |
|---|---|
protected HttpCallbackFactory |
callbackFactory |
flowConstruct, moduleObject, muleContextPHASE_NAMEPHASE_NAMEPHASE_NAMEPHASE_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, setMuleContextcomputeClassHierarchy, evaluate, evaluateAndTransform, evaluateAndTransform, getAccessTokenId, isAssignableFrom, isList, isListClass, isMap, isMapClass, transform, transform, transformclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetFlowConstructsetMuleContextinitialiseprocessprotected HttpCallbackFactory callbackFactory
protected abstract String getAuthCodeRegex()
public void start()
throws MuleException
start in interface Startablestart in class DevkitBasedMessageProcessorMuleExceptionprotected void startCallback(HttpCallbackAdapter adapter, FetchAccessTokenMessageProcessor fetchAccessTokenMessageProcessor) throws MuleException
MuleExceptionprotected void notifyAuthorizeStart(MuleEvent event)
public final void stop()
throws MuleException
stop in interface Stoppablestop in class DevkitBasedMessageProcessorMuleExceptionpublic void setListener(MessageProcessor value)
setListener in interface MessageSourcevalue - 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–2018 MuleSoft, Inc.. All rights reserved.