|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object toolbox.services.ws.CXFHelper
public class CXFHelper
Helper class to obtain information from the CXF exchange and messages.
Field Summary | |
---|---|
static java.lang.String |
WSA_ACTION
|
static java.lang.String |
WSA_ADDRESS
|
static java.lang.String |
WSA_FAULT_TO
|
static java.lang.String |
WSA_MSG_ID
|
static java.lang.String |
WSA_NS_URI
|
static java.lang.String |
WSA_RELATES_TO
|
static java.lang.String |
WSA_REPLY_TO
|
static java.lang.String |
WSA_TO
|
Method Summary | |
---|---|
static org.w3c.dom.Element |
getInHeaderElement(java.lang.String qn,
org.apache.cxf.message.Exchange context)
Return the XML element that represents the named header. |
static java.lang.String |
getInHeaderValue(java.lang.String qn,
org.apache.cxf.message.Exchange context)
Return the value of the named header as a String. |
static java.lang.String |
getInHeaderValue(java.lang.String parentQn,
java.lang.String childQn,
org.apache.cxf.message.Exchange context)
Return the value of the named child header inside the named parent header. |
static java.lang.String |
getWsaAction(org.apache.cxf.message.Exchange context)
Return the value of the WS-Addressing Action header. |
static java.lang.String |
getWsaFaultTo(org.apache.cxf.message.Exchange context)
Return the value of the WS-Addressing FaultTo header. |
static java.lang.String |
getWsaMessageID(org.apache.cxf.message.Exchange context)
Return the value of the WS-Addressing MessageID header. |
static java.lang.String |
getWsaRelatesTo(org.apache.cxf.message.Exchange context)
Return the value of the WS-Addressing RelatesTo header. |
static java.lang.String |
getWsaReplyTo(org.apache.cxf.message.Exchange context)
Return the value of the WS-Addressing ReplyTo header. |
static java.lang.String |
getWsaTo(org.apache.cxf.message.Exchange context)
Return the value of the WS-Addressing To header. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String WSA_NS_URI
public static final java.lang.String WSA_MSG_ID
public static final java.lang.String WSA_ACTION
public static final java.lang.String WSA_TO
public static final java.lang.String WSA_REPLY_TO
public static final java.lang.String WSA_FAULT_TO
public static final java.lang.String WSA_RELATES_TO
public static final java.lang.String WSA_ADDRESS
Method Detail |
---|
public static java.lang.String getInHeaderValue(java.lang.String qn, org.apache.cxf.message.Exchange context)
qn
- String containing the qname of the header that must
be returned. This value must be in the form
{namespace}localNamecontext
- The cxf exchange containing the message.
public static java.lang.String getInHeaderValue(java.lang.String parentQn, java.lang.String childQn, org.apache.cxf.message.Exchange context)
parentQn
- String containing the qname of the parent header
This value must be in the form {namespace}localNamechildQn
- String containing the qname of the child header that
must be returned.
This value must be in the form {namespace}localNamecontext
- The cxf exchange containing the message.
public static org.w3c.dom.Element getInHeaderElement(java.lang.String qn, org.apache.cxf.message.Exchange context)
qn
- String containing the qname of the header that must
be returned. This value must be in the form
{namespace}localNamecontext
- The cxf exchange containing the message.
public static java.lang.String getWsaAction(org.apache.cxf.message.Exchange context)
context
- The cxf exchange containing the message.
public static java.lang.String getWsaMessageID(org.apache.cxf.message.Exchange context)
context
- The cxf exchange containing the message.
public static java.lang.String getWsaTo(org.apache.cxf.message.Exchange context)
context
- The cxf exchange containing the message.
public static java.lang.String getWsaRelatesTo(org.apache.cxf.message.Exchange context)
context
- The cxf exchange containing the message.
public static java.lang.String getWsaReplyTo(org.apache.cxf.message.Exchange context)
context
- The cxf exchange containing the message.
public static java.lang.String getWsaFaultTo(org.apache.cxf.message.Exchange context)
context
- The cxf exchange containing the message.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |