|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.synapse.endpoints.utils.EndpointDefinition
public class EndpointDefinition
Endpoint definition contains the information about an web services endpoint. It is used by leaf level endpoints to keep these information (e.g. AddressEndpoint and WSDLEndpoint). An EndpointDefinition object is used by only one endpoint and they cannot be looked up in the registry.
| Constructor Summary | |
|---|---|
EndpointDefinition()
|
|
| Method Summary | |
|---|---|
String |
getAddress()
This should return the absolute EPR address referenced by the named endpoint. |
String |
getAddressingVersion()
Get the addressing namespace version |
String |
getCharSetEncoding()
Get the charset encoding for messages sent to the endpoint. |
String |
getFormat()
|
int |
getStatisticsState()
To check whether statistics should have collected or not |
long |
getSuspendOnFailDuration()
Get the suspend on fail duration. |
int |
getTimeoutAction()
|
long |
getTimeoutDuration()
|
int |
getTraceState()
|
String |
getWsRMPolicyKey()
Get the WS-RM configuration policys' 'key' to be used |
String |
getWsSecPolicyKey()
Return the Rampart Security configuration policys' 'key' to be used (See Rampart) |
boolean |
isAddressingOn()
Is WS-A turned on on this endpoint? |
boolean |
isForceGET()
|
boolean |
isForcePOX()
|
boolean |
isForceSOAP11()
|
boolean |
isForceSOAP12()
|
boolean |
isReliableMessagingOn()
Is RM turned on on this endpoint? |
boolean |
isSecurityOn()
Is WS-Security turned on on this endpoint? |
boolean |
isUseMTOM()
|
boolean |
isUseSeparateListener()
|
boolean |
isUseSwa()
|
void |
setAddress(String address)
Set an absolute URL as the address for this named endpoint |
void |
setAddressingOn(boolean addressingOn)
Request that WS-A be turned on/off on this endpoint |
void |
setAddressingVersion(String addressingVersion)
Set the addressing namespace version |
void |
setCharSetEncoding(String charSetEncoding)
Set the charset encoding for messages sent to the endpoint. |
void |
setForceGET(boolean forceGET)
|
void |
setForcePOX(boolean forcePOX)
|
void |
setForceSOAP11(boolean forceSOAP11)
|
void |
setForceSOAP12(boolean forceSOAP12)
|
void |
setFormat(String format)
|
void |
setReliableMessagingOn(boolean reliableMessagingOn)
Request that RM be turned on/off on this endpoint |
void |
setSecurityOn(boolean securityOn)
Request that WS-Sec be turned on/off on this endpoint |
void |
setStatisticsState(int statisticsState)
To set the statistics enable variable value |
void |
setSuspendOnFailDuration(long suspendOnFailDuration)
Set the suspend on fail duration. |
void |
setTimeoutAction(int timeoutAction)
|
void |
setTimeoutDuration(long timeoutDuration)
Set the timeout duration. |
void |
setTraceState(int traceState)
|
void |
setUseMTOM(boolean useMTOM)
|
void |
setUseSeparateListener(boolean b)
|
void |
setUseSwa(boolean useSwa)
|
void |
setWsRMPolicyKey(String wsRMPolicyKey)
Set the WS-RM configuration policys' 'key' to be used |
void |
setWsSecPolicyKey(String wsSecPolicyKey)
Set the Rampart Security configuration policys' 'key' to be used (See Rampart) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EndpointDefinition()
| Method Detail |
|---|
public String getAddress()
public void setAddress(String address)
address - the absolute address to be usedpublic boolean isReliableMessagingOn()
public void setReliableMessagingOn(boolean reliableMessagingOn)
reliableMessagingOn - public boolean isAddressingOn()
public void setAddressingOn(boolean addressingOn)
addressingOn - public String getAddressingVersion()
public void setAddressingVersion(String addressingVersion)
addressingVersion - public boolean isSecurityOn()
public void setSecurityOn(boolean securityOn)
securityOn - public String getWsSecPolicyKey()
public void setWsSecPolicyKey(String wsSecPolicyKey)
wsSecPolicyKey - the Rampart Security configuration policys' 'key' to be usedpublic String getWsRMPolicyKey()
public void setWsRMPolicyKey(String wsRMPolicyKey)
wsRMPolicyKey - the WS-RM configuration policys' 'key' to be usedpublic void setUseSeparateListener(boolean b)
public boolean isUseSeparateListener()
public void setForcePOX(boolean forcePOX)
public boolean isForcePOX()
public boolean isForceGET()
public void setForceGET(boolean forceGET)
public void setForceSOAP11(boolean forceSOAP11)
public boolean isForceSOAP11()
public void setForceSOAP12(boolean forceSOAP12)
public boolean isForceSOAP12()
public boolean isUseMTOM()
public void setUseMTOM(boolean useMTOM)
public boolean isUseSwa()
public void setUseSwa(boolean useSwa)
public long getTimeoutDuration()
public void setTimeoutDuration(long timeoutDuration)
timeoutDuration - a duration in millisecondspublic int getTimeoutAction()
public void setTimeoutAction(int timeoutAction)
public String getFormat()
public void setFormat(String format)
public String getCharSetEncoding()
public void setCharSetEncoding(String charSetEncoding)
charSetEncoding - the charset encoding or nullpublic long getSuspendOnFailDuration()
public void setSuspendOnFailDuration(long suspendOnFailDuration)
suspendOnFailDuration - a duration in millisecondspublic int getStatisticsState()
public void setStatisticsState(int statisticsState)
statisticsState - Indicates whether statictics is enable or notpublic int getTraceState()
public void setTraceState(int traceState)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||