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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Responsejakarta.ws.rs.core.Responsejakarta.ws.rs.core.Responsejakarta.ws.rs.core.Responsejakarta.ws.rs.core.Responsejakarta.ws.rs.core.ResponsepatchCacheConfiguration(@NotNull String requestString) jakarta.ws.rs.core.ResponsepatchInMemoryConfiguration(@NotNull String requestString) jakarta.ws.rs.core.ResponsepatchMemcachedConfiguration(@NotNull String requestString) jakarta.ws.rs.core.ResponsepatchNativePersistenceConfiguration(@NotNull String requestString) jakarta.ws.rs.core.ResponsepatchRedisConfiguration(@NotNull String requestString) jakarta.ws.rs.core.ResponseupdateInMemoryConfiguration(@NotNull io.jans.service.cache.InMemoryConfiguration inMemoryConfiguration) jakarta.ws.rs.core.ResponseupdateMemcachedConfiguration(@NotNull io.jans.service.cache.MemcachedConfiguration memcachedConfiguration) jakarta.ws.rs.core.ResponseupdateNativePersistenceConfiguration(@NotNull io.jans.service.cache.NativePersistenceConfiguration nativePersistenceConfiguration) jakarta.ws.rs.core.ResponseupdateRedisConfiguration(@NotNull io.jans.service.cache.RedisConfiguration redisConfiguration) Methods inherited from class io.jans.configapi.rest.resource.auth.ConfigBaseResource
getMaxCountMethods 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)
-