compbio.stat.servlet
Class HttpCodeResponseServiceStatus

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by compbio.stat.servlet.HttpCodeResponseServiceStatus
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class HttpCodeResponseServiceStatus
extends javax.servlet.http.HttpServlet

This servlet checks the webservice coming as pathinfo and returns http code as a reply. If the web service functions correctly then OK (200) is returned. otherwise Service unavailable (503). When the webservice is not recognised unknown service error (400) is sent as a response. If no pathinfo is specified all web services are checked and OK is returned only if all webservices are functioning.

Author:
pvtroshin
See Also:
Serialized Form

Constructor Summary
HttpCodeResponseServiceStatus()
           
 
Method Summary
 
Methods inherited from class javax.servlet.http.HttpServlet
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpCodeResponseServiceStatus

public HttpCodeResponseServiceStatus()