Class OAuthErrorResponseParser
- java.lang.Object
-
- org.apache.iceberg.rest.responses.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.
-
-
-
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)
-
-