cz.active24.client.fred.data.transfer.keyset.KeysetTransferRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fred-client Show documentation
Show all versions of fred-client Show documentation
A Java EPP client for FRED (Free Registry for ENUM and Domains)
package cz.active24.client.fred.data.transfer.keyset;
import cz.active24.client.fred.data.EppRequest;
import cz.active24.client.fred.eppclient.objectstrategy.ServerObjectType;
import cz.active24.client.fred.data.transfer.TransferRequest;
import java.io.Serializable;
/**
* A keyset transfer command is used to take over sponsorship of a keyset. A transfer password must be provided for authorization. It can be the transfer password of:
*
* - the keyset or
* - a technical contact of the keyset.
*
*
* - {@link KeysetTransferRequest#keysetId} - the keyset handle
* - {@link KeysetTransferRequest#authInfo} - the transfer password
*
*
* @see FRED documentation
*/
public class KeysetTransferRequest extends EppRequest implements Serializable, TransferRequest {
private String keysetId;
private String authInfo;
public KeysetTransferRequest(String keysetId, String authInfo) {
setServerObjectType(ServerObjectType.KEYSET);
this.keysetId = keysetId;
this.authInfo = authInfo;
}
public String getKeysetId() {
return keysetId;
}
protected void setKeysetId(String keysetId) {
this.keysetId = keysetId;
}
public String getAuthInfo() {
return authInfo;
}
protected void setAuthInfo(String authInfo) {
this.authInfo = authInfo;
}
@Override
public String toString() {
final StringBuffer sb = new StringBuffer("KeysetTransferRequest{");
sb.append("keysetId='").append(keysetId).append('\'');
sb.append(", authInfo='").append(authInfo).append('\'');
sb.append('}');
return sb.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy