org.springframework.web.reactive.accept

Class ParameterContentTypeResolver

  • java.lang.Object
    • org.springframework.web.reactive.accept.ParameterContentTypeResolver
  • All Implemented Interfaces:
    RequestedContentTypeResolver


    public class ParameterContentTypeResolver
    extends java.lang.Object
    implements RequestedContentTypeResolver
    Resolver that checks a query parameter and uses it to lookup a matching MediaType. Lookup keys can be registered or as a fallback MediaTypeFactory can be used to perform a lookup.
    Since:
    5.0
    Author:
    Rossen Stoyanchev