Interface LicenseRestService

All Known Implementing Classes:
LicenseRestServiceImpl

public interface LicenseRestService
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    Set a new license key
  • Field Details

  • Method Details

    • setLicenseKey

      @Consumes("application/json") @POST void setLicenseKey(LicenseKeyDto licenseKey)
      Set a new license key
      Parameters:
      licenseKey -
    • getLicenseKey

      @Produces("application/json") @GET @Path("/key") String getLicenseKey()
      Returns:
      the current license key