Interface MinSEHeader
-
- All Superinterfaces:
Cloneable
,javax.sip.header.Header
,javax.sip.header.Parameters
,Serializable
public interface MinSEHeader extends javax.sip.header.Header, javax.sip.header.Parameters
Min-SE header from Session Timers Draft RFC.
The Min-SE header field indicates the minimum value for the session interval, in units of delta-seconds. When used in an INVITE or UPDATE request, it indicates the smallest value of the session interval that can be used for that session. When present in a request or response, its value MUST NOT be less than 90 seconds.The syntax of the Min-SE header field is:
Min-SE = 'Min-SE' HCOLON delta-seconds *(SEMI generic-param)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getInterval()
Gets the minimum session refresh interval for the session.void
setInterval(int interval)
Set the minimum session refresh interval time.
-
-
-
Field Detail
-
NAME
static final String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInterval
int getInterval()
Gets the minimum session refresh interval for the session.- Returns:
- the session refresh interval, in seconds.
-
setInterval
void setInterval(int interval) throws IllegalArgumentException
Set the minimum session refresh interval time.- Parameters:
interval
- the requested session refresh interval.- Throws:
IllegalArgumentException
- ifinterval
is less than 90 seconds, the minimum refresh interval permitted by the spec.
-
-