Class ServerRequestObservationContext
java.lang.Object
io.micrometer.observation.Observation.Context
io.micrometer.observation.transport.ReceiverContext<C>
io.micrometer.observation.transport.RequestReplyReceiverContext<HttpServletRequest,HttpServletResponse>
 
org.springframework.http.server.observation.ServerRequestObservationContext
- All Implemented Interfaces:
- io.micrometer.observation.Observation.ContextView,- io.micrometer.observation.transport.ResponseContext<HttpServletResponse>
public class ServerRequestObservationContext
extends io.micrometer.observation.transport.RequestReplyReceiverContext<HttpServletRequest,HttpServletResponse> 
Context that holds information for metadata collection regarding
 
Servlet HTTP requests observations.
 This context also extends RequestReplyReceiverContext for propagating
 tracing information during HTTP request processing.
- Since:
- 6.0
- Author:
- Brian Clozel
- 
Constructor SummaryConstructorsConstructorDescriptionServerRequestObservationContext(HttpServletRequest request, HttpServletResponse response) 
- 
Method SummaryMethods inherited from class io.micrometer.observation.transport.RequestReplyReceiverContextgetResponse, setResponseMethods inherited from class io.micrometer.observation.transport.ReceiverContextgetCarrier, getGetter, getKind, getRemoteServiceAddress, getRemoteServiceName, setCarrier, setRemoteServiceAddress, setRemoteServiceNameMethods inherited from class io.micrometer.observation.Observation.ContextaddHighCardinalityKeyValue, addHighCardinalityKeyValues, addLowCardinalityKeyValue, addLowCardinalityKeyValues, clear, computeIfAbsent, containsKey, get, getAllKeyValues, getContextualName, getError, getHighCardinalityKeyValue, getHighCardinalityKeyValues, getLowCardinalityKeyValue, getLowCardinalityKeyValues, getName, getOrDefault, getParentObservation, getRequired, put, remove, removeHighCardinalityKeyValue, removeHighCardinalityKeyValues, removeLowCardinalityKeyValue, removeLowCardinalityKeyValues, setContextualName, setError, setName, setParentObservation, toString
- 
Constructor Details- 
ServerRequestObservationContext
 
- 
- 
Method Details- 
getPathPattern
- 
setPathPattern
 
-