File tree 1 file changed +7
-1
lines changed
core/src/main/java/org/botblock/javabotblockapi/core
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -392,7 +392,7 @@ private Site(String name){
392
392
393
393
/**
394
394
* The name used by the BotBlock API to identify the site.
395
- * <br>The name usually is just the domain of the site without the http(s):// in front of it.
395
+ * <br>The name usually represents the domain of the bot list without the https in front of it.
396
396
*
397
397
* @return The name of the site used for the BotBlock API.
398
398
*/
@@ -418,6 +418,12 @@ public boolean supportsPost(){
418
418
return !methods .isEmpty () && methods .contains (HttpMethod .POST );
419
419
}
420
420
421
+ /**
422
+ * Nested enum for the Http-methods supported by the bot lists.
423
+ *
424
+ * <p>Depending on what Http-Methods a bot list supports can its corresponding entry be used for the GET methods,
425
+ * POST methods or both.
426
+ */
421
427
public enum HttpMethod {
422
428
/**
423
429
* Bot list supports GET requests.
You can’t perform that action at this time.
0 commit comments