Interface Modified

All Superinterfaces:
DeliveryState
All Known Implementing Classes:
ClientDeliveryState.ClientModified

public interface Modified extends DeliveryState
Modified delivery state or outcome that carries details on the modification provided by the remote peer or sent by the local client.
  • Method Details

    • isDeliveryFailed

      boolean isDeliveryFailed()
      Returns:
      true if the disposition indicates the delivery failed
    • isUndeliverableHere

      boolean isUndeliverableHere()
      Returns:
      true if the disposition indicates the delivery should not be attempted again at the target
    • getMessageAnnotations

      Map<String,Object> getMessageAnnotations()
      Returns:
      a Map containing the annotations applied by the peer that created the disposition
    • getType

      default DeliveryState.Type getType()
      Specified by:
      getType in interface DeliveryState
      Returns:
      the type that the given DeliveryState represents.
    • isModified

      default boolean isModified()
      Specified by:
      isModified in interface DeliveryState
      Returns:
      true if the DeliveryState represents an Modified outcome.