Interface HttpBodyConverter.SerializationContext
-
- Enclosing interface:
- HttpBodyConverter
public static interface HttpBodyConverter.SerializationContext
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default MediaTypegetContentType()HttpRequestHeadersgetHeaders()java.lang.ObjectgetSource()default booleanisEmpty()static HttpBodyConverter.SerializationContextof(java.lang.Object source, HttpRequestHeaders requestHeaders)
-
-
-
Method Detail
-
getSource
java.lang.Object getSource()
- Returns:
- The object to serialize
-
getHeaders
HttpRequestHeaders getHeaders()
- Returns:
- The http request headers
-
getContentType
default MediaType getContentType()
- Returns:
- The target content type of the request, possibly
null
-
isEmpty
default boolean isEmpty()
-
of
static HttpBodyConverter.SerializationContext of(java.lang.Object source, HttpRequestHeaders requestHeaders)
-
-