Top Description Fields Constructors Methods
reactor.netty.http.client

pack-priv final Class ContextAwareHttpClientMetricsHandler

extends AbstractHttpClientMetricsHandler
Class Inheritance
Imports
io.netty.channel.Channel, .ChannelHandlerContext, reactor.util.annotation.Nullable, reactor.util.context.ContextView, java.net.SocketAddress, java.time.Duration, java.util.function.Function

AbstractHttpClientMetricsHandler that propagates ContextView.
Author
Violeta Georgieva
Since
1.0.8

Field Summary

Modifier and TypeField and Description
pack-priv final ContextAwareHttpClientMetricsRecorder
Inherited from reactor.netty.http.client.AbstractHttpClientMetricsHandler:
contextViewdataReceiveddataReceivedTimedataSentdataSentTimelastReadSeqlastWriteSeqmethodpathstatusuriTagValue

Constructor Summary

AccessConstructor and Description
pack-priv
pack-priv

Method Summary

Modifier and TypeMethod and Description
protected ContextAwareHttpClientMetricsRecorder
protected void
protected void
protected void
Inherited from reactor.netty.http.client.AbstractHttpClientMetricsHandler:
channelReadexceptionCaughtresetstartReadstartWritewrite

Field Detail

recorderback to summary
pack-priv final ContextAwareHttpClientMetricsRecorder recorder

Constructor Detail

ContextAwareHttpClientMetricsHandlerback to summary
pack-priv ContextAwareHttpClientMetricsHandler(ContextAwareHttpClientMetricsRecorder recorder, Function<String, String> uriTagValue)
ContextAwareHttpClientMetricsHandlerback to summary
pack-priv ContextAwareHttpClientMetricsHandler(ContextAwareHttpClientMetricsHandler copy)

Method Detail

recorderback to summary
protected ContextAwareHttpClientMetricsRecorder recorder()

Implements abstract reactor.netty.http.client.AbstractHttpClientMetricsHandler.recorder.

Annotations
@Override
recordExceptionback to summary
protected void recordException(ChannelHandlerContext ctx)

Overrides reactor.netty.http.client.AbstractHttpClientMetricsHandler.recordException.

Annotations
@Override
recordReadback to summary
protected void recordRead(Channel channel)

Overrides reactor.netty.http.client.AbstractHttpClientMetricsHandler.recordRead.

Annotations
@Override
recordWriteback to summary
protected void recordWrite(SocketAddress address)

Overrides reactor.netty.http.client.AbstractHttpClientMetricsHandler.recordWrite.

Annotations
@Override