public class NoProxyStub extends com.vmware.vapi.internal.bindings.Stub implements NoProxy
NoProxy
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
NoProxyStub(ApiProvider apiProvider,
StubConfigurationBase config) |
NoProxyStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
get()
Returns servers for which no proxy configuration will be applied.
|
void |
get(AsyncCallback<java.util.List<java.lang.String>> asyncCallback)
Returns servers for which no proxy configuration will be applied.
|
void |
get(AsyncCallback<java.util.List<java.lang.String>> asyncCallback,
InvocationConfig invocationConfig)
Returns servers for which no proxy configuration will be applied.
|
java.util.List<java.lang.String> |
get(InvocationConfig invocationConfig)
Returns servers for which no proxy configuration will be applied.
|
void |
set(java.util.List<java.lang.String> servers)
Sets servers for which no proxy configuration should be applied.
|
void |
set(java.util.List<java.lang.String> servers,
AsyncCallback<java.lang.Void> asyncCallback)
Sets servers for which no proxy configuration should be applied.
|
void |
set(java.util.List<java.lang.String> servers,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Sets servers for which no proxy configuration should be applied.
|
void |
set(java.util.List<java.lang.String> servers,
InvocationConfig invocationConfig)
Sets servers for which no proxy configuration should be applied.
|
public NoProxyStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public NoProxyStub(ApiProvider apiProvider, StubConfigurationBase config)
public void set(java.util.List<java.lang.String> servers)
NoProxy
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void set(java.util.List<java.lang.String> servers, InvocationConfig invocationConfig)
NoProxy
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void set(java.util.List<java.lang.String> servers, AsyncCallback<java.lang.Void> asyncCallback)
NoProxy
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error.
public void set(java.util.List<java.lang.String> servers, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
NoProxy
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
Error
- Generic error.
set
in interface NoProxy
servers
- List of strings representing servers to bypass proxy. A server can be a FQDN, IP
address, FQDN:port or IP:port combinations.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public java.util.List<java.lang.String> get()
NoProxy
Synchronous method overload. Result of the invocation will be reported as a method return value.
public java.util.List<java.lang.String> get(InvocationConfig invocationConfig)
NoProxy
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void get(AsyncCallback<java.util.List<java.lang.String>> asyncCallback)
NoProxy
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
List of servers for which no proxy configuration will be applied.
Operation Errors:
Error
- Generic error.
public void get(AsyncCallback<java.util.List<java.lang.String>> asyncCallback, InvocationConfig invocationConfig)
NoProxy
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
List of servers for which no proxy configuration will be applied.
Operation Errors:
Error
- Generic error.