Package discord4j.rest.util
Class RouteUtils
java.lang.Object
discord4j.rest.util.RouteUtils
-
Method Summary
Modifier and TypeMethodDescriptioncreateVariableMap(String template, Object... variables) static Stringstatic StringexpandQuery(String uri, Multimap<String, Object> values) static StringgetMajorParam(String template, String complete) static String"Overrides" Object#toString behaviour for some objects, when we need to format them in a special form For instance, this function on its creation handle long printing to make them unsigned only
-
Method Details
-
handleStringConversion
"Overrides" Object#toString behaviour for some objects, when we need to format them in a special form For instance, this function on its creation handle long printing to make them unsigned only- Parameters:
obj- Object to handle- Returns:
- If handled, custom string value or else the object's toString return value
-
expand
-
createVariableMap
-
expandQuery
-
getMajorParam
-