public class GetServerTime extends AuthorizedVkApiMethod<IntegerResponse>
Returns the current time of the VK server.
Constructor and Description |
---|
GetServerTime(String accessToken) |
Modifier and Type | Method and Description |
---|---|
protected Class<IntegerResponse> |
getResultType()
Gets type of VK API response.
|
protected String |
getUrl()
Gets VK API URL.
|
addParam, execute, execute, executeAsync, getAsyncCaller, getJsonConverter, getMethod, getParams, getVkApiHttpClient, getVkApiParamsConverter, getVkApiResponseValidator, setAsyncCaller, setJsonConverter, setMethod, setParams, setVkApiHttpClient, setVkApiParamsConverter, setVkApiResponseValidator
public GetServerTime(String accessToken)
protected String getUrl()
VkApiMethod
getUrl
in class VkApiMethod<IntegerResponse>
protected Class<IntegerResponse> getResultType()
VkApiMethod
getResultType
in class VkApiMethod<IntegerResponse>
Copyright © 2021. All rights reserved.