public class WebsiteControllerApi extends Object
| 构造器和说明 |
|---|
WebsiteControllerApi() |
WebsiteControllerApi(ApiClient apiClient) |
| 限定符和类型 | 方法和说明 |
|---|---|
ApiClient |
getApiClient() |
ResponseWrapperPhishingSite |
phishingSiteUsingGET(String url,
String authorization,
Integer timeOut)
Check if the the url is a phishing site
|
com.squareup.okhttp.Call |
phishingSiteUsingGETAsync(String url,
String authorization,
ApiCallback<ResponseWrapperPhishingSite> callback)
Check if the the url is a phishing site (asynchronously)
|
com.squareup.okhttp.Call |
phishingSiteUsingGETCall(String url,
String authorization,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for phishingSiteUsingGET
|
private com.squareup.okhttp.Call |
phishingSiteUsingGETValidateBeforeCall(String url,
String authorization,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
ApiResponse<ResponseWrapperPhishingSite> |
phishingSiteUsingGETWithHttpInfo(String url,
String authorization)
Check if the the url is a phishing site
|
void |
setApiClient(ApiClient apiClient) |
private ApiClient apiClient
public WebsiteControllerApi()
public WebsiteControllerApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call phishingSiteUsingGETCall(String url, String authorization, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
url - Url (required)authorization - Authorization (test:Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectprivate com.squareup.okhttp.Call phishingSiteUsingGETValidateBeforeCall(String url, String authorization, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
ApiExceptionpublic ResponseWrapperPhishingSite phishingSiteUsingGET(String url, String authorization, Integer timeOut) throws ApiException
url - Url (required)authorization - Authorization (test:Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional)timeOut - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ResponseWrapperPhishingSite> phishingSiteUsingGETWithHttpInfo(String url, String authorization) throws ApiException
url - Url (required)authorization - Authorization (test:Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call phishingSiteUsingGETAsync(String url, String authorization, ApiCallback<ResponseWrapperPhishingSite> callback) throws ApiException
url - Url (required)authorization - Authorization (test:Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2023. All rights reserved.