public class GridForceRestartDelegateServlet
extends org.openqa.grid.web.servlet.RegistryBasedServlet
RegistryBasedServlet
based servlet is responsible for sending restart requests to all the registered
nodes.LoginServlet
available. Furthermore, only nodes which use
SeLionRemoteProxy
and NodeForceRestartServlet
or implement support for the HTTP request
/extra/NodeForceRestartServlet are compatible.Modifier and Type | Field and Description |
---|---|
static String |
FORM_ID
Request parameter used to perform the restart.
|
static String |
NODES
Request parameter which contains nodes to restart.
|
static String |
RESOURCE_PAGE_FILE
Resource path to the grid auto upgrade html template file
|
static String |
SUBMIT
Request parameter used to indicate restart type.
|
Constructor and Description |
---|
GridForceRestartDelegateServlet() |
GridForceRestartDelegateServlet(org.openqa.grid.internal.Registry registry) |
Modifier and Type | Method and Description |
---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse response) |
protected void |
process(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public static final String RESOURCE_PAGE_FILE
public static final String FORM_ID
public static final String SUBMIT
public static final String NODES
public GridForceRestartDelegateServlet()
public GridForceRestartDelegateServlet(org.openqa.grid.internal.Registry registry)
protected void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
doGet
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
protected void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
doPost
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
protected void process(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException
IOException
Copyright © 2016 PayPal Open Source. All rights reserved.