?? attachments.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 + -