NIST-SIP: The Reference Implementation for JAIN-SIP 1.2

gov.nist.javax.sip.header.ims
Interface PrivacyHeader

All Superinterfaces:
Cloneable, Header, Serializable
All Known Implementing Classes:
Privacy

public interface PrivacyHeader
extends Header

Privacy Header RFC 3323.

Sintax:

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

Author:
Miguel Freitas (IT) PT-Inovacao

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, 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

NIST-SIP: The Reference Implementation for JAIN-SIP 1.2

A product of the NIST/ITL Advanced Networking Technologies Division.
See conditions of use.
Submit a bug report or feature request.