Package com.vmware.vapi.core
Class ExecutionContext.RuntimeData
- java.lang.Object
-
- com.vmware.vapi.core.ExecutionContext.RuntimeData
-
- Enclosing class:
- ExecutionContext
public static class ExecutionContext.RuntimeData extends java.lang.Object
This class contains data and settings related to the execution of the invocation by the vAPI runtime, protocol and transport. Such examples might be HTTP and/or TCP request execution settings, headers, SSL certificates, etc.Note that some of the data items might be relevant and present only for particular types of protocol and transport implementations, or particular side of the API invocation (client or server).
This class is immutable.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integer
getReadTimeout()
Returns client-side read timeout as specified inExecutionContext.Builder.setReadTimeout(Integer)
.HttpResponseAccessor
getResponseAccessor()
Returns client-side raw REST response accessor as specified inExecutionContext.Builder.setResponseAccessor(HttpResponseAccessor)
.
-
-
-
Method Detail
-
getReadTimeout
public java.lang.Integer getReadTimeout()
Returns client-side read timeout as specified inExecutionContext.Builder.setReadTimeout(Integer)
.- Returns:
- the number of milliseconds the client will wait for a response from the server;
-
getResponseAccessor
public HttpResponseAccessor getResponseAccessor()
Returns client-side raw REST response accessor as specified inExecutionContext.Builder.setResponseAccessor(HttpResponseAccessor)
.- Returns:
- the response accessor instance or
null
-
-