Class GetSlavesServlet

java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.pentaho.di.www.BaseHttpServlet
org.pentaho.di.www.GetSlavesServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig, CartePluginInterface, CarteServletInterface

public class GetSlavesServlet extends BaseHttpServlet implements CartePluginInterface
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • doGet

      public void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException

      /kettle/getSlaves

      GET

      Gets list of slave servers. Retrieves list of slave servers which are known to specific server.

      Example Request:

          GET /kettle/getSlaves
          

      Response Body

      element: (custom)
      media types: text/xml

      Response contains list of slave servers.

      Example Response:

          <?xml version="1.0" encoding="UTF-8"?>
          
          
            
              Dynamic slave [localhost:909]localhost909
              clusterEncrypted 2be98afc86aa7f2e4cb1aa265cd86aac8
              N
            
            Y
            2014/11/17 06:42:28.043
            2014/11/17 06:42:27.372
          
      
        
          

      Status Codes

      code description
      200 Request was processed.
      500 Internal server error occurs during request processing.
      Specified by:
      doGet in interface CartePluginInterface
      Overrides:
      doGet in class javax.servlet.http.HttpServlet
      Throws:
      javax.servlet.ServletException
      IOException
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getService

      public String getService()
      Specified by:
      getService in interface CarteServletInterface
    • getContextPath

      public String getContextPath()
      Specified by:
      getContextPath in interface CartePluginInterface