org.mule.security.oauth.callback
Class DefaultHttpCallbackAdapter

java.lang.Object
  extended by org.mule.security.oauth.callback.DefaultHttpCallbackAdapter
All Implemented Interfaces:
Initialisable, HttpCallbackAdapter
Direct Known Subclasses:
BaseOAuth1Manager, BaseOAuth2Manager

public class DefaultHttpCallbackAdapter
extends Object
implements Initialisable, HttpCallbackAdapter


Field Summary
 
Fields inherited from interface org.mule.api.lifecycle.Initialisable
PHASE_NAME
 
Constructor Summary
DefaultHttpCallbackAdapter()
           
 
Method Summary
 Boolean getAsync()
          Retrieves async
 Connector getConnector()
          Retrieves connector
 String getDomain()
          Retrieves domain
 Integer getLocalPort()
          Retrieves localPort
 String getPath()
          Retrieves path
 Integer getRemotePort()
          Retrieves remotePort
 void initialise()
          Method used to perform any initialisation work.
 void setAsync(Boolean value)
          Sets async
 void setConnector(Connector value)
          Sets connector
 void setDomain(String value)
          Sets domain
 void setLocalPort(Integer value)
          Sets localPort
 void setPath(String value)
          Sets path
 void setRemotePort(Integer value)
          Sets remotePort
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultHttpCallbackAdapter

public DefaultHttpCallbackAdapter()
Method Detail

getLocalPort

public Integer getLocalPort()
Retrieves localPort

Specified by:
getLocalPort in interface HttpCallbackAdapter

setLocalPort

public void setLocalPort(Integer value)
Sets localPort

Specified by:
setLocalPort in interface HttpCallbackAdapter
Parameters:
value - Value to set

getRemotePort

public Integer getRemotePort()
Retrieves remotePort

Specified by:
getRemotePort in interface HttpCallbackAdapter

setRemotePort

public void setRemotePort(Integer value)
Sets remotePort

Specified by:
setRemotePort in interface HttpCallbackAdapter
Parameters:
value - Value to set

getDomain

public String getDomain()
Retrieves domain

Specified by:
getDomain in interface HttpCallbackAdapter

setDomain

public void setDomain(String value)
Sets domain

Specified by:
setDomain in interface HttpCallbackAdapter
Parameters:
value - Value to set

getPath

public String getPath()
Retrieves path

Specified by:
getPath in interface HttpCallbackAdapter

setPath

public void setPath(String value)
Sets path

Specified by:
setPath in interface HttpCallbackAdapter
Parameters:
value - Value to set

getConnector

public Connector getConnector()
Retrieves connector

Specified by:
getConnector in interface HttpCallbackAdapter

setConnector

public void setConnector(Connector value)
Sets connector

Specified by:
setConnector in interface HttpCallbackAdapter
Parameters:
value - Value to set

getAsync

public Boolean getAsync()
Retrieves async

Specified by:
getAsync in interface HttpCallbackAdapter

setAsync

public void setAsync(Boolean value)
Sets async

Specified by:
setAsync in interface HttpCallbackAdapter
Parameters:
value - Value to set

initialise

public void initialise()
                throws InitialisationException
Description copied from interface: Initialisable
Method used to perform any initialisation work. If a fatal error occurs during initialisation an InitialisationException should be thrown, causing the Mule instance to shutdown. If the error is recoverable, say by retrying to connect, a RecoverableException should be thrown. There is no guarantee that by throwing a Recoverable exception that the Mule instance will not shut down.

Specified by:
initialise in interface Initialisable
Throws:
InitialisationException - if a fatal error occurs causing the Mule instance to shutdown
RecoverableException - if an error occurs that can be recovered from


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