|
NIST-SIP: The Reference Implementation for JAIN-SIP 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PriorityHeader
The Priority header field indicates the urgency of the request as perceived by the client. The Priority header field describes the priority that the SIP request should have to the receiving human or its agent. For example, it may be factored into decisions about call routing and acceptance. For these decisions, a message containing no Priority header field SHOULD be treated as if it specified a Priority of "Normal".
The Priority header field does not influence the use of communications resources such as packet forwarding priority in routers or access to circuits in PSTN gateways.
The currently defined priority values are:
Subject: Weekend plans
Priority: non-urgent
Field Summary | |
---|---|
static String |
EMERGENCY
Emergency priority constant - It is RECOMMENDED that the value of "emergency" only be used when life, limb, or property are in imminent danger. |
static String |
NAME
Name of PriorityHeader |
static String |
NON_URGENT
Non-urgent priority constant |
static String |
NORMAL
Normal priority constant |
static String |
URGENT
Urgent priority constant |
Method Summary | |
---|---|
String |
getPriority()
Gets the string priority value of the PriorityHeader. |
void |
setPriority(String priority)
Set priority of PriorityHeader |
Methods inherited from interface javax.sip.header.Header |
---|
clone, equals, getName, hashCode, toString |
Field Detail |
---|
static final String URGENT
static final String NORMAL
static final String NON_URGENT
static final String EMERGENCY
static final String NAME
Method Detail |
---|
void setPriority(String priority) throws ParseException
priority
- - the new string priority value
ParseException
- which signals that an error has been reached
unexpectedly while parsing the priority value.String getPriority()
|
NIST-SIP: The Reference Implementation for JAIN-SIP 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |