Class RestHandlerOpCode
- Namespace
- ESRI.Server.SOESupport.SOI
- Assembly
- ESRI.Server.SOESupport.dll
The RestHandlerOpCode class contains common REST request codes for the Map Server. The main benefit of using class instead of enum is to allow developers to add more opCodes in the derived types. See LayerAccess SOI source for an example of custom REST request codes.
public class RestHandlerOpCode
- Inheritance
-
RestHandlerOpCode
- Inherited Members
Constructors
RestHandlerOpCode(int)
The RestHandlerOpCode constructor is only used to declare static values above. It is protected so the derived classes can take advantage of it.
protected RestHandlerOpCode(int internalValue)
Parameters
internalValueintEnum-compatibility value to allow using this class in switch statements.
Fields
DefaultNoOp
The DefaultNoOp REST request code must be used when REST request filtering code could not match any other RestHandlerOpCode to the REST request.
public static readonly RestHandlerOpCode DefaultNoOp
Field Value
LayerGenerateRenderer
The LayerGenerateRenderer code matches '/layers/{id}/generateRenderer' operation.
public static readonly RestHandlerOpCode LayerGenerateRenderer
Field Value
LayerQuery
The LayerQuery code matches 'layers/{id}/query' operation.
public static readonly RestHandlerOpCode LayerQuery
Field Value
LayerQueryRelatedRecords
The LayerQueryRelatedRecords code matches '/layers/{id}/queryRelatedRecords' operation.
public static readonly RestHandlerOpCode LayerQueryRelatedRecords
Field Value
LayerRoot
The LayerRoot code matches '/layers/{id}/ sub-resource.
public static readonly RestHandlerOpCode LayerRoot
Field Value
Root
The Root code matches the REST root resource.
public static readonly RestHandlerOpCode Root
Field Value
RootExport
The RootExport code matches 'export' operation on REST root resource.
public static readonly RestHandlerOpCode RootExport
Field Value
RootFind
The RootFind code matches 'find' operation on REST root resource.
public static readonly RestHandlerOpCode RootFind
Field Value
RootGenerateKml
The RootGenerateKml code matches 'generateKml' operation on REST root resource.
public static readonly RestHandlerOpCode RootGenerateKml
Field Value
RootIdentify
The RootIdentify code matches 'identify' operation on REST root resource.
public static readonly RestHandlerOpCode RootIdentify
Field Value
RootLayers
The RootLayers code matches 'layers' sub-resource.
public static readonly RestHandlerOpCode RootLayers
Field Value
RootLegend
The RootLegend code matches 'legend' sub-resource.
public static readonly RestHandlerOpCode RootLegend
Field Value
Properties
InternalValue
The InternalValue property is used to emulate enum cast-to-int compatibility.
public int InternalValue { get; protected set; }