public interface HandlerContextAware
RequestHandler2.
 This interface is subject to change and should not be implemented by users of the SDK.
| Modifier and Type | Method and Description | 
|---|---|
<X> void | 
addHandlerContext(HandlerContextKey<X> key,
                 X value)
Adds a context to that is visible to all  
RequestHandler2s. | 
<X> X | 
getHandlerContext(HandlerContextKey<X> key)
Return the context for the given key if present; else return null. 
 | 
<X> void addHandlerContext(HandlerContextKey<X> key, X value)
RequestHandler2s.
 Note that, context added here will available only for the scope of
 the request execution and will not be marshalled over the wire.key - the key for the property being set in the request.value - the value for the property being set in the request.<X> X getHandlerContext(HandlerContextKey<X> key)
key - the key for the contextCopyright © 2019. All rights reserved.