/** * Returns the Call-Id of InReplyToHeader. The CallId parameter uniquely * identifies a series of messages within a dialogue. * * @return the String value of the Call-Id of this InReplyToHeader */ public String getCallId() { if (callId == null) return null; return callId.encode(); }
protected StringBuilder encodeBody(StringBuilder buffer) { if (callIdentifier != null) callIdentifier.encode(buffer); return buffer; }
/** * Generate canonical form of the header. * @return String */ public StringBuilder encodeBody(StringBuilder retval) { return callId.encode(retval); }
/** * Get the encoded version of this id. * @return String to set */ public String encode() { return encode(new StringBuilder()).toString(); }