Class RestTPacV1Servlet

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

public class RestTPacV1Servlet extends AbstractRestServlet
Provides a TPac REST API Servlet.
Since:
17.10.0
See Also:
  • Field Details

    • PARAM_ARCHIVE_FILE

      public static final String PARAM_ARCHIVE_FILE
      The parameter pointing to the archive file for upload operations
      See Also:
    • PARAM_OVERRIDE

      public static final String PARAM_OVERRIDE
      The parameter pointing to overriding existing assets
      See Also:
  • Constructor Details

    • RestTPacV1Servlet

      public RestTPacV1Servlet()
  • Method Details

    • getRestBasePath

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

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

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

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