|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cxf.ws.rm.RMContextUtils
public final class RMContextUtils
Holder for utility methods relating to contexts.
| Constructor Summary | |
|---|---|
protected |
RMContextUtils()
Prevents instantiation. |
| Method Summary | |
|---|---|
static void |
ensureExposedVersion(org.apache.cxf.ws.addressing.AddressingProperties maps)
Ensures the appropriate version of WS-Addressing is used. |
static java.lang.String |
generateUUID()
|
static org.apache.cxf.endpoint.Endpoint |
getEndpoint(org.apache.cxf.message.Message message)
Returns the endpoint of this message, i.e. |
static boolean |
isAplicationMessage(java.lang.String action)
Checks if the action String belongs to an application message. |
static boolean |
isOutbound(org.apache.cxf.message.Message message)
Determine if message is outbound. |
static boolean |
isPartialResponse(org.apache.cxf.message.Message message)
Checks if the message is a partial response to a oneway request. |
static boolean |
isRequestor(org.apache.cxf.message.Message message)
Determine if current messaging role is that of requestor. |
static boolean |
isServerSide(org.apache.cxf.message.Message message)
Determine if message is currently being processed on server side. |
static org.apache.cxf.ws.addressing.AddressingPropertiesImpl |
retrieveMAPs(org.apache.cxf.message.Message message,
boolean isProviderContext,
boolean isOutbound)
Retrieves the addressing properties from the current message. |
static RMProperties |
retrieveRMProperties(org.apache.cxf.message.Message message,
boolean outbound)
Retrieve the RM properties from the current message. |
static void |
storeMAPs(org.apache.cxf.ws.addressing.AddressingProperties maps,
org.apache.cxf.message.Message message,
boolean isProviderContext,
boolean isOutbound)
Store MAPs in the message. |
static void |
storeRMProperties(org.apache.cxf.message.Message message,
RMProperties rmps,
boolean outbound)
Store the RM properties in the current message. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected RMContextUtils()
| Method Detail |
|---|
public static java.lang.String generateUUID()
public static boolean isOutbound(org.apache.cxf.message.Message message)
message - the current Message
public static boolean isRequestor(org.apache.cxf.message.Message message)
message - the current Message
public static boolean isServerSide(org.apache.cxf.message.Message message)
message - the current Message
public static boolean isPartialResponse(org.apache.cxf.message.Message message)
message - the message
public static boolean isAplicationMessage(java.lang.String action)
action - the action
public static RMProperties retrieveRMProperties(org.apache.cxf.message.Message message,
boolean outbound)
message - the current messageoutbound - true iff the message direction is outbound
public static void storeRMProperties(org.apache.cxf.message.Message message,
RMProperties rmps,
boolean outbound)
message - the current messagermps - the RM propertiesoutbound - iff the message direction is outbound
public static org.apache.cxf.ws.addressing.AddressingPropertiesImpl retrieveMAPs(org.apache.cxf.message.Message message,
boolean isProviderContext,
boolean isOutbound)
message - the current messageisProviderContext - true if the binding provider request context
available to the client application as opposed to the message
context visible to handlersisOutbound - true iff the message is outbound
public static void storeMAPs(org.apache.cxf.ws.addressing.AddressingProperties maps,
org.apache.cxf.message.Message message,
boolean isProviderContext,
boolean isOutbound)
maps - the MAPs to storemessage - the current messageisOutbound - true iff the message is outboundisRequestor - true iff the current messaging role is that of
requestorhandler - true if HANDLER scope, APPLICATION scope otherwisepublic static void ensureExposedVersion(org.apache.cxf.ws.addressing.AddressingProperties maps)
maps - the addressing propertiespublic static org.apache.cxf.endpoint.Endpoint getEndpoint(org.apache.cxf.message.Message message)
message - the current Message
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||