Class RestApplicationPackageV1Servlet

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

public class RestApplicationPackageV1Servlet extends AbstractRestServlet
Provides a Application Package REST API Servlet.
Since:
5.1.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_INCLUDE_ALL_VERSIONS

      public static final String PARAM_INCLUDE_ALL_VERSIONS
      The parameter indicating whether to export all form versions when creating an application archive to download
      See Also:
    • PARAM_IMPORT_DELIVERY_CHANNELS

      public static final String PARAM_IMPORT_DELIVERY_CHANNELS
      The parameter indicating whether to import delivery channels
      See Also:
    • PARAM_IMPORT_FORMS

      public static final String PARAM_IMPORT_FORMS
      The parameter indicating whether to import forms
      See Also:
    • PARAM_IMPORT_ORG_PROPERTIES

      public static final String PARAM_IMPORT_ORG_PROPERTIES
      The parameter indicating whether to import forms
      See Also:
    • PARAM_IMPORT_ORG_REFERENCE_DATA

      public static final String PARAM_IMPORT_ORG_REFERENCE_DATA
      The parameter indicating whether to import organization reference data
      See Also:
    • PARAM_PRESERVE_ORG_REFERENCE_DATA

      public static final String PARAM_PRESERVE_ORG_REFERENCE_DATA
      The parameter indicating whether to preserve existing organization reference data
      See Also:
    • PARAM_IMPORT_SERVICES

      public static final String PARAM_IMPORT_SERVICES
      The parameter indicating whether to import service definitions
      See Also:
    • PARAM_IMPORT_SERVICE_CONNECTIONS

      public static final String PARAM_IMPORT_SERVICE_CONNECTIONS
      The parameter indicating whether to import service connections
      See Also:
    • PARAM_PRESERVE_DELIVERY_CHANNELS

      public static final String PARAM_PRESERVE_DELIVERY_CHANNELS
      The parameter indicating whether to preserve existing delivery channels and their configuration during import
      See Also:
    • PARAM_PRESERVE_SERVICES

      public static final String PARAM_PRESERVE_SERVICES
      The parameter indicating whether to preserve existing service definitions and their configuration during import
      See Also:
    • PARAM_PRESERVE_SERVICE_CONNECTIONS

      public static final String PARAM_PRESERVE_SERVICE_CONNECTIONS
      The parameter indicating whether to preserve existing service connections and their configuration during import
      See Also:
    • PARAM_OVERWRITE_EXISTING

      public static final String PARAM_OVERWRITE_EXISTING
      The parameter indicating whether to overwrite existing application packages
      See Also:
  • Constructor Details

    • RestApplicationPackageV1Servlet

      public RestApplicationPackageV1Servlet()
  • 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)
    • 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)
    • doPut

      protected void doPut(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws jakarta.servlet.ServletException, IOException
      Overrides:
      doPut in class jakarta.servlet.http.HttpServlet
      Throws:
      jakarta.servlet.ServletException
      IOException
      See Also:
      • HttpServlet.doPut(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)