File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
core/src/main/java/org/botblock/javabotblockapi/core Expand file tree Collapse file tree 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){
392392
393393 /**
394394 * 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.
396396 *
397397 * @return The name of the site used for the BotBlock API.
398398 */
@@ -418,6 +418,12 @@ public boolean supportsPost(){
418418 return !methods .isEmpty () && methods .contains (HttpMethod .POST );
419419 }
420420
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+ */
421427 public enum HttpMethod {
422428 /**
423429 * Bot list supports GET requests.
You can’t perform that action at this time.
0 commit comments