public interface HttpCallbackFactory
HttpCallback
that are
used on the OAuth danceModifier 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
FetchAccessTokenMessageProcessor
listener
- a message processor to invoke when the callback has been
receivedmuleContext
- a MuleContext
flowConstruct
- the construct of the flow where this callback livesMuleException
void forceOldHttpTransport(boolean forceOld)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.