Class RestGroovyServiceInvokeV2Servlet

java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
com.avoka.fc.core.servlet.rest.AbstractRestServlet
com.avoka.fc.core.servlet.rest.RestGroovyServiceInvokeV2Servlet
All Implemented Interfaces:
jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable

public class RestGroovyServiceInvokeV2Servlet extends AbstractRestServlet
Provides a REST Groovy Service Invoke Servlet. This version was introduced in conjunction with changes to service name uniqueness.
Since:
5.0.0
See Also:
  • Field Details

    • PARAM_RESPONSE

      public static final String PARAM_RESPONSE
      The name of the HttpResponse parameter that TM will inject if no such parameter was passed into the request
      See Also:
  • Constructor Details

    • RestGroovyServiceInvokeV2Servlet

      public RestGroovyServiceInvokeV2Servlet()
  • Method Details

    • getRestBasePath

      protected String getRestBasePath()
      Specified by:
      getRestBasePath in class AbstractRestServlet
      Returns:
      the REST API base path
    • doGet

      protected void doGet(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException, jakarta.servlet.ServletException
      Overrides:
      doGet in class jakarta.servlet.http.HttpServlet
      Throws:
      IOException
      jakarta.servlet.ServletException
      See Also:
      • HttpServlet.doGet(HttpServletRequest, HttpServletResponse)
    • doPost

      protected void doPost(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException, jakarta.servlet.ServletException
      Overrides:
      doPost in class jakarta.servlet.http.HttpServlet
      Throws:
      IOException
      jakarta.servlet.ServletException
      See Also:
      • HttpServlet.doPost(HttpServletRequest, HttpServletResponse)