org.jboss.test.webservice.attachment
Interface Attachment

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
AttachmentImpl (src)

public interface Attachment
extends java.rmi.Remote

Service Endpoint Interface for the MIME mapping required by JAXRPC-1.1 image/gif java.awt.Image image/jpeg java.awt.Image text/plain java.lang.String multipart/* javax.mail.internet.MimeMultipart text/xml javax.xml.transform.Source application/xml javax.xml.transform.Source

Since:
Nov 17, 2004

Method Summary
 DataHandler echoHandler(DataHandler mimepart)
           
 javax.xml.transform.Source echoMimeApplicationXML(javax.xml.transform.Source mimepart)
          Service endpoint method for application/xml
 java.lang.Object echoMimeImageGIF(java.lang.Object mimepart)
          Service endpoint method for image/gif
 java.lang.Object echoMimeImageJPEG(java.lang.Object mimepart)
          Service endpoint method for image/jpeg
 java.lang.Object echoMimeMultipart(java.lang.Object mimepart)
          Service endpoint method for multipart/*
 java.lang.Object echoMimeTextPlain(java.lang.Object mimepart)
          Service endpoint method for text/plain
 java.lang.Object echoMimeTextXML(java.lang.Object mimepart)
          Service endpoint method for text/xml
 java.lang.String sendMimeApplicationXML(java.lang.String message, java.lang.Object mimepart)
          Service endpoint method for application/xml
 java.lang.String sendMimeImageGIF(java.lang.String message, java.lang.Object mimepart)
          Service endpoint method for image/gif
 java.lang.String sendMimeImageJPEG(java.lang.String message, java.lang.Object mimepart)
          Service endpoint method for image/jpeg
 java.lang.String sendMimeMultipart(java.lang.String message, java.lang.Object mimepart)
          Service endpoint method for multipart/*
 java.lang.String sendMimeTextPlain(java.lang.String message, java.lang.Object mimepart)
          Service endpoint method for text/plain
 java.lang.String sendMimeTextXML(java.lang.String message, java.lang.Object mimepart)
          Service endpoint method for text/xml
 

Method Detail

sendMimeImageGIF

public java.lang.String sendMimeImageGIF(java.lang.String message,
                                         java.lang.Object mimepart)
                                  throws java.rmi.RemoteException
Service endpoint method for image/gif

Throws:
java.rmi.RemoteException

sendMimeImageJPEG

public java.lang.String sendMimeImageJPEG(java.lang.String message,
                                          java.lang.Object mimepart)
                                   throws java.rmi.RemoteException
Service endpoint method for image/jpeg

Throws:
java.rmi.RemoteException

sendMimeTextPlain

public java.lang.String sendMimeTextPlain(java.lang.String message,
                                          java.lang.Object mimepart)
                                   throws java.rmi.RemoteException
Service endpoint method for text/plain

Throws:
java.rmi.RemoteException

sendMimeMultipart

public java.lang.String sendMimeMultipart(java.lang.String message,
                                          java.lang.Object mimepart)
                                   throws java.rmi.RemoteException
Service endpoint method for multipart/*

Throws:
java.rmi.RemoteException

sendMimeTextXML

public java.lang.String sendMimeTextXML(java.lang.String message,
                                        java.lang.Object mimepart)
                                 throws java.rmi.RemoteException
Service endpoint method for text/xml

Throws:
java.rmi.RemoteException

sendMimeApplicationXML

public java.lang.String sendMimeApplicationXML(java.lang.String message,
                                               java.lang.Object mimepart)
                                        throws java.rmi.RemoteException
Service endpoint method for application/xml

Throws:
java.rmi.RemoteException

echoMimeImageGIF

public java.lang.Object echoMimeImageGIF(java.lang.Object mimepart)
                                  throws java.rmi.RemoteException
Service endpoint method for image/gif

Throws:
java.rmi.RemoteException

echoMimeImageJPEG

public java.lang.Object echoMimeImageJPEG(java.lang.Object mimepart)
                                   throws java.rmi.RemoteException
Service endpoint method for image/jpeg

Throws:
java.rmi.RemoteException

echoMimeTextPlain

public java.lang.Object echoMimeTextPlain(java.lang.Object mimepart)
                                   throws java.rmi.RemoteException
Service endpoint method for text/plain

Throws:
java.rmi.RemoteException

echoMimeMultipart

public java.lang.Object echoMimeMultipart(java.lang.Object mimepart)
                                   throws java.rmi.RemoteException
Service endpoint method for multipart/*

Throws:
java.rmi.RemoteException

echoMimeTextXML

public java.lang.Object echoMimeTextXML(java.lang.Object mimepart)
                                 throws java.rmi.RemoteException
Service endpoint method for text/xml

Throws:
java.rmi.RemoteException

echoMimeApplicationXML

public javax.xml.transform.Source echoMimeApplicationXML(javax.xml.transform.Source mimepart)
                                                  throws java.rmi.RemoteException
Service endpoint method for application/xml

Throws:
java.rmi.RemoteException

echoHandler

public DataHandler echoHandler(DataHandler mimepart)
                        throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException