Interface ResponseConverter<R>

Type Parameters:
R - the implementation-specific response type

public interface ResponseConverter<R>
A ResponseConverter is used to convert an implementation-specific response into an OperationResponse.
Since:
1.1.0
Author:
Andy Wilkinson
  • Method Summary

    Modifier and Type
    Method
    Description
    convert(R response)
    Converts the given response into an OperationResponse.
  • Method Details

    • convert

      OperationResponse convert(R response)
      Converts the given response into an OperationResponse.
      Parameters:
      response - the response
      Returns:
      the operation response
      Throws:
      ConversionException - if the conversion fails