Class DefaultJsonContentTypeResolver

  • All Implemented Interfaces:
    JsonContentTypeResolver

    public class DefaultJsonContentTypeResolver
    extends Object
    implements JsonContentTypeResolver
    Prefers an explicit content type if provided. Otherwise computes the correct content type based on the wire format used and the version of the protocol.
    • Constructor Detail

      • DefaultJsonContentTypeResolver

        public DefaultJsonContentTypeResolver​(String prefix)