public class CoRESTDispatcher extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IRESTDispatcher
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 =
IID, IID1538e2dc_8192_412e_a801_2b8655492aae, xxDummy
IID9d66a418_d54a_48ed_88bd_043a25fa9c83
Constructor and Description |
---|
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; |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
static java.lang.String |
getClsid()
getClsid.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
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 this COM object reference
|
public CoRESTDispatcher() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic CoRESTDispatcher(java.lang.Object obj) throws java.io.IOException
CoRESTDispatcher theCoRESTDispatcher = (CoRESTDispatcher) obj;
obj
to CoRESTDispatcher
.obj
- an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public void init(IRESTResource root, IRESTCallback handler) throws java.io.IOException, AutomationException
init
in interface IRESTDispatcher
root
- A reference to a com.esri.arcgis.system.IRESTResource (in)handler
- A reference to a com.esri.arcgis.system.IRESTCallback (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.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
handleRESTRequest
in interface IRESTRequestHandler
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)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getSchema() throws java.io.IOException, AutomationException
getSchema
in interface IRESTRequestHandler
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.