public static class ExecutionContext.RuntimeData
extends java.lang.Object
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.
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getReadTimeout()
Returns client-side read timeout as specified in
ExecutionContext.Builder.setReadTimeout(Integer) . |
HttpResponseAccessor |
getResponseAccessor()
Returns client-side raw REST response accessor as specified in
ExecutionContext.Builder.setResponseAccessor(HttpResponseAccessor) . |
java.lang.Object |
getValue(java.lang.String key)
Returns the value of the data entry with key
key . |
public java.lang.Integer getReadTimeout()
ExecutionContext.Builder.setReadTimeout(Integer)
.public HttpResponseAccessor getResponseAccessor()
ExecutionContext.Builder.setResponseAccessor(HttpResponseAccessor)
.null
public java.lang.Object getValue(java.lang.String key)
key
.key
- the entry key. Must not be null
key
or null
if it is
unavailablejava.lang.IllegalArgumentException
- if the parameter is null