com.sun.xml.ws.api.message
Interface AttachmentEx

All Superinterfaces:
Attachment
All Known Implementing Classes:
MimeMultipartParser.PartAttachment

public interface AttachmentEx
extends Attachment

Attachment extended interface exposing custom MIME headers.

Since:
2.2.6

Nested Class Summary
static interface AttachmentEx.MimeHeader
          MIME header
 
Method Summary
 Iterator<AttachmentEx.MimeHeader> getMimeHeaders()
          Iterator of custom MIME headers associated with this attachment
 
Methods inherited from interface com.sun.xml.ws.api.message.Attachment
asByteArray, asDataHandler, asInputStream, asSource, getContentId, getContentType, writeTo, writeTo
 

Method Detail

getMimeHeaders

@NotNull
Iterator<AttachmentEx.MimeHeader> getMimeHeaders()
Iterator of custom MIME headers associated with this attachment

Returns:
MIME header iterator


Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.