Class MultipartDescriptionResponse

  • All Implemented Interfaces:
    MultipartResponse<de.fraunhofer.iais.eis.ModelClass>

    public class MultipartDescriptionResponse
    extends java.lang.Object
    implements MultipartResponse<de.fraunhofer.iais.eis.ModelClass>
    Models a multipart response for an IDS DescriptionResponseMessage. This message is the expected response for MetadataRequests/IDS DescriptionRequestMessages and contains Infomodel metadata in the payload. Therefore ModelClass, which is the super class for all Infomodel classes, is set as the payload type.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @NotNull de.fraunhofer.iais.eis.Message getHeader()
      Returns the response header.
      @NotNull de.fraunhofer.iais.eis.ModelClass getPayload()
      Returns the response payload.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getHeader

        @NotNull
        public @NotNull de.fraunhofer.iais.eis.Message getHeader()
        Description copied from interface: MultipartResponse
        Returns the response header.
        Specified by:
        getHeader in interface MultipartResponse<de.fraunhofer.iais.eis.ModelClass>
        Returns:
        the response header.
      • getPayload

        @NotNull
        public @NotNull de.fraunhofer.iais.eis.ModelClass getPayload()
        Description copied from interface: MultipartResponse
        Returns the response payload.
        Specified by:
        getPayload in interface MultipartResponse<de.fraunhofer.iais.eis.ModelClass>
        Returns:
        the response payload.