[prev in list] [next in list] [prev in thread] [next in thread] 

List:       webservices-general
Subject:    [jira] [Commented] (AXIOM-350) Clean up the org.apache.axiom.attachments.Part interface
From:       "Hudson (JIRA)" <jira () apache ! org>
Date:       2016-04-30 22:22:12
Message-ID: JIRA.12479905.1289731051000.79574.1462054932898 () Atlassian ! JIRA
[Download RAW message or body]


    [ https://issues.apache.org/jira/browse/AXIOM-350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15265531#comment-15265531 \
] 

Hudson commented on AXIOM-350:
------------------------------

SUCCESS: Integrated in axiom-trunk #2672 (See \
                [https://builds.apache.org/job/axiom-trunk/2672/])
AXIOM-350: Clean up the Part interface and move it to org.apache.axiom.mime. \
                (veithen: rev 1741816)
* axiom/axiom-api/src/main/java/org/apache/axiom/attachments/IncomingAttachmentStreams.java
                
* axiom/axiom-api/src/main/java/org/apache/axiom/attachments/LegacyPartDataHandler.java
                
* axiom/axiom-api/src/main/java/org/apache/axiom/attachments/MIMEMessage.java
* axiom/axiom-api/src/main/java/org/apache/axiom/attachments/MIMEMessageAdapter.java
* axiom/axiom-api/src/main/java/org/apache/axiom/attachments/Part.java
* axiom/axiom-api/src/main/java/org/apache/axiom/attachments/PartDataHandler.java
* axiom/axiom-api/src/main/java/org/apache/axiom/attachments/PartDataSource.java
* axiom/axiom-api/src/main/java/org/apache/axiom/attachments/PartImpl.java
* axiom/axiom-api/src/main/java/org/apache/axiom/attachments/PartIterator.java
* axiom/axiom-api/src/main/java/org/apache/axiom/attachments/Util.java
* axiom/axiom-api/src/main/java/org/apache/axiom/mime/Header.java
* axiom/axiom-api/src/main/java/org/apache/axiom/mime/Part.java


> Clean up the org.apache.axiom.attachments.Part interface
> --------------------------------------------------------
> 
> Key: AXIOM-350
> URL: https://issues.apache.org/jira/browse/AXIOM-350
> Project: Axiom
> Issue Type: Task
> Components: API
> Reporter: Andreas Veithen
> Assignee: Andreas Veithen
> 
> Currently, the Part interface is only used internally by Axiom. This can be seen \
> from the current Javadoc [1] (note that Part is used by PartFactory, which is also \
> only used internally [2]). Therefore the Part interface is not really part of the \
> public API and modifying it would only impact code that uses Part and PartFactory \
> independently from the rest of the Axiom API, which is a highly unlikely case. In \
> order to solve AXIOM-31 and AXIOM-280, it is proposed to expose the Part instances \
> via the Attachments object. This is also necessary to make the SAAJ implementation \
> in Axis2 complete, because SAAJ defines methods to access the headers of a MIME \
> part, and this is not possible with the current Axiom API. Exposing the Part \
> instances via the Attachments object will make the Part interface part of the \
> public API. Before doing this, we should clean up this interface a bit. In \
> particular, we should eliminate its dependency on the JavaMail API (usage of \
> javax.mail.MessagingException by all methods and usage of javax.mail.Header as a \
> return value of getAllHeaders). [1] \
> http://ws.apache.org/axiom/apidocs/org/apache/axiom/attachments/class-use/Part.html \
> [2] http://ws.apache.org/axiom/apidocs/org/apache/axiom/attachments/impl/class-use/PartFactory.html
> 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic