|
JSIP API v1.2 November 2006 |
||||||||
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 java.lang.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 java.lang.String |
NAME
Name of PriorityHeader |
static java.lang.String |
NON_URGENT
Non-urgent priority constant |
static java.lang.String |
NORMAL
Normal priority constant |
static java.lang.String |
URGENT
Urgent priority constant |
Method Summary | |
---|---|
java.lang.String |
getPriority()
Gets the string priority value of the PriorityHeader. |
void |
setPriority(java.lang.String priority)
Set priority of PriorityHeader |
Methods inherited from interface javax.sip.header.Header |
---|
clone, equals, getName, hashCode, toString |
Field Detail |
---|
static final java.lang.String URGENT
static final java.lang.String NORMAL
static final java.lang.String NON_URGENT
static final java.lang.String EMERGENCY
static final java.lang.String NAME
Method Detail |
---|
void setPriority(java.lang.String priority) throws java.text.ParseException
priority
- - the new string priority value
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the priority value.java.lang.String getPriority()
|
JSIP API v1.2 November 2006 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |