Class CacheConfigurationResource
java.lang.Object
io.jans.configapi.core.rest.BaseResource
io.jans.configapi.rest.resource.auth.ConfigBaseResource
io.jans.configapi.rest.resource.auth.CacheConfigurationResource
@Path("/config/cache")
@Consumes("application/json")
@Produces("application/json")
public class CacheConfigurationResource
extends ConfigBaseResource
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
patchCacheConfiguration
(@NotNull String requestString) jakarta.ws.rs.core.Response
patchInMemoryConfiguration
(@NotNull String requestString) jakarta.ws.rs.core.Response
patchMemcachedConfiguration
(@NotNull String requestString) jakarta.ws.rs.core.Response
patchNativePersistenceConfiguration
(@NotNull String requestString) jakarta.ws.rs.core.Response
patchRedisConfiguration
(@NotNull String requestString) jakarta.ws.rs.core.Response
updateInMemoryConfiguration
(@NotNull io.jans.service.cache.InMemoryConfiguration inMemoryConfiguration) jakarta.ws.rs.core.Response
updateMemcachedConfiguration
(@NotNull io.jans.service.cache.MemcachedConfiguration memcachedConfiguration) jakarta.ws.rs.core.Response
updateNativePersistenceConfiguration
(@NotNull io.jans.service.cache.NativePersistenceConfiguration nativePersistenceConfiguration) jakarta.ws.rs.core.Response
updateRedisConfiguration
(@NotNull io.jans.service.cache.RedisConfiguration redisConfiguration) Methods inherited from class io.jans.configapi.rest.resource.auth.ConfigBaseResource
getMaxCount
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 Details
-
CacheConfigurationResource
public CacheConfigurationResource()
-
-
Method Details
-
getCacheConfiguration
@GET public jakarta.ws.rs.core.Response getCacheConfiguration() -
patchCacheConfiguration
@PATCH @Consumes("application/json-patch+json") public jakarta.ws.rs.core.Response patchCacheConfiguration(@NotNull @NotNull String requestString) -
getRedisConfiguration
@GET @Path("/redis") public jakarta.ws.rs.core.Response getRedisConfiguration() -
updateRedisConfiguration
@PUT @Path("/redis") public jakarta.ws.rs.core.Response updateRedisConfiguration(@NotNull @NotNull io.jans.service.cache.RedisConfiguration redisConfiguration) -
patchRedisConfiguration
@PATCH @Path("/redis") @Consumes("application/json-patch+json") public jakarta.ws.rs.core.Response patchRedisConfiguration(@NotNull @NotNull String requestString) -
getInMemoryConfiguration
@GET @Path("/in-memory") public jakarta.ws.rs.core.Response getInMemoryConfiguration() -
updateInMemoryConfiguration
@PUT @Path("/in-memory") public jakarta.ws.rs.core.Response updateInMemoryConfiguration(@NotNull @NotNull io.jans.service.cache.InMemoryConfiguration inMemoryConfiguration) -
patchInMemoryConfiguration
@PATCH @Path("/in-memory") @Consumes("application/json-patch+json") public jakarta.ws.rs.core.Response patchInMemoryConfiguration(@NotNull @NotNull String requestString) -
getNativePersistenceConfiguration
@GET @Path("/native-persistence") public jakarta.ws.rs.core.Response getNativePersistenceConfiguration() -
updateNativePersistenceConfiguration
@PUT @Path("/native-persistence") public jakarta.ws.rs.core.Response updateNativePersistenceConfiguration(@NotNull @NotNull io.jans.service.cache.NativePersistenceConfiguration nativePersistenceConfiguration) -
patchNativePersistenceConfiguration
@PATCH @Path("/native-persistence") @Consumes("application/json-patch+json") public jakarta.ws.rs.core.Response patchNativePersistenceConfiguration(@NotNull @NotNull String requestString) -
getMemcachedConfiguration
@GET @Path("/memcached") public jakarta.ws.rs.core.Response getMemcachedConfiguration() -
updateMemcachedConfiguration
@PUT @Path("/memcached") public jakarta.ws.rs.core.Response updateMemcachedConfiguration(@NotNull @NotNull io.jans.service.cache.MemcachedConfiguration memcachedConfiguration) -
patchMemcachedConfiguration
@PATCH @Path("/memcached") @Consumes("application/json-patch+json") public jakarta.ws.rs.core.Response patchMemcachedConfiguration(@NotNull @NotNull String requestString)
-