Class EPPQuicSession

java.lang.Object
com.verisign.epp.interfaces.EPPSession
com.verisign.epp.interfaces.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 Details

    • EOQ_CONNECTION_START_PACKET

      public static final String EOQ_CONNECTION_START_PACKET
      Packet sent when the client starts an EoQ connection, which is a QUIC stream
      See Also:
  • Constructor Details

    • 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(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(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(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(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 Details

    • init

      public void init() throws EPPCommandException
      Helper method called by constructor to perform any initialization required for the EPPQuicSession class.
      Overrides:
      init in class EPPSession
      Throws:
      EPPCommandException - if something goes wrong
    • getUrl

      public 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(String aUrl)
      Sets the server URL to connect to.
      Parameters:
      aUrl - Server URL to