|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.universaldevices.upnp.UDIWebServiceProcessor
public class UDIWebServiceProcessor
Processes all requests for a specific Web Service
Constructor Summary | |
---|---|
UDIWebServiceProcessor(java.lang.String webServiceName,
UDProxyDevice device)
Processes requests for the specified WEB service. |
Method Summary | |
---|---|
void |
reset()
Remove any cached objects such as UDProxyDevice, etc. |
UDHTTPResponse |
submitDetailedRequest(java.lang.String soapAction,
java.lang.StringBuffer body,
boolean keep_alive)
Submits a SOAP request, returns the full HTTP Response. |
UDHTTPResponse |
submitDetailedRequest(java.lang.String soapAction,
java.lang.StringBuffer body,
java.lang.String attributes,
boolean keep_alive)
Submits a SOAP request, returns the full HTTP Response. |
java.lang.String |
submitRequest(java.lang.String soapAction,
java.lang.StringBuffer body)
Submits a SOAP request, returning the body of the response in a string. |
java.lang.String |
submitRequest(java.lang.String soapAction,
java.lang.StringBuffer body,
java.lang.String attributes)
Submits a SOAP request, returning the body of the response in a string. |
boolean |
submitSimpleRequest(java.lang.String soapAction,
java.lang.StringBuffer body)
Submits a simple SOAP request, returning only success or failure. |
boolean |
submitSimpleRequest(java.lang.String soapAction,
java.lang.StringBuffer body,
java.lang.String attributes)
Submits a simple SOAP request, returning only success or failure. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UDIWebServiceProcessor(java.lang.String webServiceName, UDProxyDevice device)
webServiceName
- The common name of the Web Servicedevice
- The proxy device that will carry out the requestsMethod Detail |
---|
public void reset()
public boolean submitSimpleRequest(java.lang.String soapAction, java.lang.StringBuffer body)
soapAction
- SOAP actionbody
- Parameters
public boolean submitSimpleRequest(java.lang.String soapAction, java.lang.StringBuffer body, java.lang.String attributes)
soapAction
- SOAP actionbody
- Parameters
public java.lang.String submitRequest(java.lang.String soapAction, java.lang.StringBuffer body)
soapAction
- SOAP actionbody
- Parameters
public java.lang.String submitRequest(java.lang.String soapAction, java.lang.StringBuffer body, java.lang.String attributes)
soapAction
- SOAP actionbody
- Parametersattributes
- Attributes applied to SOAP action tag (or null if no attributes)
public UDHTTPResponse submitDetailedRequest(java.lang.String soapAction, java.lang.StringBuffer body, boolean keep_alive)
soapAction
- SOAP actionbody
- Parameterskeep_alive
-
public UDHTTPResponse submitDetailedRequest(java.lang.String soapAction, java.lang.StringBuffer body, java.lang.String attributes, boolean keep_alive)
soapAction
- SOAP actionbody
- Parametersattributes
- Attributes applied to SOAP action tag (or null if no attributes)keep_alive
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |