public interface NoProxy extends Service, NoProxyTypes
NoProxy
interface provides methods to configure a connection that
does not need a proxy. This interface was added in vSphere API 6.7._VAPI_SERVICE_ID
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.
|
void set(java.util.List<java.lang.String> servers)
Synchronous method overload. Result of the invocation will be reported as a method return value.
servers
- List of strings representing servers to bypass proxy. A server can be a FQDN, IP
address, FQDN:port or IP:port combinations.Error
- Generic error.void set(java.util.List<java.lang.String> servers, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
servers
- List of strings representing servers to bypass proxy. A server can be a FQDN, IP
address, FQDN:port or IP:port combinations.invocationConfig
- Configuration for the method invocation.Error
- Generic error.void set(java.util.List<java.lang.String> servers, AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error.
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.void set(java.util.List<java.lang.String> servers, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
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.
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.java.util.List<java.lang.String> get()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Error
- Generic error.java.util.List<java.lang.String> get(InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
invocationConfig
- Configuration for the method invocation.Error
- Generic error.void get(AsyncCallback<java.util.List<java.lang.String>> asyncCallback)
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.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(AsyncCallback<java.util.List<java.lang.String>> asyncCallback, InvocationConfig invocationConfig)
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.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.