net.sf.lavalamp.runner
Class BuildStatusServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by net.sf.lavalamp.runner.BuildStatusServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class BuildStatusServlet
extends javax.servlet.http.HttpServlet

Sets the status for a build. Handles GET request with format http://mydomain:port/lavalamp?buildId=MYBUILID&successful=true|false

Author:
Steven Hale
See Also:
Serialized Form

Field Summary
static String BUILD_ID
           
static String SUCCESSFUL
           
 
Constructor Summary
BuildStatusServlet(DeviceController deviceController)
           
 
Method Summary
protected  void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, 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
 

Field Detail

SUCCESSFUL

public static final String SUCCESSFUL
See Also:
Constant Field Values

BUILD_ID

public static final String BUILD_ID
See Also:
Constant Field Values
Constructor Detail

BuildStatusServlet

public BuildStatusServlet(DeviceController deviceController)
Method Detail

doGet

protected void doGet(javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response)
              throws javax.servlet.ServletException,
                     IOException
Overrides:
doGet in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
IOException


Copyright © 2010. All Rights Reserved.