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(RbelLogger rbelLogger, RbelWriter rbelWriter, ZionConfiguration configuration, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<byte[]>getAnythingelse(org.springframework.http.RequestEntity<byte[]> request, javax.servlet.http.HttpServletRequest servletRequest)voidloadMockReponsesFromFile()-
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 Detail
-
CatchAllController
@ConstructorProperties({"rbelLogger","rbelWriter","configuration","objectMapper"}) public CatchAllController(RbelLogger rbelLogger, RbelWriter rbelWriter, ZionConfiguration configuration, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Detail
-
loadMockReponsesFromFile
@PostConstruct public void loadMockReponsesFromFile()
-
getAnythingelse
@RequestMapping(value="**", consumes={"*/*","application/*"}, produces="*/*", method={GET,POST,HEAD,OPTIONS,PUT,PATCH,DELETE,TRACE}) public org.springframework.http.ResponseEntity<byte[]> getAnythingelse(org.springframework.http.RequestEntity<byte[]> request, javax.servlet.http.HttpServletRequest servletRequest)
-
-