Class CatchAllController

java.lang.Object
de.gematik.test.tiger.zion.controller.CatchAllController
All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer

@RestController @RequestMapping("/") public class CatchAllController extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
  • Constructor Summary

    Constructors
    Constructor
    Description
    CatchAllController(de.gematik.rbellogger.RbelLogger rbelLogger, de.gematik.rbellogger.writer.RbelWriter rbelWriter, ZionConfiguration configuration, com.fasterxml.jackson.databind.ObjectMapper objectMapper, org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext webServerAppCtxt, BackendRequestExecutor backendRequestExecutor)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    org.springframework.http.ResponseEntity<byte[]>
    masterResponder(org.springframework.http.RequestEntity<byte[]> request, jakarta.servlet.http.HttpServletRequest servletRequest)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer

    addArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
  • Constructor Details

    • CatchAllController

      @ConstructorProperties({"rbelLogger","rbelWriter","configuration","objectMapper","webServerAppCtxt","backendRequestExecutor"}) public CatchAllController(de.gematik.rbellogger.RbelLogger rbelLogger, de.gematik.rbellogger.writer.RbelWriter rbelWriter, ZionConfiguration configuration, com.fasterxml.jackson.databind.ObjectMapper objectMapper, org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext webServerAppCtxt, BackendRequestExecutor backendRequestExecutor)
  • Method Details

    • loadMockReponsesFromFile

      @PostConstruct public void loadMockReponsesFromFile()
    • masterResponder

      @RequestMapping(value="**", consumes={"*/*","application/*"}, produces="*/*", method={GET,POST,HEAD,OPTIONS,PUT,PATCH,DELETE,TRACE}) public org.springframework.http.ResponseEntity<byte[]> masterResponder(org.springframework.http.RequestEntity<byte[]> request, jakarta.servlet.http.HttpServletRequest servletRequest)