Package | Description |
---|---|
javax.servlet.sip |
The javax.servlet.sip package is the API for the SIP Servlets developed under JSR 359, this v2.0 version updates v1.1 developed under JSR 289.
|
Modifier and Type | Method and Description |
---|---|
SessionKeepAlive.Callback |
SessionKeepAlive.getExpiryCallback()
Return the expiry task set in the session.
|
SessionKeepAlive.Callback |
SessionKeepAlive.getRefreshCallback()
Return the task that was previously set using
setRefreshTask method. |
Modifier and Type | Method and Description |
---|---|
void |
SessionKeepAlive.setExpiryCallback(SessionKeepAlive.Callback callback)
Set the callback that will be executed by the container for sending the session termination request.
|
void |
SessionKeepAlive.setRefreshCallback(SessionKeepAlive.Callback callback)
Set the callback that will be executed by the container for sending the refresh request.
|
Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.