public class GetSlavesServlet extends BaseHttpServlet implements CartePluginInterface
| Modifier and Type | Field and Description |
|---|---|
static String |
CONTEXT_PATH |
static String |
XML_TAG_SLAVESERVER_DETECTIONS |
detections, jobMap, log, socketRepository, transformationMap| Constructor and Description |
|---|
GetSlavesServlet() |
GetSlavesServlet(List<SlaveServerDetection> slaveServers) |
GetSlavesServlet(List<SlaveServerDetection> slaveServers,
boolean isJetty) |
| Modifier and Type | Method and Description |
|---|---|
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
String |
getContextPath() |
String |
getService() |
String |
toString() |
convertContextPath, doDelete, doPost, doPut, getDetections, getJobMap, getSocketRepository, getTransformationMap, isJettyMode, logBasic, logBasic, logDebug, logDetailed, logDetailed, logError, logError, logError, logMinimal, logRowlevel, setJettyMode, setupdoHead, doOptions, doTrace, getLastModified, service, servicedestroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, logclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisJettyMode, setJettyMode, setuppublic static final String XML_TAG_SLAVESERVER_DETECTIONS
public static final String CONTEXT_PATH
public GetSlavesServlet()
public GetSlavesServlet(List<SlaveServerDetection> slaveServers)
public GetSlavesServlet(List<SlaveServerDetection> slaveServers, boolean isJetty)
public void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
Gets list of slave servers. Retrieves list of slave servers which are known to specific server.
Example Request:
GET /kettle/getSlaves
| element: | (custom) |
| media types: | text/xml |
Response contains list of slave servers.
Example Response:
Dynamic slave [localhost:909] localhost 909
cluster Encrypted 2be98afc86aa7f2e4cb1aa265cd86aac8
N
Y
2014/11/17 06:42:28.043
2014/11/17 06:42:27.372
| code | description |
|---|---|
| 200 | Request was processed. |
| 500 | Internal server error occurs during request processing. |
doGet in interface CartePluginInterfacedoGet in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionpublic String getService()
getService in interface CarteServletInterfacepublic String getContextPath()
getContextPath in interface CartePluginInterfaceCopyright © 2018 Hitachi Vantara. All rights reserved.