|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
org.apache.cxf.ws.addressing.MAPAggregator
public class MAPAggregator
Logical Handler responsible for aggregating the Message Addressing Properties for outgoing messages.
| Nested Class Summary | |
|---|---|
protected static class |
MAPAggregator.InterposedMessageObserver
|
| Field Summary | |
|---|---|
static String |
ADDRESSING_DISABLED
|
static String |
DECOUPLED_DESTINATION
|
static String |
USING_ADDRESSING
|
| Constructor Summary | |
|---|---|
MAPAggregator()
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
allowDuplicates()
Indicates if duplicate messageIDs are allowed. |
protected String |
getActionUri(org.apache.cxf.message.Message message,
boolean checkMessage)
|
MessageIdCache |
getMessageIdCache()
Returns the cache used to enforce duplicate message IDs when allowDuplicates() returns false. |
void |
handleFault(org.apache.cxf.message.Message message)
Invoked when unwinding normal interceptor chain when a fault occurred. |
void |
handleMessage(org.apache.cxf.message.Message message)
Invoked for normal processing of inbound and outbound messages. |
boolean |
isAddressingRequired()
Whether the use of addressing is completely required for this endpoint |
boolean |
isUsingAddressingAdvisory()
Whether the presence of the |
protected boolean |
mediate(org.apache.cxf.message.Message message,
boolean isFault)
Mediate message flow. |
void |
setAddressingRequired(boolean required)
Sets whether the use of addressing is completely required for this endpoint |
void |
setAllowDuplicates(boolean ad)
Allows/disallows duplicate messageIdDs. |
void |
setMessageIdCache(MessageIdCache messageIdCache)
Sets the cache used to enforce duplicate message IDs when allowDuplicates() returns false. |
void |
setUsingAddressingAdvisory(boolean advisory)
Controls whether the presence of the |
| Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor |
|---|
addAfter, addAfter, addBefore, addBefore, getAfter, getBefore, getId, getPhase, isGET, isRequestor, setAfter, setBefore |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String USING_ADDRESSING
public static final String ADDRESSING_DISABLED
public static final String DECOUPLED_DESTINATION
| Constructor Detail |
|---|
public MAPAggregator()
| Method Detail |
|---|
public boolean allowDuplicates()
public void setAllowDuplicates(boolean ad)
ad - whether duplicate messageIDs are allowedpublic boolean isUsingAddressingAdvisory()
public void setUsingAddressingAdvisory(boolean advisory)
advisory - true if the presence of the public boolean isAddressingRequired()
public void setAddressingRequired(boolean required)
public MessageIdCache getMessageIdCache()
allowDuplicates() returns false.
public void setMessageIdCache(MessageIdCache messageIdCache)
allowDuplicates() returns false.
messageIdCache - the cache to use
NullPointerException - if messageIdCache is nullpublic void handleMessage(org.apache.cxf.message.Message message)
message - the current messagepublic void handleFault(org.apache.cxf.message.Message message)
handleFault in interface org.apache.cxf.interceptor.Interceptor<org.apache.cxf.message.Message>handleFault in class org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>message - the current message
protected boolean mediate(org.apache.cxf.message.Message message,
boolean isFault)
message - the current messageisFault - true if a fault is being mediated
protected String getActionUri(org.apache.cxf.message.Message message,
boolean checkMessage)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||