| 
 | Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cxf.message.MessageUtils
public final class MessageUtils
Holder for utility methods relating to messages.
| Method Summary | |
|---|---|
| static FaultMode | getFaultMode(Message message)Determine the fault mode for the underlying (fault) message (for use on server side only). | 
| static boolean | isDOMPresent(Message m)Returns true if the underlying content format is a W3C DOM or a SAAJ message. | 
| static boolean | isFault(Message message)Determine if message is fault. | 
| static boolean | isOutbound(Message message)Determine if message is outbound. | 
| static boolean | isPartialResponse(Message message)Determine if the current message is a partial response. | 
| static boolean | isRequestor(Message message)Determine if current messaging role is that of requestor. | 
| static boolean | isTrue(java.lang.Object value)Returns true if a value is either the String "true" (regardless of case) or Boolean.TRUE. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
|---|
public static boolean isOutbound(Message message)
message - the current Message
public static boolean isFault(Message message)
message - the current Message
public static FaultMode getFaultMode(Message message)
message - the fault message
public static boolean isRequestor(Message message)
message - the current Message
public static boolean isPartialResponse(Message message)
message - the current message
public static boolean isTrue(java.lang.Object value)
value - 
public static boolean isDOMPresent(Message m)
| 
 | Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||