Package ch.tocco.nice2.rest.core.impl
Class RestCoreConfiguration
java.lang.Object
ch.tocco.nice2.appmodule.api.AbstractConfiguration
ch.tocco.nice2.rest.core.impl.RestCoreConfiguration
@Configuration
@PropertySource("classpath:ch/tocco/nice2/rest/core/impl/default.properties")
public class RestCoreConfiguration
extends AbstractConfiguration
-
Field Summary
Fields inherited from class ch.tocco.nice2.appmodule.api.AbstractConfiguration
moduleManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbadRequestExceptionMapperContribution
(BadRequestExceptionMapper exceptionMapper) clientQuestionExceptionMapperContribution
(ClientQuestionExceptionMapper exceptionMapper) deleteExceptionMapperContribution
(BadRequestExceptionMapper exceptionMapper) informationExceptionMapperContribution
(InformationExceptionMapper exceptionMapper) org.springframework.boot.web.servlet.ServletRegistrationBean
<Nice2JerseyServlet> preconditionRequiredExceptionMapperContribution
(PreconditionRequiredExceptionMapper exceptionMapper) restResources
(org.springframework.context.ApplicationContext applicationContext) textInformationExceptionMapperContribution
(InformationExceptionMapper exceptionMapper) textresourceInformationExceptionExceptionMapperContribution
(InformationExceptionMapper exceptionMapper) unauthorizedExceptionMapperContribution
(UnauthorizedExceptionMapper exceptionMapper) webApplicationExceptionMapperContribution
(WebApplicationExceptionMapper exceptionMapper) Methods inherited from class ch.tocco.nice2.appmodule.api.AbstractConfiguration
currentModule, findModelResource, findModelResource, findModelResources, getModelResourceUrl, setModuleManager
-
Constructor Details
-
RestCoreConfiguration
public RestCoreConfiguration()
-
-
Method Details
-
jerseyServletRegistration
@Bean public org.springframework.boot.web.servlet.ServletRegistrationBean<Nice2JerseyServlet> jerseyServletRegistration(Nice2JerseyServlet servlet) -
restResources
@Bean public List<ResourceContribution> restResources(org.springframework.context.ApplicationContext applicationContext) -
webApplicationExceptionMapperContribution
@Bean public ExceptionMapperContribution webApplicationExceptionMapperContribution(WebApplicationExceptionMapper exceptionMapper) -
resourceNotFoundExceptionMapperContribution
@Bean public ExceptionMapperContribution resourceNotFoundExceptionMapperContribution(ResourceNotFoundExceptionMapper exceptionMapper) -
badRequestExceptionMapperContribution
@Bean public ExceptionMapperContribution badRequestExceptionMapperContribution(BadRequestExceptionMapper exceptionMapper) -
deleteExceptionMapperContribution
@Bean public ExceptionMapperContribution deleteExceptionMapperContribution(BadRequestExceptionMapper exceptionMapper) -
unauthorizedExceptionMapperContribution
@Bean public ExceptionMapperContribution unauthorizedExceptionMapperContribution(UnauthorizedExceptionMapper exceptionMapper) -
preconditionFailedExceptionMapperContribution
@Bean public ExceptionMapperContribution preconditionFailedExceptionMapperContribution(PreconditionFailedExceptionMapper exceptionMapper) -
preconditionRequiredExceptionMapperContribution
@Bean public ExceptionMapperContribution preconditionRequiredExceptionMapperContribution(PreconditionRequiredExceptionMapper exceptionMapper) -
clientQuestionExceptionMapperContribution
@Bean public ExceptionMapperContribution clientQuestionExceptionMapperContribution(ClientQuestionExceptionMapper exceptionMapper) -
informationExceptionMapperContribution
@Bean public ExceptionMapperContribution informationExceptionMapperContribution(InformationExceptionMapper exceptionMapper) -
textInformationExceptionMapperContribution
@Bean public ExceptionMapperContribution textInformationExceptionMapperContribution(InformationExceptionMapper exceptionMapper) -
textMessageInformationExceptionMapperContribution
@Bean public ExceptionMapperContribution textMessageInformationExceptionMapperContribution(InformationExceptionMapper exceptionMapper) -
textresourceInformationExceptionExceptionMapperContribution
@Bean public ExceptionMapperContribution textresourceInformationExceptionExceptionMapperContribution(InformationExceptionMapper exceptionMapper) -
queryTimeoutExceptionExceptionMapperContribution
@Bean public ExceptionMapperContribution queryTimeoutExceptionExceptionMapperContribution(QueryTimeoutExceptionMapper exceptionMapper) -
restHeaderContribution
-