org.locomotive.loco
Class ServerServlet

java.lang.Object
  |
  +--javax.servlet.GenericServlet
        |
        +--javax.servlet.http.HttpServlet
              |
              +--org.locomotive.loco.ServerServlet

public class ServerServlet
extends javax.servlet.http.HttpServlet

The Server Servlet provides bare bones administration facilities for the Locomotive. It is accessed by the url token 'srv'. Valid commands include:

This class implements the same functionality as the ServerHandler, except in Servlet form.

See Also:
Serialized Form

Constructor Summary
ServerServlet()
           
 
Method Summary
 void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
           
protected static java.lang.String handleSRTReloadRequest(User user)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doOptions, doPost, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerServlet

public ServerServlet()
Method Detail

doGet

public void doGet(javax.servlet.http.HttpServletRequest req,
                  javax.servlet.http.HttpServletResponse resp)
           throws javax.servlet.ServletException,
                  java.io.IOException
Overrides:
doGet in class javax.servlet.http.HttpServlet

handleSRTReloadRequest

protected static java.lang.String handleSRTReloadRequest(User user)