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