Class ControllerBase

    • Field Detail

      • context

        @Autowired
        protected javax.servlet.ServletContext context
      • session

        @Autowired
        protected javax.servlet.http.HttpSession session
      • coreService

        @Autowired
        protected CoreService coreService
    • Constructor Detail

      • ControllerBase

        public ControllerBase()
    • Method Detail

      • onBusinessException

        @ResponseStatus(INTERNAL_SERVER_ERROR)
        @ExceptionHandler(BusinessException.class)
        public void onBusinessException​(javax.servlet.http.HttpServletRequest request,
                                        BusinessException e)
      • onConstraintViolationException

        @ResponseStatus(BAD_REQUEST)
        @ExceptionHandler(javax.validation.ConstraintViolationException.class)
        public void onConstraintViolationException​(javax.servlet.http.HttpServletRequest request,
                                                   javax.validation.ConstraintViolationException e)
      • getDatabaseStatus

        protected org.flywaydb.core.api.MigrationInfo getDatabaseStatus()
      • getSharedSecret

        public String getSharedSecret()