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
-
-
Field Summary
-
Fields inherited from class io.jans.configapi.rest.resource.auth.ConfigBaseResource
DEFAULT_LIST_SIZE, DEFAULT_LIST_START_INDEX, DEFAULT_MAX_COUNT, READ_ACCESS, WRITE_ACCESS
-
-
Constructor Summary
Constructors Constructor Description CacheConfigurationResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.ws.rs.core.Response
getCacheConfiguration()
jakarta.ws.rs.core.Response
getInMemoryConfiguration()
jakarta.ws.rs.core.Response
getMemcachedConfiguration()
jakarta.ws.rs.core.Response
getNativePersistenceConfiguration()
jakarta.ws.rs.core.Response
getRedisConfiguration()
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, checkResourceNotNull, createSearchRequest, getBadRequestException, getInternalServerException, getMissingAttributeError, getNotAcceptableException, getNotFoundError, thorwBadRequestException, thorwInternalServerException, throwMissingAttributeError
-
-
-
-
Method Detail
-
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)
-
-