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

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

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

public interface PMediaAuthorizationHeader
extends Header

The P-Media-Authorization SIP Private Header - RFC 3313.

Sintax:

 P-Media-Authorization   = "P-Media-Authorization" HCOLON
                            P-Media-Authorization-Token
                            *(COMMA P-Media-Authorization-Token)
 P-Media-Authorization-Token = 1*HEXDIG
 

Author:
Miguel Freitas (IT) PT-Inovacao

Field Summary
static String NAME
          Name of PMediaAuthorizationHeader
 
Method Summary
 String getToken()
          Get the media authorization token.
 void setMediaAuthorizationToken(String token)
          Set the media authorization token.
 
Methods inherited from interface javax.sip.header.Header
clone, equals, getName, hashCode, toString
 

Field Detail

NAME

static final String NAME
Name of PMediaAuthorizationHeader

See Also:
Constant Field Values
Method Detail

setMediaAuthorizationToken

void setMediaAuthorizationToken(String token)
                                throws InvalidArgumentException
Set the media authorization token.

Parameters:
token - - media authorization token to set
Throws:
InvalidArgumentException - - if token is null or empty

getToken

String getToken()
Get the media authorization token.

Returns:
token

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.