Class 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 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
    • Constructor Detail

      • PathParamConfig

        public PathParamConfig()
    • Method Detail

      • configureContentNegotiation

        public void configureContentNegotiation​(org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer configurer)
        Specified by:
        configureContentNegotiation in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer