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.
-
Method Summary
Modifier and TypeMethodDescriptiontoHttpResponse
(RestApi.RequestContext context, RESPONSE_ENTITY responseEntity)
-
Method Details
-
toHttpResponse
HttpResponse toHttpResponse(RestApi.RequestContext context, RESPONSE_ENTITY responseEntity) throws RestApiException - Throws:
RestApiException
-