public abstract class BaseOAuth1AuthorizeMessageProcessor extends AbstractAuthorizeMessageProcessor
callbackFactory
flowConstruct, moduleObject, muleContext
PHASE_NAME
PHASE_NAME
PHASE_NAME
PHASE_NAME
Constructor and Description |
---|
BaseOAuth1AuthorizeMessageProcessor() |
Modifier and Type | Method and Description |
---|---|
protected MuleEvent |
doProcess(MuleEvent event)
Starts the OAuth authorization process
|
protected OAuth1Adapter |
getAdapter() |
protected abstract Class<? extends OAuth1Adapter> |
getAdapterClass() |
String |
getRequestTokenUrl()
Retrieves requestTokenUrl
|
void |
setRequestTokenUrl(String value)
Sets requestTokenUrl
|
void |
start() |
protected void |
startCallback(HttpCallbackAdapter adapter,
FetchAccessTokenMessageProcessor fetchAccessTokenMessageProcessor) |
getAccessTokenUrl, getAuthCodeRegex, getAuthorizationUrl, getListener, getOauthCallback, getState, notifyAuthorizeStart, setAccessTokenUrl, setAuthorizationUrl, setCallbackFactory, setListener, setOauthCallback, setState, stop, toString
dispose, 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 abstract Class<? extends OAuth1Adapter> getAdapterClass()
public void start() throws MuleException
start
in interface Startable
start
in class AbstractAuthorizeMessageProcessor
MuleException
protected void startCallback(HttpCallbackAdapter adapter, FetchAccessTokenMessageProcessor fetchAccessTokenMessageProcessor) throws MuleException
startCallback
in class AbstractAuthorizeMessageProcessor
MuleException
protected final MuleEvent doProcess(MuleEvent event) throws Exception
doProcess
in class DevkitBasedMessageProcessor
event
- MuleEvent to be processedMuleException
Exception
protected OAuth1Adapter getAdapter()
public void setRequestTokenUrl(String value)
value
- Value to setpublic String getRequestTokenUrl()
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.