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

com.box.restclientv2.interfaces.IBoxRESTClient Maven / Gradle / Ivy

package com.box.restclientv2.interfaces;

import com.box.boxjavalibv2.exceptions.AuthFatalFailureException;
import com.box.restclientv2.exceptions.BoxRestException;

/**
 * Interface for Box API Client.
 */
public interface IBoxRESTClient {

    /**
     * Execute the API request and return a response.
     * 
     * @param boxRequest
     *            Incoming API request.
     * @return Response from API.
     * @throws BoxRestException
     * @throws AuthFatalFailureException
     */
    IBoxResponse execute(IBoxRequest boxRequest) throws BoxRestException, AuthFatalFailureException;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy