Interface OAuthRequest.ResponseConverter<T>

Enclosing class:
OAuthRequest

public static interface OAuthRequest.ResponseConverter<T>
  • Method Summary

    Modifier and Type Method Description
    T convert​(Response response)
    Implementations of this method should close provided Response in case response is not included in the return Object of type <T> Then responsibility to close response is in on the OAuthAsyncRequestCallback.onCompleted(java.lang.Object)
  • Method Details

    • convert

      T convert​(Response response) throws java.io.IOException
      Implementations of this method should close provided Response in case response is not included in the return Object of type <T> Then responsibility to close response is in on the OAuthAsyncRequestCallback.onCompleted(java.lang.Object)
      Parameters:
      response - response
      Returns:
      T
      Throws:
      java.io.IOException - IOException