public interface PriorityHeader extends Header
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
Modifier and Type | Field and Description |
---|---|
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
|
Modifier and Type | Method and Description |
---|---|
String |
getPriority()
Gets the string priority value of the PriorityHeader.
|
void |
setPriority(String priority)
Set priority of PriorityHeader
|
static final String URGENT
static final String NORMAL
static final String NON_URGENT
static final String EMERGENCY
static final String NAME
void setPriority(String priority) throws ParseException
priority
- - the new string priority valueParseException
- which signals that an error has been reached
unexpectedly while parsing the priority value.String getPriority()
Copyright © 2015. All Rights Reserved.