public class ListAllNodes
extends org.openqa.grid.web.servlet.RegistryBasedServlet
RegistryBasedServlet
servlet which displays the list of nodes connected to the grid. This
servlet would have to be injected into the Grid. Modifier and Type | Field and Description |
---|---|
static String |
PING_NODES
Query parameter to use which instructs this servlet to ping the nodes for status.
|
static String |
RESOURCE_PAGE_FILE |
Constructor and Description |
---|
ListAllNodes() |
ListAllNodes(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 resp) |
protected void |
process(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method gets all the nodes which are connected to the grid machine from the Registry and displays them in
html page.
|
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public static final String RESOURCE_PAGE_FILE
public static final String PING_NODES
public ListAllNodes()
public ListAllNodes(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 resp) 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
request
- HttpServletRequest
that represents the servlet requestresponse
- HttpServletResponse
that represents the servlet responseIOException
Copyright © 2016 PayPal Open Source. All rights reserved.