Set the Acknowledgement Headers if it's appropriate.
Parameters: reply - the reply the aknowledged reply
addWarning
public void addWarning(Reply reply, int warning, String reference)(Code)
Add a CC/PP Warning to the given reply.
Parameters: reply - the HTTP Reply Parameters: warning - the CC/PP Warning code Parameters: reference - the Profile reference
Get a header value (relative to the CC/PP Extension protocol)
Parameters: request - the HTTP Request Parameters: header - the header name (ie "Profile") a String.
Get the Profile references (absolute URI or Profile-diff-name)
ordered by priority (the last one has the highest priority).
a ProfileRef array (or null) See Also:ProfileRef
getStandardWarning
public static String getStandardWarning(int warning)(Code)
Get the standard CCPP reason phrase for the given warning code.
Parameters: warning - The given warning code. A String giving the standard reason phrase, ornull if the status doesn't match any knowned error.