public class ActiveScanAPI extends ApiImplementor
Constructor and Description |
---|
ActiveScanAPI(ExtensionActiveScan controller) |
Modifier and Type | Method and Description |
---|---|
String |
getPrefix() |
ApiResponse |
handleApiAction(String name,
net.sf.json.JSONObject params)
Override if implementing one or more actions
|
ApiResponse |
handleApiView(String name,
net.sf.json.JSONObject params)
Override if implementing one or more views
|
addApiAction, addApiOptions, addApiOthers, addApiShortcut, addApiView, addCustomHeaders, getApiAction, getApiActions, getApiOther, getApiOthers, getApiShortcuts, getApiView, getApiViews, getParam, getParam, getParam, handleApiOptionAction, handleApiOptionView, handleApiOther, handleCallBack, handleShortcut, validateParamExists
public ActiveScanAPI(ExtensionActiveScan controller)
public String getPrefix()
getPrefix
in class ApiImplementor
public ApiResponse handleApiAction(String name, net.sf.json.JSONObject params) throws ApiException
ApiImplementor
handleApiAction
in class ApiImplementor
name
- the name of the requested actionparams
- the API request parametersApiException
- if an error occurred while handling the API action endpointpublic ApiResponse handleApiView(String name, net.sf.json.JSONObject params) throws ApiException
ApiImplementor
handleApiView
in class ApiImplementor
name
- the name of the requested viewparams
- the API request parametersApiException
- if an error occurred while handling the API view endpoint