Interface ConverterResponse


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

    • getHeaders

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

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

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