Class LicenseService


  • public class LicenseService
    extends Object
    Manages the edition of the license by an administrator.
    Since:
    2.0.0
    • Constructor Detail

      • LicenseService

        public LicenseService()
    • Method Detail

      • getLicenseConfiguration

        public Response getLicenseConfiguration()
      • addLicense

        public Response addLicense()
      • getUploadedItemAsString

        protected String getUploadedItemAsString​(HttpServletRequest request,
                                                 String field)
                                          throws IOException
        Gets an uploaded item by field name.
        Parameters:
        request - the HTTP request.
        field - the name of the field to look up.
        Returns:
        the String representation of the uploaded item if found, null otherwise.
        Throws:
        IOException - if there are problems reading/parsing the request or storing files, or if file item cannot be converted to String.
        Since:
        3.15.1