public interface HttpCallbackFactory
HttpCallback that are
used on the OAuth dance| Modifier and Type | Method and Description |
|---|---|
HttpCallback |
createCallback(HttpCallbackAdapter adapter,
String authCodeRegex,
FetchAccessTokenMessageProcessor fetchAccessTokenMessageProcessor,
MessageProcessor listener,
MuleContext muleContext,
FlowConstruct flowConstruct)
returns a new callback that has not been started
|
void |
forceOldHttpTransport(boolean forceOld) |
HttpCallback createCallback(HttpCallbackAdapter adapter, String authCodeRegex, FetchAccessTokenMessageProcessor fetchAccessTokenMessageProcessor, MessageProcessor listener, MuleContext muleContext, FlowConstruct flowConstruct) throws MuleException
adapter - adapter holding the callback configurationauthCodeRegex - uncompiled regular expression to extract the
authorization codefetchAccessTokenMessageProcessor - an instance of
FetchAccessTokenMessageProcessorlistener - a message processor to invoke when the callback has been
receivedmuleContext - a MuleContextflowConstruct - the construct of the flow where this callback livesMuleExceptionvoid forceOldHttpTransport(boolean forceOld)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.