com.buglabs.bug.service
Class WSServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.buglabs.bug.service.AbstractWSServlet
              extended by com.buglabs.bug.service.WSServlet
All Implemented Interfaces:
java.io.Serializable, Servlet, ServletConfig

public class WSServlet
extends AbstractWSServlet

This class used to do it all, but now it extends AbstractWSServlet so other Service view classes can share functionality. Some of this classes previous functionality has been pushed into it's abstract parent.

See Also:
Serialized Form

Constructor Summary
WSServlet(BundleContext context, java.util.Hashtable serviceMap, ConfigurationAdmin configAdmin)
           
 
Method Summary
protected  void executeHttpMethod(HttpServletRequest req, HttpServletResponse resp, int method)
          override this method to handle all default requests
 
Methods inherited from class com.buglabs.bug.service.AbstractWSServlet
addPublicService, doDelete, doGet, doPost, doPut, getConfigurationAdmin, getServiceMap, removePublicService, serviceChanged
 
Methods inherited from class javax.servlet.http.HttpServlet
doHead, doOptions, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSServlet

public WSServlet(BundleContext context,
                 java.util.Hashtable serviceMap,
                 ConfigurationAdmin configAdmin)
Method Detail

executeHttpMethod

protected void executeHttpMethod(HttpServletRequest req,
                                 HttpServletResponse resp,
                                 int method)
                          throws java.io.IOException,
                                 ServletException
Description copied from class: AbstractWSServlet
override this method to handle all default requests

Specified by:
executeHttpMethod in class AbstractWSServlet
Throws:
java.io.IOException
ServletException