Report (JavaMail API documentation)
Date: 2018-05-06

com.sun.mail.dsn

## Class Report

- java.lang.Object
- - com.sun.mail.dsn.Report

- Direct Known Subclasses:
    DeliveryStatus, DispositionNotification

      public abstract class Report
      extends java.lang.Object

  An abstract report type, to be included in a MultipartReport. Subclasses define specific report types, such as `DeliveryStatus` and `DispositionNotification`.
  Since:
    JavaMail 1.4.2

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected java.lang.String` | `type`

  - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `Report(java.lang.String type)` Construct a report of the indicated MIME subtype.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getType()` Get the MIME subtype of the report.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### type

          protected java.lang.String type

  - ### Constructor Detail

    - #### Report

          protected Report(java.lang.String type)

      Construct a report of the indicated MIME subtype. The primary MIME type is always "message".

  - ### Method Detail

    - #### getType

          public java.lang.String getType()

      Get the MIME subtype of the report. The primary MIME type is always "message".

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms< /a>.