public class DefaultHttpCallbackAdapter extends Object implements Initialisable, HttpCallbackAdapter
PHASE_NAME
Constructor and Description |
---|
DefaultHttpCallbackAdapter() |
Modifier and Type | Method and Description |
---|---|
Boolean |
getAsync()
Retrieves async
|
Object |
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(Object 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
|
public Integer getLocalPort()
getLocalPort
in interface HttpCallbackAdapter
public void setLocalPort(Integer value)
setLocalPort
in interface HttpCallbackAdapter
value
- Value to setpublic Integer getRemotePort()
getRemotePort
in interface HttpCallbackAdapter
public void setRemotePort(Integer value)
setRemotePort
in interface HttpCallbackAdapter
value
- Value to setpublic String getDomain()
getDomain
in interface HttpCallbackAdapter
public void setDomain(String value)
setDomain
in interface HttpCallbackAdapter
value
- Value to setpublic String getPath()
getPath
in interface HttpCallbackAdapter
public void setPath(String value)
setPath
in interface HttpCallbackAdapter
value
- Value to setpublic Object getConnector()
getConnector
in interface HttpCallbackAdapter
public void setConnector(Object value)
setConnector
in interface HttpCallbackAdapter
value
- Value to setpublic Boolean getAsync()
getAsync
in interface HttpCallbackAdapter
public void setAsync(Boolean value)
setAsync
in interface HttpCallbackAdapter
value
- Value to setpublic void initialise() throws InitialisationException
Initialisable
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.initialise
in interface Initialisable
InitialisationException
- if a fatal error occurs causing the Mule instance to shutdownRecoverableException
- if an error occurs that can be recovered fromCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.