Class CertificateRestResponseV2.RevocationReasonEnum.Adapter
- java.lang.Object
-
- com.google.gson.TypeAdapter<CertificateRestResponseV2.RevocationReasonEnum>
-
- de.trustable.ca3s.core.service.dto.ejbca.CertificateRestResponseV2.RevocationReasonEnum.Adapter
-
- Enclosing class:
- CertificateRestResponseV2.RevocationReasonEnum
public static class CertificateRestResponseV2.RevocationReasonEnum.Adapter extends com.google.gson.TypeAdapter<CertificateRestResponseV2.RevocationReasonEnum>
-
-
Constructor Summary
Constructors Constructor Description Adapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CertificateRestResponseV2.RevocationReasonEnumread(com.google.gson.stream.JsonReader jsonReader)voidwrite(com.google.gson.stream.JsonWriter jsonWriter, CertificateRestResponseV2.RevocationReasonEnum enumeration)
-
-
-
Method Detail
-
write
public void write(com.google.gson.stream.JsonWriter jsonWriter, CertificateRestResponseV2.RevocationReasonEnum enumeration) throws IOException- Specified by:
writein classcom.google.gson.TypeAdapter<CertificateRestResponseV2.RevocationReasonEnum>- Throws:
IOException
-
read
public CertificateRestResponseV2.RevocationReasonEnum read(com.google.gson.stream.JsonReader jsonReader) throws IOException
- Specified by:
readin classcom.google.gson.TypeAdapter<CertificateRestResponseV2.RevocationReasonEnum>- Throws:
IOException
-
-