Property | Type | Description | |
---|---|---|---|
m_key | String |
Method | Description | |
---|---|---|
IsSpam ( |
Check if the input comment is valid or not.
|
|
SubmitHam ( |
This call is intended for the marking of false positives, things that were incorrectly marked as spam.
|
|
SubmitSpam ( |
This call is for submitting comments that weren't marked as spam but should've been.
|
|
Validator ( String key ) : System |
Initialize class members based on the input parameters
|
|
VerifyKey ( String domain ) : System.Boolean |
Check if the validator's key is valid or not.
|
Method | Description | |
---|---|---|
ExtractResult ( String content ) : System.Boolean |
Check the input data for valid content: "valid" string or "true" string.
|
|
PostRequest ( String url, |
Post parameters to the input url and return the response.
|
|
PreparePars ( |
Prepare request parameters based on the input comment.
|
|
PreparePars ( String key, String domain ) : |
Prepare request parameters based on the input parameters.
|
protected ExtractResult ( String content ) : System.Boolean | ||
content | String | The input content. |
return | System.Boolean |
public IsSpam ( |
||
comment | The input comment to be checked. | |
return | System.Boolean |
protected PostRequest ( String url, |
||
url | String | The input url (absolute). |
pars | The input parameters to send. | |
return | String |
protected PreparePars ( |
||
comment | The input comment. | |
return |
protected PreparePars ( String key, String domain ) : |
||
key | String | The input key. |
domain | String | The input domain. |
return |
public SubmitHam ( |
||
comment | The input comment to be sent as ham. | |
return | void |
public SubmitSpam ( |
||
comment | The input comment to be sent as spam. | |
return | void |
public Validator ( String key ) : System | ||
key | String | The input Akismet key. |
return | System |
public VerifyKey ( String domain ) : System.Boolean | ||
domain | String | |
return | System.Boolean |