forked from zaproxy/zaproxy
-
Notifications
You must be signed in to change notification settings - Fork 2
ApiImplementation
thc202 edited this page Jan 29, 2020
·
3 revisions
In order to add functionality to the API you need to:
- Have at least one class that extends org.parosproxy.paros.extension.Extension.java
- Add a class that extends org.zaproxy.zap.extension.api.ApiImplementor.java
- Call
extensionHook.addApiImplementor(api);
in your Extension.hook(ExtensionHook extensionHook) method. - If you have implemented some option parameters you may want to add them to your API using the ApiImplementor.addApiOptions(AbstractParam param) method - this uses reflection to add standard parameters to the API.
Links:
- Back: Python client API
- Home: The ZAP API