Class GetJobImageServlet

    • Constructor Detail

      • GetJobImageServlet

        public GetJobImageServlet()
      • GetJobImageServlet

        public GetJobImageServlet​(JobMap jobMap)
    • Method Detail

      • doGet

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

        /kettle/jobImage

        GET

        Generates and returns image of the specified job. Generates PNG image of the specified job currently present on Carte server. Job name and Carte job ID (optional) is used for specifying job to get information for. Response is binary of the PNG image.

        Example Request:

            GET /kettle/jobImage?name=dummy_job
            

        Parameters

        name description type
        name Name of the job to be used for image generation. query
        id Carte id of the job to be used for image generation. query, optional

        Response Body

        binary streak: image
        media types: image/png

        A binary PNG image or empty response if no job is found.

        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