All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vk.api.sdk.client.AbstractSecureQueryBuilder Maven / Gradle / Ivy

Go to download

Java library for VK API interaction, includes OAuth 2.0 authorization and API methods.

The newest version!
package com.vk.api.sdk.client;

import com.vk.api.sdk.client.AbstractQueryBuilder;
import com.vk.api.sdk.client.VkApiClient;

import java.lang.reflect.Type;

/**
 * Abstract query builder for Secure methods
 */
public abstract class AbstractSecureQueryBuilder extends AbstractQueryBuilder {

    public AbstractSecureQueryBuilder(VkApiClient client, String endpoint, String method, Type type) {
        super(client, endpoint, method, type);
    }

    public AbstractSecureQueryBuilder(VkApiClient client, String method, Type type) {
        super(client, method, type);
    }

    /**
     * Set "client secret"
     *
     * @param value client secret
     * @return a reference to this {@code AbstractQueryBuilder} object to fulfill the "Builder" pattern.
     */
    protected T clientSecret(String value) {
        return unsafeParam("client_secret", value);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy