public class JsonErrorCodeParser extends Object implements ErrorCodeParser
Constructor and Description |
---|
JsonErrorCodeParser() |
JsonErrorCodeParser(String errorCodeFieldName) |
Modifier and Type | Method and Description |
---|---|
String |
parseErrorCode(HttpResponse response,
JsonContent jsonContent)
Parse the error code from the response.
|
public JsonErrorCodeParser()
public JsonErrorCodeParser(String errorCodeFieldName)
public String parseErrorCode(HttpResponse response, JsonContent jsonContent)
parseErrorCode
in interface ErrorCodeParser
Copyright © 2024. All rights reserved.