Package io.servicetalk.context.api
Interface ContextMapHolder
- All Known Subinterfaces:
BlockingStreamingHttpRequest,BlockingStreamingHttpResponse,BlockingStreamingHttpServerResponse,HttpMetaData,HttpRequest,HttpRequestMetaData,HttpResponse,HttpResponseMetaData,IoThreadFactory.IoThread,StreamingHttpRequest,StreamingHttpResponse
public interface ContextMapHolder
Interface for getting and setting a
ContextMap.-
Method Summary
Modifier and TypeMethodDescriptioncontext()Get the currentContextMap.context(ContextMap context) Set theContextMap.
-
Method Details
-
context
Get the currentContextMap.- Returns:
- the current
ContextMap.
-
context
Set theContextMap.- Parameters:
context- the new value forContextMap.- Returns:
this.
-