Package org.zaproxy.zap.extension.api

Examples of org.zaproxy.zap.extension.api.ApiResponseElement


    @Override
    public ApiResponse handleApiView(String name, JSONObject params) throws ApiException {
        ApiResponse result = null;

        if (VIEW_REVEAL.equals(name)) {
            result = new ApiResponseElement(name, Boolean.toString(extension.isReveal()));
        } else {
            throw new ApiException(ApiException.Type.BAD_VIEW);
        }
        return result;
    }
View Full Code Here

TOP

Related Classes of org.zaproxy.zap.extension.api.ApiResponseElement

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.