public static interface Utils.ContextMapAdditionalAccessors
| Modifier and Type | Method and Description |
|---|---|
<T> T |
putAscii(String name,
String context,
EnumSet<PropagationMode> propagationModes)
Store the specified work context under the specified name into the in-scope ContextMap.
|
<T> T |
putNotAscii(String key,
String value,
EnumSet<PropagationMode> propagationModes) |
<T> T |
putSerializable(String key,
Serializable value,
EnumSet<PropagationMode> propagationModes) |
<T> T putAscii(String name, String context, EnumSet<PropagationMode> propagationModes) throws InsufficientCredentialException
name - The name to associate to the specified work contextcontext - an ascii String work context.propagationModes - A set of propagation modes that control over
which protocol this work context will be propagated.InsufficientCredentialException - If the user has insufficient
privileges to access that work context.<T> T putNotAscii(String key, String value, EnumSet<PropagationMode> propagationModes) throws InsufficientCredentialException
InsufficientCredentialException<T> T putSerializable(String key, Serializable value, EnumSet<PropagationMode> propagationModes) throws InsufficientCredentialException
InsufficientCredentialExceptionCopyright © 2019. All rights reserved.