public final class DomainCreateIdnCommandExtension extends java.lang.Object implements CommandExtension
Extension for the EPP Domain Create command, representing the Create IDN Domain aspect of the Internationalized Domain Names extension.
Use this to set the language tag to be used for an IDN as part of an EPP Domain Create command compliant with RFC5730 and RFC5731. The response expected from a server should be handled by a Domain Create Response.
CREATE, RENEW, TRANSFER, UPDATE
Constructor and Description |
---|
DomainCreateIdnCommandExtension(java.lang.String language) |
Modifier and Type | Method and Description |
---|---|
void |
addToCommand(Command command) |
public DomainCreateIdnCommandExtension(java.lang.String language)
language
- The IDN language. Required.java.lang.IllegalArgumentException
- if language
is null
or empty.public void addToCommand(Command command)
addToCommand
in interface CommandExtension