Package com.yahoo.restapi
Interface RestApi.ResponseMapper<RESPONSE_ENTITY>
-
- All Known Implementing Classes:
RestApiMappers.JacksonResponseMapper
- Enclosing interface:
- RestApi
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface RestApi.ResponseMapper<RESPONSE_ENTITY>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HttpResponse
toHttpResponse(RestApi.RequestContext context, RESPONSE_ENTITY responseEntity)
-
-
-
Method Detail
-
toHttpResponse
HttpResponse toHttpResponse(RestApi.RequestContext context, RESPONSE_ENTITY responseEntity) throws RestApiException
- Throws:
RestApiException
-
-