-
public interface HttpClientContentConverterBasic interface for low-level converting of HTTP body for HTTP client.- Since:
- 0.1
- Author:
- nedis
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetContentType()Returns the supported content type.Function<Object,byte[]>getRequestContentConverter()Returns the request content (body) converter.Function<byte[],Object>getResponseContentConverter()Returns the response content (body) converter.
-
-
-
Method Detail
-
getRequestContentConverter
Function<Object,byte[]> getRequestContentConverter()
Returns the request content (body) converter.- Returns:
- the request content (body) converter
-
getResponseContentConverter
Function<byte[],Object> getResponseContentConverter()
Returns the response content (body) converter.- Returns:
- the response content (body) converter
-
getContentType
String getContentType()
Returns the supported content type.- Returns:
- the supported content type
-
-