Interface HttpBodyConverter.SerializationContext
- Enclosing interface:
- HttpBodyConverter
public static interface HttpBodyConverter.SerializationContext
-
Method Summary
Modifier and TypeMethodDescriptiondefault MediaTypedefault booleanisEmpty()of(Object source, HttpRequestHeaders requestHeaders)
-
Method Details
-
getSource
Object getSource()- Returns:
- The object to serialize
-
getHeaders
HttpRequestHeaders getHeaders()- Returns:
- The http request headers
-
getContentType
- Returns:
- The target content type of the request, possibly
null
-
isEmpty
default boolean isEmpty() -
of
-