|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.system.CoRESTDispatcher
public class CoRESTDispatcher
IRESTDispatcher coclass
Field Summary |
---|
Fields inherited from interface com.esri.arcgis.system.IRESTRequestHandler |
---|
IID, IID9d66a418_d54a_48ed_88bd_043a25fa9c83, xxDummy |
Constructor Summary | |
---|---|
CoRESTDispatcher()
Constructs a CoRESTDispatcher using ArcGIS Engine. |
|
CoRESTDispatcher(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. CoRESTDispatcher theCoRESTDispatcher = (CoRESTDispatcher) obj; |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
String |
getSchema()
Obtains REST request schema. |
byte[] |
handleRESTRequest(String capabilities,
String resourceName,
String operationName,
String operationInput,
String outputFormat,
String requestProperties,
String[] responseProperties)
Handles REST request for SO or SOE. |
int |
hashCode()
the hashcode for this object |
void |
init(IRESTResource root,
IRESTCallback handler)
Initialization method. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public CoRESTDispatcher() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic CoRESTDispatcher(Object obj) throws IOException
CoRESTDispatcher theCoRESTDispatcher = (CoRESTDispatcher) obj;
obj
to CoRESTDispatcher
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void init(IRESTResource root, IRESTCallback handler) throws 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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public byte[] handleRESTRequest(String capabilities, String resourceName, String operationName, String operationInput, String outputFormat, String requestProperties, String[] responseProperties) throws 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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getSchema() throws IOException, AutomationException
getSchema
in interface IRESTRequestHandler
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |