|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.petals.component.framework.util.MtomUtil.MtomMapping
public static class MtomUtil.MtomMapping
A bean that describes a mapping of attachments associated with a Petals message.
An instance of this class aims at:
| Constructor Summary | |
|---|---|
MtomUtil.MtomMapping()
Constructor. |
|
| Method Summary | |
|---|---|
java.util.Map<java.lang.String,javax.activation.DataHandler> |
getContentIdToDataHandler()
|
java.util.Set<java.lang.String> |
getOrphanContentIds()
|
java.util.List<javax.activation.DataHandler> |
getOrphanDataHandlers()
|
java.lang.String |
toString()
This method build a message indicating the listing of orphan data handler's name, orphan content ID and the map associating content ID to DataHandler. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MtomUtil.MtomMapping()
| Method Detail |
|---|
public java.util.Map<java.lang.String,javax.activation.DataHandler> getContentIdToDataHandler()
This map is never null, but can be empty.
public java.util.Set<java.lang.String> getOrphanContentIds()
This list is never null, but can be empty.
Every missing data handler implies there is an error,
something is missing in the pay-load.
public java.util.List<javax.activation.DataHandler> getOrphanDataHandlers()
This list is never null, but can be empty.
Every orphan data handler implies there is an error on the
client side (SwA attachments are part of the pay-load). But
this should not prevent the processing from being done. This
method aims at describing the coherence of the pay-load with
the attachments (and can be used for logging reasons).
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||