com.esri.arcgis.system
Interface IRESTCallback

All Superinterfaces:
Serializable

public interface IRESTCallback
extends Serializable

REST handler callback interface.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 void handleOperation(String capabilities, String resourceName, String operationName, IPropertySet boundVariables, String inputJSON, String outputFormat, IJSONObject requestProps, IJSONObject[] responseProps, Object[] outputData)
          Callback for REST operation handling.
 void handleResource(String capabilities, String resourceName, IPropertySet boundVariables, String inputJSON, String outputFormat, IJSONObject requestProps, IJSONObject[] responseProps, Object[] outputData)
          Callback for REST resource handling.
 

Method Detail

handleResource

void handleResource(String capabilities,
                    String resourceName,
                    IPropertySet boundVariables,
                    String inputJSON,
                    String outputFormat,
                    IJSONObject requestProps,
                    IJSONObject[] responseProps,
                    Object[] outputData)
                    throws IOException,
                           AutomationException
Callback for REST resource handling.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
capabilities - The capabilities (in)
resourceName - The resourceName (in)
boundVariables - A reference to a com.esri.arcgis.system.IPropertySet (in)
inputJSON - The inputJSON (in)
outputFormat - The outputFormat (in)
requestProps - A reference to a com.esri.arcgis.system.IJSONObject (in)
responseProps - A reference to a com.esri.arcgis.system.IJSONObject (out: use single element array)
outputData - A Variant (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

handleOperation

void handleOperation(String capabilities,
                     String resourceName,
                     String operationName,
                     IPropertySet boundVariables,
                     String inputJSON,
                     String outputFormat,
                     IJSONObject requestProps,
                     IJSONObject[] responseProps,
                     Object[] outputData)
                     throws IOException,
                            AutomationException
Callback for REST operation handling.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
capabilities - The capabilities (in)
resourceName - The resourceName (in)
operationName - The operationName (in)
boundVariables - A reference to a com.esri.arcgis.system.IPropertySet (in)
inputJSON - The inputJSON (in)
outputFormat - The outputFormat (in)
requestProps - A reference to a com.esri.arcgis.system.IJSONObject (in)
responseProps - A reference to a com.esri.arcgis.system.IJSONObject (out: use single element array)
outputData - A Variant (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.