org.springframework.web.accept

Class HeaderContentNegotiationStrategy

  • java.lang.Object
    • org.springframework.web.accept.HeaderContentNegotiationStrategy
  • All Implemented Interfaces:
    ContentNegotiationStrategy


    public class HeaderContentNegotiationStrategy
    extends java.lang.Object
    implements ContentNegotiationStrategy
    A ContentNegotiationStrategy that checks the 'Accept' request header.
    Since:
    3.2
    Author:
    Rossen Stoyanchev, Juergen Hoeller