Class MessageSample

  • Direct Known Subclasses:
    MIMESample, XMLSample

    public abstract class MessageSample
    extends org.apache.axiom.testing.multiton.Multiton
    • Method Detail

      • getContentType

        public abstract String getContentType()
      • getName

        public final String getName()
        Get the name of this message (for use in test case naming e.g.).
        Returns:
        the name of this test message
      • getInputStream

        public final InputStream getInputStream()
        Get the content of this message.
        Returns:
        an input stream with the content of this message
      • getUrl

        public final URL getUrl()