Package org.jupnp.transport.spi
Schnittstelle SOAPActionProcessor
- Alle bekannten Implementierungsklassen:
SOAPActionProcessorImpl
public interface SOAPActionProcessor
Converts UPnP SOAP messages from/to action invocations.
The UPnP protocol layer processes local and remote ActionInvocation
instances. The UPnP transport layer accepts and returns StreamRequestMessages
and StreamResponseMessages. This processor is an adapter between the
two layers, reading and writing SOAP content.
- Autor:
- Christian Bauer
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidreadBody(ActionRequestMessage requestMessage, ActionInvocation actionInvocation) Converts SOAP XML content of the request message and sets input argument values on the given invocation.voidreadBody(ActionResponseMessage responseMsg, ActionInvocation actionInvocation) Converts SOAP XML content of the response message and sets output argument values on the given invocation.voidwriteBody(ActionRequestMessage requestMessage, ActionInvocation actionInvocation) Converts the given invocation input into SOAP XML content, setting on the given request message.voidwriteBody(ActionResponseMessage responseMessage, ActionInvocation actionInvocation) Converts the given invocation output into SOAP XML content, setting on the given response message.
-
Methodendetails
-
writeBody
void writeBody(ActionRequestMessage requestMessage, ActionInvocation actionInvocation) throws UnsupportedDataException Converts the given invocation input into SOAP XML content, setting on the given request message.- Parameter:
requestMessage- The request message on which the SOAP content is set.actionInvocation- The action invocation from which input argument values are read.- Löst aus:
UnsupportedDataException
-
writeBody
void writeBody(ActionResponseMessage responseMessage, ActionInvocation actionInvocation) throws UnsupportedDataException Converts the given invocation output into SOAP XML content, setting on the given response message.- Parameter:
responseMessage- The response message on which the SOAP content is set.actionInvocation- The action invocation from which output argument values are read.- Löst aus:
UnsupportedDataException
-
readBody
void readBody(ActionRequestMessage requestMessage, ActionInvocation actionInvocation) throws UnsupportedDataException Converts SOAP XML content of the request message and sets input argument values on the given invocation.- Parameter:
requestMessage- The request message from which SOAP content is read.actionInvocation- The action invocation on which input argument values are set.- Löst aus:
UnsupportedDataException
-
readBody
void readBody(ActionResponseMessage responseMsg, ActionInvocation actionInvocation) throws UnsupportedDataException Converts SOAP XML content of the response message and sets output argument values on the given invocation.- Parameter:
responseMsg- The response message from which SOAP content is read.actionInvocation- The action invocation on which output argument values are set.- Löst aus:
UnsupportedDataException
-