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

javax.sip.header
Interface SubjectHeader

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

public interface SubjectHeader
extends Header

The Subject header field provides a summary or indicates the nature of the call, allowing call filtering without having to parse the session description. The session description does not have to use the same subject indication as the invitation.

For Example:
Subject: Where is the Moscone?

Version:
1.2
Author:
BEA Systems, NIST

Field Summary
static String NAME
          Name of SubjectHeader
 
Method Summary
 String getSubject()
          Gets the subject value of SubjectHeader.
 void setSubject(String subject)
          Sets the subject value of the SubjectHeader to the supplied string subject value.
 
Methods inherited from interface javax.sip.header.Header
clone, equals, getName, hashCode, toString
 

Field Detail

NAME

static final String NAME
Name of SubjectHeader

See Also:
Constant Field Values
Method Detail

setSubject

void setSubject(String subject)
                throws ParseException
Sets the subject value of the SubjectHeader to the supplied string subject value.

Parameters:
subject - - the new subject value of this header.
Throws:
ParseException - which signals that an error has been reached unexpectedly while parsing the subject value.

getSubject

String getSubject()
Gets the subject value of SubjectHeader.

Returns:
subject of SubjectHeader.

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.