@ Override public void configureContentNegotiation ( ContentNegotiationConfigurer configurer ) { configurer . favorParameter ( false ) ; configurer . favorPathExtension ( false ) ; }
Uses the HTTP header for content negociation .