Package com.verisign.epp.interfaces
Class EPPQuicSession
java.lang.Object
com.verisign.epp.interfaces.EPPSession
com.verisign.epp.interfaces.EPPQuicSession
- Direct Known Subclasses:
EPPPooledGenericQuicSession
EPPQuicSession provides behavior for communicating with an EPP Server using
the QUIC protocol as the transport.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringPacket sent when the client starts an EoQ connection, which is a QUIC streamFields inherited from class com.verisign.epp.interfaces.EPPSession
clientId, codec, connection, extensionServices, inputStream, language, loginAdapter, message, mode, MODE_ASYNC, MODE_SYNC, msgID, newPassword, OP_ACK, OP_REQ, outputStream, password, pollOp, response, responsePacket, services, transId, version, xmlStream -
Constructor Summary
ConstructorsConstructorDescriptionContact anEPPQuicSessioninstance using the URL generated from the "EPP.ServerName" and "EPP.ServerPort" configuration properties.EPPQuicSession(String aUrl) Construct anEPPQuicSessioninstance that points to the given URL.EPPQuicSession(String aHostName, int aPortNumber) Construct anEPPQuicSessioninstance that dynamically creates the server URL to connect to based on the host name and port number.EPPQuicSession(String aHostName, int aPortNumber, EPPSSLContext aSSLContext) Construct anEPPQuicSessioninstance that dynamically creates the server URL to connect to based on the host name and port number, with anSSLContext.EPPQuicSession(String aUrl, EPPSSLContext aSSLContext) Construct anEPPQuicSessioninstance that points to the given URL and anEPPSSLContext. -
Method Summary
Methods inherited from class com.verisign.epp.interfaces.EPPSession
addExtensionService, addService, endConnection, endSession, getClientCon, getClientID, getConnection, getExtensionServices, getInputStream, getLoginAdapter, getMode, getMsgID, getNewPassword, getOutputStream, getPassword, getPollOp, getResponse, getServices, getTransId, getVersion, hello, init, init, initLoginAdapter, initSession, initSession, initStreams, isModeSupported, login, login, logout, processDocument, processDocument, processGreeting, readResponse, recDocument, sendDocument, sendMessage, sendPacket, sendPoll, setClientID, setExtensions, setExtensionServices, setInputStream, setLang, setLang, setLoginAdapter, setMode, setMsgID, setNewPassword, setOutputStream, setPassword, setPollOp, setServices, setServices, setTransId, setVersion, validateClientTransId
-
Field Details
-
EOQ_CONNECTION_START_PACKET
Packet sent when the client starts an EoQ connection, which is a QUIC stream- See Also:
-
-
Constructor Details
-
EPPQuicSession
Contact anEPPQuicSessioninstance 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 theEPPQuicSession
-
EPPQuicSession
Construct anEPPQuicSessioninstance that points to the given URL. An example ishttps://localhost:1700/.- Parameters:
aUrl- URL to connect to- Throws:
EPPCommandException- Error initializing the session
-
EPPQuicSession
Construct anEPPQuicSessioninstance that points to the given URL and anEPPSSLContext. An example iseoq://test.vgrs.com:1700/.- Parameters:
aUrl- URL to connect toaSSLContext- Optional specific SSL context to use. Set tonullif undefined.- Throws:
EPPCommandException- Error initializing the session
-
EPPQuicSession
Construct anEPPQuicSessioninstance 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 serveraPortNumber- Server port number- Throws:
EPPCommandException- Error initializing the session
-
EPPQuicSession
public EPPQuicSession(String aHostName, int aPortNumber, EPPSSLContext aSSLContext) throws EPPCommandException Construct anEPPQuicSessioninstance that dynamically creates the server URL to connect to based on the host name and port number, with anSSLContext. The host name "localhost" and port number 1700, will result in the URL "eoq://localhost:1700".- Parameters:
aHostName- Host name or IP address of serveraPortNumber- Server port numberaSSLContext- Optional specific SSL context to use. Set tonullif undefined.- Throws:
EPPCommandException- Error initializing the session
-
-
Method Details
-
init
Helper method called by constructor to perform any initialization required for theEPPQuicSessionclass.- Overrides:
initin classEPPSession- Throws:
EPPCommandException- if something goes wrong
-
getUrl
Gets the server URL to connect to.- Returns:
- Gets the server URL to connection to if set;
nullotherwise.
-
setUrl
Sets the server URL to connect to.- Parameters:
aUrl- Server URL to
-