Class MessageConfigurationResource
- java.lang.Object
-
- io.jans.configapi.core.rest.BaseResource
-
- io.jans.configapi.rest.resource.auth.ConfigBaseResource
-
- io.jans.configapi.rest.resource.auth.MessageConfigurationResource
-
@Path("/config/message") @Consumes("application/json") @Produces("application/json") public class MessageConfigurationResource extends ConfigBaseResource
Configuration endpoints for messages- Author:
- Yuriy Movchan Date: 07/12/2023
-
-
Constructor Summary
Constructors Constructor Description MessageConfigurationResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.ws.rs.core.Response
getMessageConfiguration()
jakarta.ws.rs.core.Response
getPostgresConfiguration()
jakarta.ws.rs.core.Response
getRedisMessageConfiguration()
jakarta.ws.rs.core.Response
patchMessageConfiguration(@NotNull String requestString)
jakarta.ws.rs.core.Response
patchPostgresMessageConfiguration(@NotNull String requestString)
jakarta.ws.rs.core.Response
patchRedisMessageConfiguration(@NotNull String requestString)
jakarta.ws.rs.core.Response
updatePostgresMessageConfiguration(@NotNull io.jans.service.message.model.config.PostgresMessageConfiguration postgresMessageConfiguration)
jakarta.ws.rs.core.Response
updateRedisMessageConfiguration(@NotNull io.jans.service.message.model.config.RedisMessageConfiguration 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, getMissingAttributeError, getNotAcceptableException, getNotFoundError, getUriInfo, throwBadRequestException, throwBadRequestException, throwBadRequestException, throwInternalServerException, throwInternalServerException, throwMissingAttributeError
-
-
-
-
Method Detail
-
getMessageConfiguration
@GET public jakarta.ws.rs.core.Response getMessageConfiguration()
-
patchMessageConfiguration
@PATCH @Consumes("application/json-patch+json") public jakarta.ws.rs.core.Response patchMessageConfiguration(@NotNull @NotNull String requestString)
-
getRedisMessageConfiguration
@GET @Path("/redis") public jakarta.ws.rs.core.Response getRedisMessageConfiguration()
-
updateRedisMessageConfiguration
@PUT @Path("/redis") public jakarta.ws.rs.core.Response updateRedisMessageConfiguration(@NotNull @NotNull io.jans.service.message.model.config.RedisMessageConfiguration redisConfiguration)
-
patchRedisMessageConfiguration
@PATCH @Path("/redis") @Consumes("application/json-patch+json") public jakarta.ws.rs.core.Response patchRedisMessageConfiguration(@NotNull @NotNull String requestString)
-
getPostgresConfiguration
@GET @Path("/postgres") public jakarta.ws.rs.core.Response getPostgresConfiguration()
-
updatePostgresMessageConfiguration
@PUT @Path("/postgres") public jakarta.ws.rs.core.Response updatePostgresMessageConfiguration(@NotNull @NotNull io.jans.service.message.model.config.PostgresMessageConfiguration postgresMessageConfiguration)
-
patchPostgresMessageConfiguration
@PATCH @Path("/postgres") @Consumes("application/json-patch+json") public jakarta.ws.rs.core.Response patchPostgresMessageConfiguration(@NotNull @NotNull String requestString)
-
-