⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 attachments.java

📁 Xfire文件 用于开发web service 的一个开源工具 很好用的
💻 JAVA
字号:
package org.codehaus.xfire.attachments;import java.io.IOException;import java.io.OutputStream;import java.util.Iterator;/** * Manages attachments for an invocation. * * @author <a href="mailto:dan@envoisolutions.com">Dan Diephouse</a> * @see org.codehaus.xfire.exchange.AbstractMessage */public interface Attachments{    /**     * @return Returns the SOAP Message.     */    Attachment getSoapMessage();    /**     * @param soapMessage The SOAP Message to set.     */    void setSoapMessage(Attachment soapMessage);    void addPart(Attachment part);    Iterator getParts();    Attachment getPart(String id);    int size();    void write(OutputStream out) throws IOException;    /**     * Get the conetnt type of the whole message.     * @return     */    String getContentType();    /**     * Get the content type of the soap message.     * @return     */    String getSoapContentType();        /**     * Set the content type of the soap message.     * @param soapMimeType     */    void setSoapContentType(String soapMimeType);}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -