jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/messaging/saaj/packaging/mime/internet/MimeBodyPart.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
30 |
30 |
31 |
31 |
32 package com.sun.xml.internal.messaging.saaj.packaging.mime.internet; |
32 package com.sun.xml.internal.messaging.saaj.packaging.mime.internet; |
33 |
33 |
34 |
34 |
|
35 import com.sun.xml.internal.messaging.saaj.packaging.mime.Header; |
35 import com.sun.xml.internal.messaging.saaj.packaging.mime.MessagingException; |
36 import com.sun.xml.internal.messaging.saaj.packaging.mime.MessagingException; |
36 import com.sun.xml.internal.messaging.saaj.packaging.mime.util.OutputUtil; |
37 import com.sun.xml.internal.messaging.saaj.packaging.mime.util.OutputUtil; |
37 import com.sun.xml.internal.messaging.saaj.util.ByteOutputStream; |
38 import com.sun.xml.internal.messaging.saaj.util.ByteOutputStream; |
38 import com.sun.xml.internal.messaging.saaj.util.FinalArrayList; |
39 import com.sun.xml.internal.messaging.saaj.util.FinalArrayList; |
39 |
40 |
1039 |
1040 |
1040 /** |
1041 /** |
1041 * Return all the headers from this Message as an Enumeration of |
1042 * Return all the headers from this Message as an Enumeration of |
1042 * Header objects. |
1043 * Header objects. |
1043 */ |
1044 */ |
1044 public FinalArrayList<hdr> getAllHeaders() { |
1045 public List<? extends Header> getAllHeaders() { |
1045 return headers.getAllHeaders(); |
1046 return headers.getAllHeaders(); |
1046 } |
1047 } |
1047 |
1048 |
1048 |
1049 |
1049 /** |
1050 /** |