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
  • Field Details

    • REGEX_STATUSCODE_TOKEN

      public static final String REGEX_STATUSCODE_TOKEN
      in error responses on http requests, this token causes problems so remove it for better handling on client side
      See Also:
    • template

      public final org.springframework.messaging.simp.SimpMessagingTemplate template
  • Constructor Details

  • Method Details

    • addWebSocketListener

      @PostConstruct public void addWebSocketListener()
    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext appContext) throws org.springframework.beans.BeansException
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
      Throws:
      org.springframework.beans.BeansException
    • downloadTraffic

      @GetMapping(value="/trafficLog*.tgr", produces="application/octet-stream") public String downloadTraffic(@RequestParam(name="lastMsgUuid",required=false) String lastMsgUuid, @RequestParam(name="filterCriterion",required=false) String filterCriterion, @RequestParam(name="pageSize",required=false) Optional<Integer> pageSize, jakarta.servlet.http.HttpServletResponse response)
    • downloadHtml

      @GetMapping(value="/tiger-report*.html", produces="text/html") public String downloadHtml(@RequestParam(name="lastMsgUuid",required=false) String lastMsgUuid, @RequestParam(name="filterCriterion",required=false) String filterCriterion)
    • 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, @RequestParam(defaultValue="1000000") int pageSize, @RequestParam(defaultValue="0") int pageNumber)
    • 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)
    • importTrafficFromFile

      @PostMapping("/traffic") public void importTrafficFromFile(@RequestBody String rawTraffic)
    • getTigerProxy

      public TigerProxy getTigerProxy()
    • getRenderer

      public RbelHtmlRenderer getRenderer()
    • getApplicationConfiguration

      public ApplicationConfiguration getApplicationConfiguration()
    • getApplicationContext

      public org.springframework.context.ApplicationContext getApplicationContext()
    • getTemplate

      public org.springframework.messaging.simp.SimpMessagingTemplate getTemplate()
    • getBuildProperties

      public TigerBuildPropertiesService getBuildProperties()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object