public interface HandlerContextAware
This interface is subject to change and should not be implemented by users of the SDK.
|Modifier and Type||Method and Description|
Adds a context to that is visible to all
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 context
Copyright © 2023. All rights reserved.