Package be.ehealth.businessconnector.vsbnetinsurability.helper

# Class ResponseHelper

java.lang.Object
be.ehealth.businessconnector.vsbnetinsurability.helper.ResponseHelper

public final class ResponseHelper extends Object
Helper providing methods to validate the content of the insurability response.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ResponseHelper()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static void`
  `validateResponse(GetInsurabilityResponse 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 Details

  - ### ResponseHelper

    public ResponseHelper()

- ## Method Details

  - ### validateResponse

    public static void validateResponse(GetInsurabilityResponse responseContent) throws TechnicalConnectorException
    Test if the jaxb object match the xsd rules. if not, an exception is throwed
    Parameters:
      `responseContent` -
    Throws:
      `TechnicalConnectorException` - if it contains code TechnicalConnectorExceptionValues.ERROR_XML_INVALID , it indicates a problem with the received xsd