Class DataContentHandlerSoap12

java.lang.Object
org.eclipse.angus.mail.handlers.handler_base
org.eclipse.angus.mail.handlers.text_plain
com.helger.phase4.messaging.mime.DataContentHandlerSoap12
All Implemented Interfaces:
jakarta.activation.DataContentHandler

public class DataContentHandlerSoap12 extends org.eclipse.angus.mail.handlers.text_plain
Special DataContentHandler for SOAP 1.2 messages with the special MIME type.
Author:
Philip Helger
  • Constructor Details

    • DataContentHandlerSoap12

      public DataContentHandlerSoap12()
  • Method Details

    • getDataFlavors

      @Nonnull @ReturnsMutableObject("design") protected jakarta.activation.ActivationDataFlavor[] getDataFlavors()
      Overrides:
      getDataFlavors in class org.eclipse.angus.mail.handlers.text_plain
    • getData

      @Nonnull protected Object getData(@Nonnull jakarta.activation.ActivationDataFlavor aFlavor, @Nonnull jakarta.activation.DataSource ds) throws IOException
      Overrides:
      getData in class org.eclipse.angus.mail.handlers.handler_base
      Throws:
      IOException
    • writeTo

      public void writeTo(@Nonnull Object aObj, @Nonnull String sMimeType, @Nonnull @WillNotClose OutputStream aOS) throws IOException
      Specified by:
      writeTo in interface jakarta.activation.DataContentHandler
      Overrides:
      writeTo in class org.eclipse.angus.mail.handlers.text_plain
      Throws:
      IOException