Class ConfigApiResource


  • @Path("/api-config")
    @Produces("application/json")
    @Consumes("application/json")
    public class ConfigApiResource
    extends ConfigBaseResource
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      jakarta.ws.rs.core.Response getAppConfiguration()  
      jakarta.ws.rs.core.Response patchAppConfigurationProperty​(@NotNull String jsonPatchString)  
      • Methods inherited from class io.jans.configapi.core.rest.BaseResource

        checkNotEmpty, checkNotEmpty, checkNotNull, checkNotNull, checkNotNull, checkResourceNotNull, createSearchRequest, findRootError, getBadRequestException, getBadRequestException, getBadRequestException, getHttpHeaders, getHttpRequest, getInternalServerException, getInternalServerException, getMissingAttributeError, getNotAcceptableException, getNotFoundError, getNotFoundError, getUriInfo, throwBadRequestException, throwBadRequestException, throwBadRequestException, throwInternalServerException, throwInternalServerException, throwInternalServerException, throwInternalServerException, throwMissingAttributeError, throwNotFoundException, throwNotFoundException
    • Constructor Detail

      • ConfigApiResource

        public ConfigApiResource()
    • Method Detail

      • getAppConfiguration

        @GET
        public jakarta.ws.rs.core.Response getAppConfiguration()
      • patchAppConfigurationProperty

        @PATCH
        @Consumes("application/json-patch+json")
        public jakarta.ws.rs.core.Response patchAppConfigurationProperty​(@NotNull
                                                                         @NotNull String jsonPatchString)
                                                                  throws com.github.fge.jsonpatch.JsonPatchException,
                                                                         IOException
        Throws:
        com.github.fge.jsonpatch.JsonPatchException
        IOException