Class OAuthErrorResponseParser


  • public class OAuthErrorResponseParser
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static ErrorResponse fromJson​(int code, com.fasterxml.jackson.databind.JsonNode jsonNode)  
      static ErrorResponse fromJson​(int code, java.lang.String json)
      Read OAuthErrorResponse from a JSON string.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • fromJson

        public static ErrorResponse fromJson​(int code,
                                             java.lang.String json)
        Read OAuthErrorResponse from a JSON string.
        Parameters:
        json - a JSON string of an OAuthErrorResponse
        Returns:
        an OAuthErrorResponse object
      • fromJson

        public static ErrorResponse fromJson​(int code,
                                             com.fasterxml.jackson.databind.JsonNode jsonNode)