org.mule.api.callback
Interface HttpCallbackFactory

All Known Implementing Classes:
DefaultHttpCallbackFactory

public interface HttpCallbackFactory

Factory class for instances of HttpCallback that are used on the OAuth dance


Method Summary
 HttpCallback createCallback(HttpCallbackAdapter adapter, String authCodeRegex, FetchAccessTokenMessageProcessor fetchAccessTokenMessageProcessor, MessageProcessor listener, MuleContext muleContext, FlowConstruct flowConstruct)
          returns a new callback that has not been started
 

Method Detail

createCallback

HttpCallback createCallback(HttpCallbackAdapter adapter,
                            String authCodeRegex,
                            FetchAccessTokenMessageProcessor fetchAccessTokenMessageProcessor,
                            MessageProcessor listener,
                            MuleContext muleContext,
                            FlowConstruct flowConstruct)
                            throws MuleException
returns a new callback that has not been started

Parameters:
adapter - adapter holding the callback configuration
authCodeRegex - uncompiled regular expression to extract the authorization code
fetchAccessTokenMessageProcessor - an instance of FetchAccessTokenMessageProcessor
listener - a message processor to invoke when the callback has been received
muleContext - a MuleContext
flowConstruct - the construct of the flow where this callback lives
Returns:
Throws:
MuleException


Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.