| javax.sip.header.PriorityHeader
PriorityHeader | public interface PriorityHeader extends Header(Code) | | 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:
- EMERGENCY
- URGENT
- NORMAL
- NON_URGENT
For Example:
Subject: Weekend plans
Priority: non-urgent
author: BEA Systems, NIST version: 1.2 |
Field Summary | |
final public 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. | final public static String | NAME | final public static String | NON_URGENT | final public static String | NORMAL | final public static String | URGENT |
EMERGENCY | final public static String EMERGENCY(Code) | | Emergency priority constant - It is RECOMMENDED that the value of
"emergency" only be used when life, limb, or property are in imminent
danger. Otherwise, there are no semantics defined for this header
field.
|
NAME | final public static String NAME(Code) | | Name of PriorityHeader
|
NON_URGENT | final public static String NON_URGENT(Code) | | Non-urgent priority constant
|
NORMAL | final public static String NORMAL(Code) | | Normal priority constant
|
URGENT | final public static String URGENT(Code) | | Urgent priority constant
|
getPriority | public String getPriority()(Code) | | Gets the string priority value of the PriorityHeader.
the string priority value of the PriorityHeader |
setPriority | public void setPriority(String priority) throws ParseException(Code) | | Set priority of PriorityHeader
Parameters: priority - - the new string priority value throws: ParseException - which signals that an error has been reachedunexpectedly while parsing the priority value. |
|
|