public class ClientPolicyCalculator extends Object implements PolicyCalculator<HTTPClientPolicy>
Constructor and Description |
---|
ClientPolicyCalculator() |
Modifier and Type | Method and Description |
---|---|
boolean |
compatible(HTTPClientPolicy p1,
HTTPClientPolicy p2)
Checks if two HTTPClientPolicy objects are compatible.
|
boolean |
equals(HTTPClientPolicy p1,
HTTPClientPolicy p2)
Determines if two HTTPClientPolicy objects are equal.
|
Class<HTTPClientPolicy> |
getDataClass() |
QName |
getDataClassName() |
HTTPClientPolicy |
intersect(HTTPClientPolicy p1,
HTTPClientPolicy p2)
Returns a new HTTPClientPolicy that is compatible with the two specified
policies or null if no compatible policy can be determined.
|
boolean |
isAsserted(Message message,
HTTPClientPolicy policy,
HTTPClientPolicy refPolicy) |
static String |
toString(HTTPClientPolicy p) |
public boolean equals(HTTPClientPolicy p1, HTTPClientPolicy p2)
p1
- one client policyp2
- another client policypublic HTTPClientPolicy intersect(HTTPClientPolicy p1, HTTPClientPolicy p2)
intersect
in interface PolicyCalculator<HTTPClientPolicy>
p1
- one policyp2
- another policypublic boolean compatible(HTTPClientPolicy p1, HTTPClientPolicy p2)
p1
- one client policyp2
- another client policypublic boolean isAsserted(Message message, HTTPClientPolicy policy, HTTPClientPolicy refPolicy)
isAsserted
in interface PolicyCalculator<HTTPClientPolicy>
public Class<HTTPClientPolicy> getDataClass()
getDataClass
in interface PolicyCalculator<HTTPClientPolicy>
public QName getDataClassName()
getDataClassName
in interface PolicyCalculator<HTTPClientPolicy>
public static String toString(HTTPClientPolicy p)
Apache CXF