attachments.java

来自「Xfire文件 用于开发web service 的一个开源工具 很好用的」· Java 代码 · 共 52 行

JAVA
52
字号
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 + =
减小字号Ctrl + -
显示快捷键?