Package google.registry.flows.domain
Class DomainCheckFlow
java.lang.Object
google.registry.flows.domain.DomainCheckFlow
- All Implemented Interfaces:
Flow
,TransactionalFlow
@ReportingSpec(DOMAIN_CHECK)
public final class DomainCheckFlow
extends Object
implements TransactionalFlow
An EPP flow that checks whether a domain can be provisioned.
This flow also supports the EPP fee extension and can return pricing information.
- Expected Error
TooManyResourceChecksException
,FlowUtils.NotLoggedInException
,FlowUtils.UnknownCurrencyEppException
,DomainFlowUtils.BadDomainNameCharacterException
,DomainFlowUtils.BadDomainNamePartsCountException
,DomainFlowUtils.DomainNameExistsAsTldException
,DomainFlowUtils.BadPeriodUnitException
,DomainFlowUtils.BadCommandForRegistryPhaseException
,DomainFlowUtils.CurrencyUnitMismatchException
,DomainFlowUtils.DashesInThirdAndFourthException
,DomainFlowUtils.DomainLabelTooLongException
,DomainFlowUtils.EmptyDomainNamePartException
,DomainFlowUtils.FeeChecksDontSupportPhasesException
,DomainFlowUtils.InvalidIdnDomainLabelException
,DomainFlowUtils.InvalidPunycodeException
,DomainFlowUtils.LeadingDashException
,DomainFlowUtils.MissingBillingAccountMapException
,DomainFlowUtils.NotAuthorizedForTldException
,DomainFlowUtils.RestoresAreAlwaysForOneYearException
,DomainFlowUtils.TldDoesNotExistException
,DomainFlowUtils.TrailingDashException
,DomainFlowUtils.TransfersAreAlwaysForOneYearException
,DomainFlowUtils.UnknownFeeCommandException
,DomainCheckFlow.OnlyCheckedNamesCanBeFeeCheckedException
-
Method Summary
Modifier and TypeMethodDescriptionrun()
Executes an EPP "flow" and returns a response object (or in the specific case of the "hello" flow a greeting object) that can be converted to XML and returned to the caller.
-
Method Details
-
run
Description copied from interface:Flow
Executes an EPP "flow" and returns a response object (or in the specific case of the "hello" flow a greeting object) that can be converted to XML and returned to the caller.Flows should have
Flow.run()
called once per instance. If a flow needs to be retried, a new instance should be created.Flows should get all of their parameters via injection off of
FlowComponent
.- Specified by:
run
in interfaceFlow
- Throws:
EppException
-