JAIN-SIP 2.0 API

javax.sip.header.ims
Interface PrivacyHeader

All Superinterfaces:
Cloneable, Header, Serializable

public interface PrivacyHeader
extends Header

Privacy Header. See RFC 3323 for more details.

 Privacy-hdr  = "Privacy" HCOLON priv-value *(";" priv-value)
 priv-value   = "header" / "session" / "user" /
                "id" / "none" / "critical" / token
 example:
           Privacy: id
 

Since:
2.0
Version:
2.0
Author:
Oracle Inc., NIST
See Also:
PAssertedIdentityHeader, PPreferredIdentityHeader

Field Summary
static String NAME
          Name of PrivacyHeader
 
Method Summary
 String getPrivacy()
          Get Privacy header value
 void setPrivacy(String privacy)
          Set Privacy header value
 
Methods inherited from interface javax.sip.header.Header
clone, equals, getName, getValue, hashCode, toString
 

Field Detail

NAME

static final String NAME
Name of PrivacyHeader

See Also:
Constant Field Values
Method Detail

setPrivacy

void setPrivacy(String privacy)
                throws ParseException
Set Privacy header value

Parameters:
privacy - -- privacy type to set.
Throws:
ParseException

getPrivacy

String getPrivacy()
Get Privacy header value

Returns:
privacy token name

JAIN-SIP 2.0 API


See conditions of use.
Submit a bug report or feature request.