Interface OAuthRequest.ResponseConverter<T>

  • Enclosing class:
    OAuthRequest

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

      • 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