Interface PayloadData

All Superinterfaces:
InputStreamProvider, Serializable, SizeAwareInputStreamProvider

@API public interface PayloadData extends Serializable, SizeAwareInputStreamProvider
Since:
31 okt 2012
  • Method Details

    • getName

      String getName()
      Returns:
      The name (if defined) for this payload data instance.
      Since:
      2021.1.0
    • getEncoding

      String getEncoding()
      Returns:
      The encoding used (if content type is text)
    • getContentType

      String getContentType()
      Returns:
      The content type of the payload data.
    • release

      void release()
      Releases this instance and all underlying resources related to this instance.

      Note that after you have released this instance you will no longer be able to read/use the generated Payload.