public class NsxProxyApiClient extends AbstractCxfRestClient
An instance of this can only be acquired from VcdClient.getOpenApiClient() call and this
client's authentication is tied to the parent VcdClient from which this is instantiated
JaxRsClient.ErrorHandlerendpointEMPTY_CONTENTS| Modifier and Type | Method and Description |
|---|---|
protected void |
configureHttpRequestHeaders(org.apache.cxf.jaxrs.client.Client client)
A method that must be implemented by derived classes to set any
HTTP request headers that the REST API implemented in such derived classes
require for proper operation.
|
protected String[] |
getAcceptHeaders()
Accept headers that must be included with the request.
|
protected VcdClient.ClientRequestIdProvider |
getClientRequestIdProvider() |
protected List<?> |
getCxfProviders() |
protected String |
getOrgContextHeader()
Get the value to be sent in the X-VMWARE-VCLOUD-ORG-ID header
|
protected void |
setAuthenticationHeaders(org.apache.cxf.jaxrs.client.Client client)
Configure authentication headers on the supplied clients
|
protected void |
setClientRequestIdProvider(VcdClient.ClientRequestIdProvider clientRequestIdGenerator) |
configureClient, configureSSLTrustManager, createProxy, createWebClient, createWebClient, deleteResource, deleteResource, deleteResourceVoid, getEndpoint, getResource, getResource, makeException, optionsResource, postResource, postResource, postResourceVoid, putFile, putResource, putResource, putResourceVoid, setErrorHandlerprotected List<?> getCxfProviders()
getCxfProviders in class AbstractCxfRestClientWebClients we create.protected void setAuthenticationHeaders(org.apache.cxf.jaxrs.client.Client client)
May possibly set cookies too, if applicable.
client - Client to set authentication headers on.protected String[] getAcceptHeaders()
protected String getOrgContextHeader()
protected VcdClient.ClientRequestIdProvider getClientRequestIdProvider()
protected final void configureHttpRequestHeaders(org.apache.cxf.jaxrs.client.Client client)
AbstractCxfRestClientconfigureHttpRequestHeaders in class AbstractCxfRestClientprotected void setClientRequestIdProvider(VcdClient.ClientRequestIdProvider clientRequestIdGenerator)
Copyright © 2019 VMware. All rights reserved.