Class ConfigApiResource


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

      • Fields inherited from class io.jans.configapi.core.rest.BaseResource

        FIELD_VALUE_SEPARATOR, MISSING_ATTRIBUTE_CODE, MISSING_ATTRIBUTE_MESSAGE, TOKEN_DELIMITER
    • 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, getHttpHeaders, getHttpRequest, getInternalServerException, getMissingAttributeError, getNotAcceptableException, getNotFoundError, getUriInfo, throwBadRequestException, throwBadRequestException, throwInternalServerException, throwInternalServerException, throwMissingAttributeError
    • 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