Package google.registry.model.eppinput
Class EppInput.VersionAdapter
- Enclosing class:
EppInput
public static class EppInput.VersionAdapter
extends jakarta.xml.bind.annotation.adapters.XmlAdapter<String,String>
RFC 5730 says we should check the version and return special error code 2100 if it isn't
what we support, but it also specifies a schema that only allows 1.0 in the version field, so
any other version doesn't validate. As a result, if we didn't do this here it would throw a
SyntaxErrorException
when it failed to validate.- See Also:
-
Constructor Summary
-
Method Summary