Class SettingsServices

java.lang.Object
step.framework.server.AbstractServices<User>
step.core.deployment.AbstractStepServices
step.core.deployment.SettingsServices

@Singleton @Path("settings") public class SettingsServices extends AbstractStepServices
  • Field Details

  • Constructor Details

    • SettingsServices

      public SettingsServices()
  • Method Details

    • init

      @PostConstruct public void init() throws Exception
      Overrides:
      init in class AbstractStepServices
      Throws:
      Exception
    • saveSetting

      @POST @Consumes("application/json") @Path("/{id}") public void saveSetting(@PathParam("id") String key, String value)
    • deleteSetting

      @DELETE @Path("/{id}") public void deleteSetting(@PathParam("id") String key)
    • getSetting

      @GET @Path("/{id}") @Produces("text/plain") public String getSetting(@PathParam("id") String key)