BEA Systems, Inc.

BEA WebLogic SIP Server 3.0 API Reference


com.bea.wcp.sip
Class WlssSipServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.sip.SipServlet
          extended bycom.bea.wcp.sip.WlssSipServlet
All Implemented Interfaces:
java.io.Serializable, Servlet, ServletConfig

public class WlssSipServlet
extends SipServlet

This class is a WebLogic SIP Server specific extension of the class javax.servlet.sip.SipServlet, which introduces two new methods doRefer() and doPublish() for handling REFER and PUBLISH methods respectively.

See Also:
Serialized Form
Copyright © 2006 BEA Systems, Inc. All Rights Reserved.

Field Summary
 
Fields inherited from class javax.servlet.sip.SipServlet
SIP_FACTORY, SUPPORTED, TIMER_SERVICE
 
Constructor Summary
WlssSipServlet()
           
 
Method Summary
protected  void doPublish(SipServletRequest req)
          Invoked by the server (via the service method) to handle incoming PUBLISH requests.
protected  void doRefer(SipServletRequest req)
          Invoked by the server (via the service method) to handle incoming REFER requests.
protected  void doRequest(SipServletRequest req)
           
protected  void doUpdate(SipServletRequest req)
          Invoked by the server (via the service method) to handle incoming UPDATE requests.
 
Methods inherited from class javax.servlet.sip.SipServlet
doAck, doBye, doCancel, doErrorResponse, doInfo, doInvite, doMessage, doNotify, doOptions, doPrack, doProvisionalResponse, doRedirectResponse, doRegister, doResponse, doSubscribe, doSuccessResponse, log, log, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WlssSipServlet

public WlssSipServlet()
Method Detail

doPublish

protected void doPublish(SipServletRequest req)
                  throws ServletException,
                         java.io.IOException
Invoked by the server (via the service method) to handle incoming PUBLISH requests.

The default implementation is empty and must be overridden by subclasses to do something useful.

Parameters:
req - represents the incoming SIP PUBLISH request
Throws:
ServletException - if an exception occurs that interferes with the servlet's normal operation
java.io.IOException - if an input or output exception occurs

doRefer

protected void doRefer(SipServletRequest req)
                throws ServletException,
                       java.io.IOException
Invoked by the server (via the service method) to handle incoming REFER requests.

The default implementation is empty and must be overridden by subclasses to do something useful.

Parameters:
req - represents the incoming SIP REFER request
Throws:
ServletException - if an exception occurs that interferes with the servlet's normal operation
java.io.IOException - if an input or output exception occurs

doRequest

protected void doRequest(SipServletRequest req)
                  throws ServletException,
                         java.io.IOException
Throws:
ServletException
java.io.IOException

doUpdate

protected void doUpdate(SipServletRequest req)
                 throws ServletException,
                        java.io.IOException
Invoked by the server (via the service method) to handle incoming UPDATE requests.

The default implementation is empty and must be overridden by subclasses to do something useful.

Parameters:
req - represents the incoming SIP UPDATE request
Throws:
ServletException - if an exception occurs that interferes with the servlet's normal operation
java.io.IOException - if an input or output exception occurs

Documentation is available at
http://download.oracle.com/docs/cd/E13209_01/wlcp/wlss30/
Copyright 2006 BEA Systems Inc.