Package com.verisign.epp.codec.gen
Class EPPHello
java.lang.Object
com.verisign.epp.codec.gen.EPPHello
- All Implemented Interfaces:
EPPCodecComponent,EPPMessage,Serializable,Cloneable
Represents an EPP hello request that is sent by an EPP Client and received by
an EPP Server. EPP MAY be carried over both connection-oriented and
connection-less transport protocols. An EPP client MAY request a
<greeting> from an EPP server at any time by sending a <hello> to
a server. Use of this element is essential in a connection-less environment
where a server can not return a <greeting> in response to a
client-initiated connection. An EPP <hello> SHALL be an empty element
with no child elements.
An
An
An
EPPHello can be encoded and decoded by EPPCodec. An
EPPHello request should result in the EPP Server sending back an
EPPGreeting.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()CloneEPPHello.voiddecodeEPPHellofrom a DOM element tree.encodeEPPHellointo a DOM element tree.booleanimplements a deepEPPHellocompare.Gets the associated EPP namespace.toString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.
-
Constructor Details
-
EPPHello
public EPPHello()Allocates a newEPPHello.EPPHellocontains no attributes.
-
-
Method Details
-
getNamespace
Gets the associated EPP namespace. The general EPP namespace is returned, which is defined asEPPCodec.NS.- Specified by:
getNamespacein interfaceEPPCodecComponent- Specified by:
getNamespacein interfaceEPPMessage- Returns:
- namespace URI
-
encode
encodeEPPHellointo a DOM element tree. The <hello> element is created and returned.- Specified by:
encodein interfaceEPPCodecComponent- Parameters:
aDocument- DOM Document to create elements- Returns:
- <hello> root element tree.
- Throws:
EPPEncodeException- Error encoding the DOM element tree.
-
decode
decodeEPPHellofrom a DOM element tree. The "hello" element needs to be the value of theaElementargument. SinceEPPHellocontains no attribute, no attributes need to be set thedecode.- Specified by:
decodein interfaceEPPCodecComponent- Parameters:
aElement- <hello> root element tree.- Throws:
EPPDecodeException- Error decoding the DOM element tree.
-
equals
implements a deepEPPHellocompare. -
clone
CloneEPPHello.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classObject- Returns:
- clone of
EPPHello - Throws:
CloneNotSupportedException- standard Object.clone exception
-
toString
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.
-