Interface ConverterResponse


  • @ProviderType
    public interface ConverterResponse
    An object describing the response from a HypermediaConverter serializing a resource.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Object getBody()
      Get the body of the response.
      java.lang.String getContentType()
      Get the content type of the response.
      java.util.Map<java.lang.String,​java.lang.String[]> getHeaders()
      Get the headers of the response.
    • Method Detail

      • getHeaders

        @CheckForNull
        java.util.Map<java.lang.String,​java.lang.String[]> getHeaders()
        Get the headers of the response.
        Returns:
        A map of headers.
      • getContentType

        @CheckForNull
        java.lang.String getContentType()
        Get the content type of the response.
        Returns:
        The content type.
      • getBody

        @CheckForNull
        java.lang.Object getBody()
        Get the body of the response.
        Returns:
        The body.