@RequestMapping(produces={"text/xml","application/xml"}) public abstract class ControllerBase extends Object
Modifier and Type | Field and Description |
---|---|
protected AppNGizerConfigurer |
configurer |
protected javax.servlet.ServletContext |
context |
protected CoreService |
coreService |
protected DatabaseService |
databaseService |
protected javax.servlet.http.HttpSession |
session |
protected TemplateService |
templateService |
Constructor and Description |
---|
ControllerBase() |
Modifier and Type | Method and Description |
---|---|
protected org.flywaydb.core.api.MigrationInfo |
getDatabaseStatus() |
String |
getSharedSecret() |
void |
onBusinessException(javax.servlet.http.HttpServletRequest request,
BusinessException e) |
void |
onConstraintViolationException(javax.servlet.http.HttpServletRequest request,
javax.validation.ConstraintViolationException e) |
@Autowired protected javax.servlet.ServletContext context
@Autowired protected javax.servlet.http.HttpSession session
@Autowired protected CoreService coreService
@Autowired protected TemplateService templateService
@Autowired protected DatabaseService databaseService
@Autowired protected AppNGizerConfigurer configurer
@ResponseStatus(value=INTERNAL_SERVER_ERROR) @ExceptionHandler(value=BusinessException.class) public void onBusinessException(javax.servlet.http.HttpServletRequest request, BusinessException e)
@ResponseStatus(value=BAD_REQUEST) @ExceptionHandler(value=javax.validation.ConstraintViolationException.class) public void onConstraintViolationException(javax.servlet.http.HttpServletRequest request, javax.validation.ConstraintViolationException e)
protected org.flywaydb.core.api.MigrationInfo getDatabaseStatus()
public String getSharedSecret()
Copyright © 2011–2021 aiticon GmbH. All rights reserved.