java.lang.Object
org.openehealth.ipf.commons.ihe.xds.core.responses.Response
org.openehealth.ipf.commons.ihe.xds.core.responses.QueryResponse
All Implemented Interfaces:
Serializable

public class QueryResponse extends Response implements Serializable
Contains the response data for a query. Lists are pre-created and can therefore never be null.
Author:
Jens Riemschneider
See Also:
  • Constructor Details

    • QueryResponse

      public QueryResponse()
      Constructs the response.
    • QueryResponse

      public QueryResponse(Status status)
      Constructs the response.
      Parameters:
      status - the status of the request execution.
    • QueryResponse

      public QueryResponse(Throwable throwable, ErrorCode defaultMetaDataError, ErrorCode defaultError, String location)
      Constructs an error response object with the data from an exception.
      Parameters:
      throwable - the exception that occurred.
      defaultMetaDataError - the default error code for XDSMetaDataException.
      defaultError - the default error code for any other exception.
      location - error location.
  • Method Details