org.mule.security.oauth.callback
Class DefaultHttpCallbackFactory
java.lang.Object
org.mule.security.oauth.callback.DefaultHttpCallbackFactory
- All Implemented Interfaces:
- HttpCallbackFactory
public class DefaultHttpCallbackFactory
- extends Object
- implements HttpCallbackFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultHttpCallbackFactory
public DefaultHttpCallbackFactory()
createCallback
public HttpCallback createCallback(HttpCallbackAdapter adapter,
String authCodeRegex,
FetchAccessTokenMessageProcessor fetchAccessTokenMessageProcessor,
MessageProcessor listener,
MuleContext muleContext,
FlowConstruct flowConstruct)
throws MuleException
- Description copied from interface:
HttpCallbackFactory
- returns a new callback that has not been started
- Specified by:
createCallback
in interface HttpCallbackFactory
- Parameters:
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 lives
- Returns:
-
- Throws:
MuleException
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.