@RestController public class Home extends ControllerBase implements InitializingBean, DisposableBean
Constructor and Description |
---|
Home() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
destroy() |
protected void |
initMessaging(Environment env) |
protected Properties |
initPlatform(Properties defaultOverrides,
Environment env) |
ResponseEntity<Home> |
login(String sharedSecret,
HttpServletRequest request) |
ResponseEntity<Home> |
welcome() |
getDatabaseStatus, getSharedSecret, onBusinessException
@RequestMapping(value="/", method=POST) public ResponseEntity<Home> login(@RequestBody String sharedSecret, HttpServletRequest request)
@RequestMapping(value="/", method=GET) public ResponseEntity<Home> welcome()
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface InitializingBean
Exception
protected void initMessaging(Environment env)
protected Properties initPlatform(Properties defaultOverrides, Environment env)
public void destroy() throws Exception
destroy
in interface DisposableBean
Exception
Copyright © 2011–2017 aiticon GmbH. All rights reserved.