Interface ResponseConverterFunctionProvider
- All Known Implementing Classes:
ProtobufResponseConverterFunctionProvider
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A
ResponseConverterFunction
provider interface which creates a new
ResponseConverterFunction
for converting an object of the given type and functions.-
Method Summary
Modifier and TypeMethodDescriptioncreateResponseConverterFunction
(Type responseType) Returns aResponseConverterFunction
instance if there is a function which can convert theresponseType
, otherwise returnnull
.
-
Method Details
-
createResponseConverterFunction
Returns aResponseConverterFunction
instance if there is a function which can convert theresponseType
, otherwise returnnull
.- Parameters:
responseType
- the returnType
of the annotated HTTP service method
-