org.openqa.grid.web.servlet
Class RegistrationServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.openqa.grid.web.servlet.RegistryBasedServlet
              extended by org.openqa.grid.web.servlet.RegistrationServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class RegistrationServlet
extends RegistryBasedServlet

entry point for the registration API the grid provides. The RegistrationRequest sent to http://hub:port/grid/register will be used to create a RemoteProxy and add it to the grid.

See Also:
Serialized Form

Constructor Summary
RegistrationServlet()
           
RegistrationServlet(Registry registry)
           
 
Method Summary
protected  void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  void process(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  void reply(javax.servlet.http.HttpServletResponse response, java.lang.String content)
           
 
Methods inherited from class org.openqa.grid.web.servlet.RegistryBasedServlet
getRegistry
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, 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
 

Constructor Detail

RegistrationServlet

public RegistrationServlet()

RegistrationServlet

public RegistrationServlet(Registry registry)
Method Detail

doGet

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

doPost

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

process

protected void process(javax.servlet.http.HttpServletRequest request,
                       javax.servlet.http.HttpServletResponse response)
                throws java.io.IOException
Throws:
java.io.IOException

reply

protected void reply(javax.servlet.http.HttpServletResponse response,
                     java.lang.String content)
              throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2011. All Rights Reserved.