Class EPPQuicSession

  • Direct Known Subclasses:
    EPPPooledGenericQuicSession

    public class EPPQuicSession
    extends EPPSession
    EPPQuicSession provides behavior for communicating with an EPP Server using the QUIC protocol as the transport.
    • Field Detail

      • EOQ_CONNECTION_START_PACKET

        public static final java.lang.String EOQ_CONNECTION_START_PACKET
        Packet sent when the client starts an EoQ connection, which is a QUIC stream
        See Also:
        Constant Field Values
    • Constructor Detail

      • EPPQuicSession

        public EPPQuicSession()
                       throws EPPCommandException
        Contact an EPPQuicSession instance using the URL generated from the "EPP.ServerName" and "EPP.ServerPort" configuration properties. The host name "localhost" and port number 1700, will result in the URL "eoq://localhost:1700".
        Throws:
        EPPCommandException - Error initializing the EPPQuicSession
      • EPPQuicSession

        public EPPQuicSession​(java.lang.String aUrl)
                       throws EPPCommandException
        Construct an EPPQuicSession instance that points to the given URL. An example is https://localhost:1700/.
        Parameters:
        aUrl - URL to connect to
        Throws:
        EPPCommandException - Error initializing the session
      • EPPQuicSession

        public EPPQuicSession​(java.lang.String aUrl,
                              EPPSSLContext aSSLContext)
                       throws EPPCommandException
        Construct an EPPQuicSession instance that points to the given URL and an EPPSSLContext. An example is eoq://test.vgrs.com:1700/.
        Parameters:
        aUrl - URL to connect to
        aSSLContext - Optional specific SSL context to use. Set to null if undefined.
        Throws:
        EPPCommandException - Error initializing the session
      • EPPQuicSession

        public EPPQuicSession​(java.lang.String aHostName,
                              int aPortNumber)
                       throws EPPCommandException
        Construct an EPPQuicSession instance that dynamically creates the server URL to connect to based on the host name and port number. The host name "localhost" and port number 1700, will result in the URL "eoq://localhost:1700".
        Parameters:
        aHostName - Host name or IP address of server
        aPortNumber - Server port number
        Throws:
        EPPCommandException - Error initializing the session
      • EPPQuicSession

        public EPPQuicSession​(java.lang.String aHostName,
                              int aPortNumber,
                              EPPSSLContext aSSLContext)
                       throws EPPCommandException
        Construct an EPPQuicSession instance that dynamically creates the server URL to connect to based on the host name and port number, with an SSLContext. The host name "localhost" and port number 1700, will result in the URL "eoq://localhost:1700".
        Parameters:
        aHostName - Host name or IP address of server
        aPortNumber - Server port number
        aSSLContext - Optional specific SSL context to use. Set to null if undefined.
        Throws:
        EPPCommandException - Error initializing the session
    • Method Detail

      • getUrl

        public java.lang.String getUrl()
        Gets the server URL to connect to.
        Returns:
        Gets the server URL to connection to if set; null otherwise.
      • setUrl

        public void setUrl​(java.lang.String aUrl)
        Sets the server URL to connect to.
        Parameters:
        aUrl - Server URL to