-
- All Implemented Interfaces:
-
java.io.Closeable,java.lang.AutoCloseable
public interface RequestContext implements Closeable
This is the context that will travel along with the request and be presented to the Instrumentation Gateway subscribers.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classRequestContext.Noop
-
Method Summary
Modifier and Type Method Description abstract <T> TgetData(RequestContextSlot slot)abstract TraceSegmentgetTraceSegment()abstract voidsetBlockResponseFunction(BlockResponseFunction blockResponseFunction)abstract BlockResponseFunctiongetBlockResponseFunction()-
-
Method Detail
-
getData
abstract <T> T getData(RequestContextSlot slot)
-
getTraceSegment
abstract TraceSegment getTraceSegment()
-
setBlockResponseFunction
abstract void setBlockResponseFunction(BlockResponseFunction blockResponseFunction)
-
getBlockResponseFunction
abstract BlockResponseFunction getBlockResponseFunction()
-
-
-
-