![JAR search and dependency download from the Maven repository](/logo.png)
com.vmware.vcloud.api.rest.client.OpenApiClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vcd-api-client-java Show documentation
Show all versions of vcd-api-client-java Show documentation
REST API Client for vCloud Director
/* ***************************************************************************
* api-extension-template-vcloud-director
* Copyright 2018 VMware, Inc.
* SPDX-License-Identifier: BSD-2-Clause
* **************************************************************************/
package com.vmware.vcloud.api.rest.client;
import javax.ws.rs.core.Response;
import com.vmware.cxfrestclient.JaxRsClient;
import org.apache.cxf.jaxrs.client.Client;
/**
* REST API client built on OpenAPI framework. Extends {@link JaxRsClient} with behaviors specific
* to vCloud's Open API.
*
* Package {@code com.vmware.vcloud.api.rest.client} Javadoc for detailed description for various
* usage patterns
*
* @see com.vmware.vcloud.api.rest.client
*
*/
public interface OpenApiClient extends JaxRsClient {
/**
* Returns the underlying {@link Client} for next call only.
*
* Before invoking the next call, use the returned {@link Client} to manipulate the request.
* After invocation, use it to access the raw {@link Response} object
*
* @param proxy
* Proxy of an open API interface acquired from {@link #createProxy(Class)} call
*
* @return {@link Client} for the next call invoked.
*/
Client getWebClientForNextCall(JaxRsClass proxy);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy