@AdminController @ResponseBody @RequestMapping(value="/api/journal") public class JournalController extends Object
| Constructor and Description |
|---|
JournalController(ApplicationEventJournal eventJournal) |
| Modifier and Type | Method and Description |
|---|---|
void |
asyncRequestTimeoutExceptionHandler(javax.servlet.http.HttpServletRequest req) |
Collection<ClientApplicationEvent> |
getJournal() |
org.springframework.web.servlet.mvc.method.annotation.SseEmitter |
getJournalEvents() |
void |
onClientApplicationEvent(ClientApplicationEvent event) |
public JournalController(ApplicationEventJournal eventJournal)
@RequestMapping(produces="application/json") public Collection<ClientApplicationEvent> getJournal()
@RequestMapping(produces="text/event-stream") public org.springframework.web.servlet.mvc.method.annotation.SseEmitter getJournalEvents()
@EventListener public void onClientApplicationEvent(ClientApplicationEvent event)
@ExceptionHandler(value=org.springframework.web.context.request.async.AsyncRequestTimeoutException.class) public void asyncRequestTimeoutExceptionHandler(javax.servlet.http.HttpServletRequest req)
Copyright © 2018 codecentric AG. All rights reserved.