Class EppResponseMessage

  • All Implemented Interfaces:
    InboundMessageType

    public class EppResponseMessage
    extends EppMessage
    implements InboundMessageType
    EppMessage subclass that implements InboundMessageType, which represents an inbound EPP message and serves to verify the response received from the server.

    There are 4 created types of this EppRequestMessage, which represent the expected successful response types. Their names are: success, failure greeting, domainExists, domainNotExists. Success implies a response declaring the command was completed successfully. Failure implies a response declaring the command was not completed successfully. Greeting is the standard initial response the server sends after a connection is established. DomainExists is a response to a Check request saying the domain exists on the server. DomainNotExists is a response that essentially says the opposite.

    Stores an expected clTRID and domainName which are the ones used by the EppRequestMessage pointing to this EppRequestMessage.

    From the ByteBuf input, stores the corresponding Document represented and to be validated.

    • Constructor Detail

      • EppResponseMessage

        public EppResponseMessage​(java.lang.String name,
                                  java.util.function.BiFunction<java.lang.String,​java.lang.String,​java.util.List<java.lang.String>> getCheckList)
    • Method Detail

      • getDocument

        public void getDocument​(io.netty.buffer.ByteBuf buf)
                         throws FailureException
        Extracts Document from the ByteBuf input.
        Throws:
        FailureException
      • name

        public java.lang.String name()