Class DomainInfoFlow

  • All Implemented Interfaces:
    Flow

    @ReportingSpec(DOMAIN_INFO)
    public final class DomainInfoFlow
    extends java.lang.Object
    implements Flow
    An EPP flow that returns information about a domain.

    The registrar that owns the domain, and any registrar presenting a valid authInfo for the domain, will get a rich result with all of the domain's fields. All other requests will be answered with a minimal result containing only basic information about the domain.

    Expected Error
    FlowUtils.UnknownCurrencyEppException, ResourceFlowUtils.BadAuthInfoForResourceException, ResourceFlowUtils.ResourceDoesNotExistException, DomainFlowUtils.BadPeriodUnitException, DomainFlowUtils.CurrencyUnitMismatchException, DomainFlowUtils.FeeChecksDontSupportPhasesException, DomainFlowUtils.RestoresAreAlwaysForOneYearException, DomainFlowUtils.TransfersAreAlwaysForOneYearException
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      EppResponse run()
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • run

        public final EppResponse run()
                              throws EppException
        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 interface Flow
        Throws:
        EppException