Interface MinSEHeader

  • All Superinterfaces:
    Cloneable, Header, Parameters, Serializable

    public interface MinSEHeader
    extends 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 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 - if interval is less than 90 seconds, the minimum refresh interval permitted by the spec.