Class CXMLBuilder
java.lang.Object
de.hybris.platform.b2b.punchout.services.CXMLBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncreate()protected CXMLprotected Stringprotected StringGenerates a new payload ID in the required format: datetime.process id.random number@hostname.static CXMLBuilderwithResponseCode(String code) withResponseMessage(String message)
-
Method Details
-
newInstance
-
createNewCXML
-
generatePayload
Generates a new payload ID in the required format: datetime.process id.random number@hostname. Note: Process ID is skipped as there's no easy way to get it.- Returns:
- the payload ID
-
findHostName
- Returns:
- the host name or just 'localhost' if not able to determine it
-
create
- Returns:
- the newly created
CXMLinstance
-
withResponseCode
-
withResponseMessage
-