Class GetServerTime
java.lang.Object
api.longpoll.bots.methods.impl.VkMethod<IntegerResponseBody>
api.longpoll.bots.methods.impl.utils.GetServerTime
Implements utils.getServerTime method.
Returns the current time of the VK server.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdds URL parameter to HTTP request.protected Class<IntegerResponseBody>Gets a class of VK API response.Methods inherited from class api.longpoll.bots.methods.impl.VkMethod
execute, executeAsync, newRequestBody, setLang
-
Constructor Details
-
GetServerTime
-
-
Method Details
-
getResponseClass
Description copied from class:VkMethodGets a class of VK API response. This value is used during deserialization of received JSON.- Specified by:
getResponseClassin classVkMethod<IntegerResponseBody>- Returns:
- a class of VK API response.
-
addParam
Description copied from class:VkMethodAdds URL parameter to HTTP request.- Overrides:
addParamin classVkMethod<IntegerResponseBody>- Parameters:
key- URL parameter key.value- URL parameter value.- Returns:
- current instance.
-