Class BCServerListRequest
java.lang.Object
de.florianmichael.classic4j.request.betacraft.BCServerListRequest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CompletableFuture<BCServerList>send(HttpClient client, com.google.gson.Gson gson) Sends the request to the BetaCraft server list and returns the response as aBCServerListobject.
-
Constructor Details
-
BCServerListRequest
public BCServerListRequest()
-
-
Method Details
-
send
Sends the request to the BetaCraft server list and returns the response as aBCServerListobject.- Parameters:
client- The HttpClient to use for the request.gson- The Gson instance to use for the request.- Returns:
- A CompletableFuture containing the response.
-