JAIN-SIP 2.0 API

javax.sip.header.ims
Interface PMediaAuthorizationHeader

All Superinterfaces:
Cloneable, Header, Serializable

public interface PMediaAuthorizationHeader
extends Header

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

syntax:

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

Author:
Oracle Inc., NIST

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

JAIN-SIP 2.0 API


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