Package uk.gov.gchq.gaffer.rest.config
Class PathParamConfig
- java.lang.Object
-
- uk.gov.gchq.gaffer.rest.config.PathParamConfig
-
- All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@Configuration public class PathParamConfig extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
This class stops the app interpreting /path/service/some.class.name as /path/service/some.class with Content Type of name. This is necessary because quite a few endpoints in Gaffer's REST API use this mechanism.
-
-
Constructor Summary
Constructors Constructor Description PathParamConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configureContentNegotiation(org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer configurer)
-
Methods inherited from class java.lang.Object
equals, 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, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
-
-