Class WebsiteControllerApi


  • public class WebsiteControllerApi
    extends Object
    • Constructor Detail

      • WebsiteControllerApi

        public WebsiteControllerApi()
      • WebsiteControllerApi

        public WebsiteControllerApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • phishingSiteUsingGETCall

        public com.squareup.okhttp.Call phishingSiteUsingGETCall​(String url,
                                                                 String authorization,
                                                                 ProgressResponseBody.ProgressListener progressListener,
                                                                 ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                          throws ApiException
        Build call for phishingSiteUsingGET
        Parameters:
        url - Url (required)
        authorization - Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • phishingSiteUsingGET

        public ResponseWrapperPhishingSite phishingSiteUsingGET​(String url,
                                                                String authorization)
                                                         throws ApiException
        Check if the the url is a phishing site
        Parameters:
        url - Url (required)
        authorization - Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional)
        Returns:
        ResponseWrapperPhishingSite
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • phishingSiteUsingGETWithHttpInfo

        public ApiResponse<ResponseWrapperPhishingSite> phishingSiteUsingGETWithHttpInfo​(String url,
                                                                                         String authorization)
                                                                                  throws ApiException
        Check if the the url is a phishing site
        Parameters:
        url - Url (required)
        authorization - Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional)
        Returns:
        ApiResponse<ResponseWrapperPhishingSite>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • phishingSiteUsingGETAsync

        public com.squareup.okhttp.Call phishingSiteUsingGETAsync​(String url,
                                                                  String authorization,
                                                                  ApiCallback<ResponseWrapperPhishingSite> callback)
                                                           throws ApiException
        Check if the the url is a phishing site (asynchronously)
        Parameters:
        url - Url (required)
        authorization - Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional)
        callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object