|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.teleal.cling.transport.impl.SOAPActionProcessorImpl
public class SOAPActionProcessorImpl
Default implementation based on the W3C DOM XML processing API.
Constructor Summary | |
---|---|
SOAPActionProcessorImpl()
|
Method Summary | |
---|---|
protected ActionArgumentValue |
createValue(ActionArgument arg,
Object value)
|
protected List<Node> |
getMatchingNodes(NodeList nodeList,
List<ActionArgument> args)
|
protected String |
getUnprefixedNodeName(Node node)
|
void |
readActionInputArguments(Element actionRequestElement,
ActionInvocation actionInvocation)
|
protected void |
readActionOutputArguments(Element actionResponseElement,
ActionInvocation actionInvocation)
|
protected Element |
readActionRequestElement(Element bodyElement,
ActionRequestMessage message,
ActionInvocation actionInvocation)
|
protected Element |
readActionResponseElement(Element bodyElement,
ActionInvocation actionInvocation)
|
protected ActionArgumentValue[] |
readArgumentValues(NodeList nodeList,
List<ActionArgument> args)
|
void |
readBody(ActionRequestMessage requestMessage,
ActionInvocation actionInvocation)
Converts SOAP XML content of the request message and sets input argument values on the given invocation. |
void |
readBody(ActionResponseMessage responseMsg,
ActionInvocation actionInvocation)
Converts SOAP XML content of the response message and sets output argument values on the given invocation. |
protected Element |
readBodyElement(Document d)
|
protected ActionException |
readBodyFailure(Document d,
Element bodyElement)
|
protected void |
readBodyRequest(Document d,
Element bodyElement,
ActionRequestMessage message,
ActionInvocation actionInvocation)
|
protected void |
readBodyResponse(Document d,
Element bodyElement,
ActionResponseMessage message,
ActionInvocation actionInvocation)
|
protected ActionException |
readFaultElement(Element bodyElement)
|
protected String |
toString(Document d)
|
protected void |
writeActionInputArguments(Document d,
Element actionRequestElement,
ActionInvocation actionInvocation)
|
protected void |
writeActionOutputArguments(Document d,
Element actionResponseElement,
ActionInvocation actionInvocation)
|
protected Element |
writeActionRequestElement(Document d,
Element bodyElement,
ActionRequestMessage message,
ActionInvocation actionInvocation)
|
protected Element |
writeActionResponseElement(Document d,
Element bodyElement,
ActionResponseMessage message,
ActionInvocation actionInvocation)
|
void |
writeBody(ActionRequestMessage requestMessage,
ActionInvocation actionInvocation)
Converts the given invocation input into SOAP XML content, setting on the given request message. |
void |
writeBody(ActionResponseMessage responseMessage,
ActionInvocation actionInvocation)
Converts the given invocation output into SOAP XML content, setting on the given response message. |
protected Element |
writeBodyElement(Document d)
|
protected void |
writeBodyFailure(Document d,
Element bodyElement,
ActionResponseMessage message,
ActionInvocation actionInvocation)
|
protected void |
writeBodyRequest(Document d,
Element bodyElement,
ActionRequestMessage message,
ActionInvocation actionInvocation)
|
protected void |
writeBodyResponse(Document d,
Element bodyElement,
ActionResponseMessage message,
ActionInvocation actionInvocation)
|
protected void |
writeFaultElement(Document d,
Element bodyElement,
ActionInvocation actionInvocation)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SOAPActionProcessorImpl()
Method Detail |
---|
public void writeBody(ActionRequestMessage requestMessage, ActionInvocation actionInvocation) throws UnsupportedDataException
SOAPActionProcessor
writeBody
in interface SOAPActionProcessor
requestMessage
- The request message on which the SOAP content is set.actionInvocation
- The action invocation from which input argument values are read.
UnsupportedDataException
public void writeBody(ActionResponseMessage responseMessage, ActionInvocation actionInvocation) throws UnsupportedDataException
SOAPActionProcessor
writeBody
in interface SOAPActionProcessor
responseMessage
- The response message on which the SOAP content is set.actionInvocation
- The action invocation from which output argument values are read.
UnsupportedDataException
public void readBody(ActionRequestMessage requestMessage, ActionInvocation actionInvocation) throws UnsupportedDataException
SOAPActionProcessor
readBody
in interface SOAPActionProcessor
requestMessage
- The request message from which SOAP content is read.actionInvocation
- The action invocation on which input argument values are set.
UnsupportedDataException
public void readBody(ActionResponseMessage responseMsg, ActionInvocation actionInvocation) throws UnsupportedDataException
SOAPActionProcessor
readBody
in interface SOAPActionProcessor
responseMsg
- The response message from which SOAP content is read.actionInvocation
- The action invocation on which output argument values are set.
UnsupportedDataException
protected void writeBodyFailure(Document d, Element bodyElement, ActionResponseMessage message, ActionInvocation actionInvocation) throws Exception
Exception
protected void writeBodyRequest(Document d, Element bodyElement, ActionRequestMessage message, ActionInvocation actionInvocation) throws Exception
Exception
protected void writeBodyResponse(Document d, Element bodyElement, ActionResponseMessage message, ActionInvocation actionInvocation) throws Exception
Exception
protected ActionException readBodyFailure(Document d, Element bodyElement) throws Exception
Exception
protected void readBodyRequest(Document d, Element bodyElement, ActionRequestMessage message, ActionInvocation actionInvocation) throws Exception
Exception
protected void readBodyResponse(Document d, Element bodyElement, ActionResponseMessage message, ActionInvocation actionInvocation) throws Exception
Exception
protected Element writeBodyElement(Document d)
protected Element readBodyElement(Document d)
protected Element writeActionRequestElement(Document d, Element bodyElement, ActionRequestMessage message, ActionInvocation actionInvocation)
protected Element readActionRequestElement(Element bodyElement, ActionRequestMessage message, ActionInvocation actionInvocation)
protected Element writeActionResponseElement(Document d, Element bodyElement, ActionResponseMessage message, ActionInvocation actionInvocation)
protected Element readActionResponseElement(Element bodyElement, ActionInvocation actionInvocation)
protected void writeActionInputArguments(Document d, Element actionRequestElement, ActionInvocation actionInvocation)
public void readActionInputArguments(Element actionRequestElement, ActionInvocation actionInvocation) throws ActionException
ActionException
protected void writeActionOutputArguments(Document d, Element actionResponseElement, ActionInvocation actionInvocation)
protected void readActionOutputArguments(Element actionResponseElement, ActionInvocation actionInvocation) throws ActionException
ActionException
protected void writeFaultElement(Document d, Element bodyElement, ActionInvocation actionInvocation)
protected ActionException readFaultElement(Element bodyElement)
protected String toString(Document d) throws Exception
Exception
protected String getUnprefixedNodeName(Node node)
protected ActionArgumentValue[] readArgumentValues(NodeList nodeList, List<ActionArgument> args) throws ActionException
ActionException
protected List<Node> getMatchingNodes(NodeList nodeList, List<ActionArgument> args) throws ActionException
ActionException
protected ActionArgumentValue createValue(ActionArgument arg, Object value) throws ActionException
ActionException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |