- putHeader
Puts all of the given headers into this context
- stashContext
Removes the current context and resets a default context. The removed context
can be restored when c
- <init>
Creates a new ThreadContext instance
- getHeader
Returns the header for the given key or null if not present
- putTransient
Puts a transient header object into this context
- getResponseHeaders
Get a copy of all response headers.
- addResponseHeader
Add the value for the specified key with the specified uniqueValue used for
de-duplication. Any dupl
- newRestorableContext
Returns a supplier that gathers a #newStoredContext(boolean) and restores it
once the returned suppl
- newStoredContext
Just like #stashContext() but no default context is set.
- preserveContext
Saves the current thread context and wraps command in a Runnable that restores
that context before r
- readHeaders
Reads the headers from the stream into the current context
- getHeaders
Returns all of the request contexts headers