Interface HypermediaConverterFactory

  • @ProviderType
    public interface HypermediaConverterFactory
    Factory for retrieving HypermediaConverter instances
    • Method Detail

      • getDefaultConverter

        HypermediaConverter getDefaultConverter()
        Return the system's default Hypermedia converter. Typically this would be used when the client doesn't request a specific media type in the accepts header.
        The default Hypermedia converter instance
      • getConverter

        HypermediaConverter getConverter​(ContentType mediaType)
        Return the Hypermedia converter responsible for serializing Resources for the specific media type. If no converters are found that support the request media type then the system's default Hypermedia converter is returned.
        mediaType - The media type being requested.
        The Hypermedia converter instance