|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.petals.component.framework.api.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 | |
|---|---|
Map<String,DataHandler> |
getContentIdToDataHandler()
|
Set<String> |
getOrphanContentIds()
|
List<DataHandler> |
getOrphanDataHandlers()
|
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 Map<String,DataHandler> getContentIdToDataHandler()
This map is never null, but can be empty.
public Set<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 List<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 String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||