Class OAuth2ErrorResponse.ErrorEnum.Adapter
java.lang.Object
com.google.gson.TypeAdapter<OAuth2ErrorResponse.ErrorEnum>
co.ankatech.keymanagement.client.auth.model.OAuth2ErrorResponse.ErrorEnum.Adapter
- Enclosing class:
- OAuth2ErrorResponse.ErrorEnum
public static class OAuth2ErrorResponse.ErrorEnum.Adapter
extends com.google.gson.TypeAdapter<OAuth2ErrorResponse.ErrorEnum>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionread(com.google.gson.stream.JsonReader jsonReader) voidwrite(com.google.gson.stream.JsonWriter jsonWriter, OAuth2ErrorResponse.ErrorEnum enumeration) Methods inherited from class com.google.gson.TypeAdapter
fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTree
-
Constructor Details
-
Adapter
public Adapter()
-
-
Method Details
-
write
public void write(com.google.gson.stream.JsonWriter jsonWriter, OAuth2ErrorResponse.ErrorEnum enumeration) throws IOException - Specified by:
writein classcom.google.gson.TypeAdapter<OAuth2ErrorResponse.ErrorEnum>- Throws:
IOException
-
read
public OAuth2ErrorResponse.ErrorEnum read(com.google.gson.stream.JsonReader jsonReader) throws IOException - Specified by:
readin classcom.google.gson.TypeAdapter<OAuth2ErrorResponse.ErrorEnum>- Throws:
IOException
-