public class QueryResponse extends ControlResponse
FAULT_CODE, FAULT_STRING| Constructor and Description |
|---|
QueryResponse()
Default constructor
|
QueryResponse(SOAPResponse soapRes)
Constructs a QueryResponse from a SOAP response.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getReturnValue()
Gets the return value from the query response.
|
void |
setResponse(StateVariable stateVar)
Sets the response using the specified state variable.
|
getUPnPError, getUPnPErrorCode, getUPnPErrorDescription, setFaultResponse, setFaultResponsegetBodyNode, getEnvelopeNode, getFaultActor, getFaultActorNode, getFaultCode, getFaultCodeNode, getFaultDetailNode, getFaultNode, getFaultString, getFaultStringNode, getMethodResponseNode, print, setContent, setEnvelopeNodegetHeader, getStatusCode, getStatusLineString, isSuccessful, setStatusCode, toStringaddHeader, addHeader, clearHeaders, getCacheControl, getCharSet, getConnection, getContent, getContentInputStream, getContentLanguage, getContentLength, getContentRange, getContentRangeFirstPosition, getContentRangeInstanceLength, getContentRangeLastPosition, getContentString, getContentType, getDate, getFirstLine, getFirstLineToken, getHeader, getHeader, getHeaderString, getHeaderValue, getHost, getIntegerHeaderValue, getLongHeaderValue, getNHeaders, getServer, getStringHeaderValue, getStringHeaderValue, getTransferEncoding, getVersion, hasConnection, hasContent, hasContentInputStream, hasContentRange, hasFirstLine, hasHeader, hasTransferEncoding, init, isChunked, isCloseConnection, isKeepAliveConnection, read, set, set, set, set, setCacheControl, setCacheControl, setCacheControl, setConnection, setContent, setContent, setContent, setContent, setContentInputStream, setContentLanguage, setContentLength, setContentRange, setContentType, setDate, setHeader, setHeader, setHeader, setHeader, setHost, setIntegerHeader, setLongHeader, setServer, setStringHeader, setStringHeader, setTransferEncoding, setVersionpublic QueryResponse()
public QueryResponse(SOAPResponse soapRes)
soapRes - the SOAP response to wrappublic String getReturnValue()
public void setResponse(StateVariable stateVar)
stateVar - the state variable containing the value to return