com.esri.arcgis.system
Class CoRESTDispatcher

java.lang.Object
  extended by com.esri.arcgis.system.CoRESTDispatcher
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, IRESTDispatcher, IRESTRequestHandler, java.io.Serializable

public class CoRESTDispatcher
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IRESTDispatcher

COM Class 'CoRESTDispatcher'. Generated 3/19/2015 1:20:47 PM from 'C:\ArcGIS\COM\esriSystem.olb'

Description 'IRESTDispatcher coclass' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.system.IRESTDispatcher
IID, IID1538e2dc_8192_412e_a801_2b8655492aae, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.IRESTRequestHandler
IID9d66a418_d54a_48ed_88bd_043a25fa9c83
 
Constructor Summary
CoRESTDispatcher()
          Constructs a CoRESTDispatcher using ArcGIS Engine.
CoRESTDispatcher(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
CoRESTDispatcher theCoRESTDispatcher = (CoRESTDispatcher) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getSchema()
          Obtains REST request schema.
 byte[] handleRESTRequest(java.lang.String capabilities, java.lang.String resourceName, java.lang.String operationName, java.lang.String operationInput, java.lang.String outputFormat, java.lang.String requestProperties, java.lang.String[] responseProperties)
          Handles REST request for SO or SOE.
 int hashCode()
          the hashcode for this object
 void init(IRESTResource root, IRESTCallback handler)
          Initialization method.
 void release()
          Release a CoRESTDispatcher.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoRESTDispatcher

public CoRESTDispatcher()
                 throws java.io.IOException,
                        java.net.UnknownHostException
Constructs a CoRESTDispatcher using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

CoRESTDispatcher

public CoRESTDispatcher(java.lang.Object obj)
                 throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
CoRESTDispatcher theCoRESTDispatcher = (CoRESTDispatcher) obj;

Construct a CoRESTDispatcher using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to CoRESTDispatcher.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a CoRESTDispatcher.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

init

public void init(IRESTResource root,
                 IRESTCallback handler)
          throws java.io.IOException,
                 AutomationException
Initialization method.

Specified by:
init in interface IRESTDispatcher
Parameters:
root - A reference to a com.esri.arcgis.system.IRESTResource (in)
handler - A reference to a com.esri.arcgis.system.IRESTCallback (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

handleRESTRequest

public byte[] handleRESTRequest(java.lang.String capabilities,
                                java.lang.String resourceName,
                                java.lang.String operationName,
                                java.lang.String operationInput,
                                java.lang.String outputFormat,
                                java.lang.String requestProperties,
                                java.lang.String[] responseProperties)
                         throws java.io.IOException,
                                AutomationException
Handles REST request for SO or SOE.

Specified by:
handleRESTRequest in interface IRESTRequestHandler
Parameters:
capabilities - The capabilities (in)
resourceName - The resourceName (in)
operationName - The operationName (in)
operationInput - The operationInput (in)
outputFormat - The outputFormat (in)
requestProperties - The requestProperties (in)
responseProperties - The responseProperties (out: use single element array)
Returns:
An unsigned byte
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSchema

public java.lang.String getSchema()
                           throws java.io.IOException,
                                  AutomationException
Obtains REST request schema.

Specified by:
getSchema in interface IRESTRequestHandler
Returns:
The schema
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.