SipServletRequest
The SipServletRequest interface represents SIP request messages. It extends the ServletRequest and SipServletMessage interfaces, inheriting their functionalities and providing additional methods specific to SIP requests.
This interface allows servlets to handle incoming SIP requests and manage outgoing SIP requests.
SIP request messages are used to initiate, modify, and terminate SIP sessions or transactions. The SipServletRequest interface encapsulates these requests and provides tools to handle incoming SIP requests, which are delivered by the container to the SIP servlet. And also create outgoing SIP requests using the SipFactory, enabling applications to modify and send them.
The SipServletRequest interface inherits methods and behaviors from the following interfaces:
- ServletRequest: Provides methods to interact with request-level properties, such as attributes and character encoding.
- SipServletMessage: Enables handling of common SIP message functionalities, including header and content management, session associations, and more.
By combining these functionalities, the SipServletRequest interface offers the advantages of both generic servlet capabilities and SIP-specific features.
Applications can initiate outgoing requests using the SipFactory in the following way:
Sign in to read the full article
Start innovating with Mobius
What's next? Let's talk!