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 Object
getBody()
Get the body of the response.String
getContentType()
Get the content type of the response.Map<String,String[]>
getHeaders()
Get the headers of the response.
-
-
-
Method Detail
-
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.
-
-