|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ehealth.businessconnector.registration.helper.ResponseHelper
public class ResponseHelper
Helper providing methods to validate the content of the response of a registration.
Constructor Summary | |
---|---|
ResponseHelper()
only for ModuleBootstrapHook. |
Method Summary | |
---|---|
void |
bootstrap()
|
static RegistrationsAnswer |
toObject(byte[] responseContent)
Return the jaxb object for a |
static void |
validateResponse(RegistrationsAnswer responseContent)
Test if the jaxb object match the xsd rules. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResponseHelper()
Method Detail |
---|
public static void validateResponse(RegistrationsAnswer responseContent) throws TechnicalConnectorException
responseContent
-
TechnicalConnectorException
- if it contains code TechnicalConnectorExceptionValues.ERROR_XML_INVALID , it indicates a problem
with the received xsdpublic static RegistrationsAnswer toObject(byte[] responseContent)
responseContent
-
public void bootstrap()
bootstrap
in interface ConfigurationModuleBootstrap.ModuleBootstrapHook
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |