Class SpigotRequest
java.lang.Object
ml.karmaconfigs.api.bukkit.util.spigot.SpigotRequest
Karma implementation of XenforoResourceManagerAPI
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.google.gson.JsonElementpush()Push the requestcom.google.gson.JsonElementpush(int data)Push the requestcom.google.gson.JsonElementpush(int data, int second)Push the requestcom.google.gson.JsonElementPush the requestcom.google.gson.JsonElementPush the requestPush the requestpushString(int data)Push the requestpushString(int data, int second)Push the requestpushString(int data, VarType type)Push the requestpushString(String data)Push the requestSet the spigot request method
-
Constructor Details
-
SpigotRequest
public SpigotRequest()
-
-
Method Details
-
request
Set the spigot request method- Parameters:
request- the request- Returns:
- this instance
-
push
Push the request- Returns:
- the request result
- Throws:
IllegalStateException- if the request method does not match with this push or url/response is null
-
push
Push the request- Parameters:
data- the data- Returns:
- the request result
- Throws:
IllegalStateException- if the request method does not match with this push or url/response is null
-
push
Push the request- Parameters:
data- the datatype- the argument type- Returns:
- the request result
- Throws:
IllegalStateException- if the request method does not match with this push or url/response is null
-
push
Push the request- Parameters:
data- the datasecond- the second data- Returns:
- the request result
- Throws:
IllegalStateException- if the request method does not match with this push or url/response is null
-
push
Push the request- Parameters:
data- the data- Returns:
- the request result
- Throws:
IllegalStateException- if the request method does not match with this push or url/response is null
-
pushString
Push the request- Returns:
- the request result
- Throws:
IllegalStateException- if the request method does not match with this push or url/response is null
-
pushString
Push the request- Parameters:
data- the data- Returns:
- the request result
- Throws:
IllegalStateException- if the request method does not match with this push or url/response is null
-
pushString
Push the request- Parameters:
data- the datatype- the argument type- Returns:
- the request result
- Throws:
IllegalStateException- if the request method does not match with this push or url/response is null
-
pushString
Push the request- Parameters:
data- the datasecond- the second data- Returns:
- the request result
- Throws:
IllegalStateException- if the request method does not match with this push or url/response is null
-
pushString
Push the request- Parameters:
data- the data- Returns:
- the request result
- Throws:
IllegalStateException- if the request method does not match with this push or url/response is null
-