Package com.verisign.epp.framework
Interface EPPByteArrayAssembler
- All Known Implementing Classes:
EPPXMLByteArrayAssembler,HttpEPPXMLAssembler
public interface EPPByteArrayAssembler
The
EPPByteArrayAssembler interface defines an interface for serializing
EPPEvent objects and EPPEventResponse objects to and from byte arrays.- See Also:
-
Method Summary
-
Method Details
-
encode
Takes anEPPEventResponseand serializes the response as a byte array.- Parameters:
aResponse- The response that will be serializedaData- A data object which can be used to store context information.- Returns:
bytearray containing the encoded data.- Throws:
EPPAssemblerException- Error converting theEPPEventResponseto a byte array.
-
decode
Takes anbytearray and creates aEPPEvent.- Parameters:
aInputBytes- The byte array containing the request data.aData- A data object which can be used to store context information.- Returns:
- EPPEvent The
EPPEventthat is created from the input bytes. - Throws:
EPPAssemblerException- Error creating theEPPEvent
-