com.buglabs.bug.service
Class WSHtmlServlet

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.WSHtmlServlet
All Implemented Interfaces:
java.io.Serializable, Servlet, ServletConfig

public class WSHtmlServlet
extends AbstractWSServlet

This is a very simple servlet that provides an HTML view of the services availible on a BUG This is registered in PublicWSAdminImpl along with WSServlet, which handles the actual xml services

See Also:
Serialized Form

Constructor Summary
WSHtmlServlet(BundleContext context, java.util.Hashtable servicesMap, ConfigurationAdmin configAdmin)
           
 
Method Summary
protected  void executeHttpMethod(HttpServletRequest req, HttpServletResponse resp, int reqMethod)
          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

WSHtmlServlet

public WSHtmlServlet(BundleContext context,
                     java.util.Hashtable servicesMap,
                     ConfigurationAdmin configAdmin)
Method Detail

executeHttpMethod

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

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