Class TigerWebUiController
- java.lang.Object
-
- de.gematik.test.tiger.proxy.controller.TigerWebUiController
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
@RestController @RequestMapping("webui") @Validated public class TigerWebUiController extends Object implements org.springframework.context.ApplicationContextAware
-
-
Constructor Summary
Constructors Constructor Description TigerWebUiController(TigerProxy tigerProxy, ApplicationConfiguration applicationConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)StringdownloadTraffic()booleanequals(Object o)ApplicationConfigurationgetApplicationConfiguration()org.springframework.context.ApplicationContextgetApplicationContext()StringgetCSS(String cssFile)GetMessagesAfterDtogetMessagesAfter(String lastMsgUuid, String filterCriterion)de.gematik.rbellogger.renderer.RbelHtmlRenderergetRenderer()TigerProxygetTigerProxy()StringgetUI(boolean embedded)org.springframework.http.ResponseEntity<byte[]>getWebFont(String fontFile)inthashCode()voidquitProxy(String noSystemExit)ResetMessagesDtoresetMessages()voidsetApplicationContext(org.springframework.context.ApplicationContext appContext)JexlQueryResponseDtotestJexlQuery(String msgUuid, String query)JexlQueryResponseDtotestRbelExpression(String msgUuid, String rbelPath)StringtoString()voiduploadReport(String htmlReport)
-
-
-
Constructor Detail
-
TigerWebUiController
@ConstructorProperties({"tigerProxy","applicationConfiguration"}) public TigerWebUiController(TigerProxy tigerProxy, ApplicationConfiguration applicationConfiguration)
-
-
Method Detail
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext appContext) throws org.springframework.beans.BeansException- Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
downloadTraffic
@GetMapping(value="/trafficLog.tgr", produces="application/octet-stream") public String downloadTraffic()
-
getUI
@GetMapping(value="", produces="text/html") public String getUI(@RequestParam(defaultValue="false") boolean embedded)
-
getCSS
@GetMapping(value="/css/{cssfile}", produces="text/css") public String getCSS(@PathVariable("cssfile") String cssFile) throws IOException- Throws:
IOException
-
testJexlQuery
@GetMapping(value="/testJexlQuery", produces="application/json") public JexlQueryResponseDto testJexlQuery(@RequestParam(name="msgUuid") String msgUuid, @RequestParam(name="query") String query)
-
testRbelExpression
@GetMapping(value="/testRbelExpression", produces="application/json") public JexlQueryResponseDto testRbelExpression(@RequestParam(name="msgUuid") String msgUuid, @RequestParam(name="rbelPath") String rbelPath)
-
getWebFont
@GetMapping(value="/webfonts/{fontfile}", produces="text/css") public org.springframework.http.ResponseEntity<byte[]> getWebFont(@PathVariable("fontfile") String fontFile) throws IOException- Throws:
IOException
-
getMessagesAfter
@GetMapping(value="/getMsgAfter", produces="application/json") public GetMessagesAfterDto getMessagesAfter(@RequestParam(name="lastMsgUuid",required=false) String lastMsgUuid, @RequestParam(name="filterCriterion",required=false) String filterCriterion)
-
resetMessages
@GetMapping(value="/resetMsgs", produces="application/json") public ResetMessagesDto resetMessages()
-
quitProxy
@GetMapping(value="/quit", produces="application/json") public void quitProxy(@RequestParam(name="noSystemExit",required=false) String noSystemExit)
-
uploadReport
@PostMapping(value="/uploadReport", produces="application/json") public void uploadReport(@RequestBody String htmlReport)
-
getTigerProxy
public TigerProxy getTigerProxy()
-
getRenderer
public de.gematik.rbellogger.renderer.RbelHtmlRenderer getRenderer()
-
getApplicationConfiguration
public ApplicationConfiguration getApplicationConfiguration()
-
getApplicationContext
public org.springframework.context.ApplicationContext getApplicationContext()
-
canEqual
protected boolean canEqual(Object other)
-
-