Module org.neo4j.bolt.connection
Interface HttpExchangeObservation
- All Superinterfaces:
ImmutableObservation,Observation
An observation of HTTP exchange.
- Since:
- 7.0.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA response data. -
Method Summary
Modifier and TypeMethodDescriptionSignals that an error has occured during execution.Sets request headers.onResponse(HttpExchangeObservation.Response response) Methods inherited from interface org.neo4j.bolt.connection.observation.Observation
stop
-
Method Details
-
onHeaders
Sets request headers.- Parameters:
headers- the headers- Returns:
- this observation
-
onResponse
- Parameters:
response- the response- Returns:
- this observation
-
error
Description copied from interface:ObservationSignals that an error has occured during execution.- Specified by:
errorin interfaceObservation- Parameters:
error- the error- Returns:
- this observation
-