Package org.netxms.client.datacollection
Class WebServiceCallResult
java.lang.Object
org.netxms.client.datacollection.WebServiceCallResult
Result of an ad-hoc web service request (returned by
NXCSession.queryWebService(long, org.netxms.client.datacollection.WebServiceDefinition)).-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet returned document (response body).intGet HTTP response code returned by the web service.
-
Constructor Details
-
WebServiceCallResult
Create result from NXCP message.- Parameters:
msg- NXCP message
-
-
Method Details
-
getHttpResponseCode
public int getHttpResponseCode()Get HTTP response code returned by the web service.- Returns:
- HTTP response code
-
getDocument
Get returned document (response body).- Returns:
- returned document
-