public interface MessageHandler
SipClient, in which case an object implementing this interface must
be stored as the attribute named MessageHandler.class.getName()
either in the sent requests, or in the established SIP sessions.
When handling SIP messages, SipClient first checks for a
MessageHandler instance in the received request (or in the request associated
to the received response), and then in the message's session if unsuccessful.
Received initial requests, which normally do not have any handler defined,
are handled directly by the concerned UserAgent if any. If no handler
or user agent can be found, messages are dropped.
| Modifier and Type | Method and Description |
|---|---|
void |
handleRequest(javax.servlet.sip.SipServletRequest request) |
void |
handleResponse(javax.servlet.sip.SipServletResponse response) |
void handleRequest(javax.servlet.sip.SipServletRequest request)
throws IOException,
javax.servlet.ServletException
IOExceptionjavax.servlet.ServletExceptionvoid handleResponse(javax.servlet.sip.SipServletResponse response)
throws IOException,
javax.servlet.ServletException
IOExceptionjavax.servlet.ServletExceptionCopyright © 2014. All Rights Reserved.