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

pack-priv final Class ContextAwareHttpServerMetricsHandler

extends AbstractHttpServerMetricsHandler
Class Inheritance
Imports
reactor.util.annotation.Nullable, reactor.util.context.ContextView, java.time.Duration, java.util.function.Function

AbstractHttpServerMetricsHandler that propagates ContextView.
Author
Violeta Georgieva
Since
1.0.8

Field Summary

Modifier and TypeField and Description
pack-priv final ContextAwareHttpServerMetricsRecorder
Inherited from reactor.netty.http.server.AbstractHttpServerMetricsHandler:
channelActivatedchannelOpeneddataReceiveddataReceivedTimedataSentdataSentTimeDEFAULT_METHOD_TAG_VALUEmethodTagValueSTANDARD_METHODSUNKNOWN_METHODuriTagValue

Constructor Summary

AccessConstructor and Description
pack-priv
pack-priv

Method Summary

Modifier and TypeMethod and Description
protected ContextAwareHttpServerMetricsRecorder
protected void
protected void
protected void
Inherited from reactor.netty.http.server.AbstractHttpServerMetricsHandler:
channelActivechannelInactivechannelReadexceptionCaughtrecordActiveConnectionrecordClosedStreamrecordInactiveConnectionrecordInactiveConnectionOrStreamrecordOpenStreamstartReadstartWritewrite

Field Detail

recorderback to summary
pack-priv final ContextAwareHttpServerMetricsRecorder recorder

Constructor Detail

ContextAwareHttpServerMetricsHandlerback to summary
pack-priv ContextAwareHttpServerMetricsHandler(ContextAwareHttpServerMetricsRecorder recorder, Function<String, String> methodTagValue, Function<String, String> uriTagValue)
ContextAwareHttpServerMetricsHandlerback to summary
pack-priv ContextAwareHttpServerMetricsHandler(ContextAwareHttpServerMetricsHandler copy)

Method Detail

recorderback to summary
protected ContextAwareHttpServerMetricsRecorder recorder()

Implements abstract reactor.netty.http.server.AbstractHttpServerMetricsHandler.recorder.

Annotations
@Override
recordExceptionback to summary
protected void recordException(HttpServerOperations ops, String path)

Overrides reactor.netty.http.server.AbstractHttpServerMetricsHandler.recordException.

Annotations
@Override
recordReadback to summary
protected void recordRead(HttpServerOperations ops, String path, String method)

Overrides reactor.netty.http.server.AbstractHttpServerMetricsHandler.recordRead.

Annotations
@Override
recordWriteback to summary
protected void recordWrite(HttpServerOperations ops, String path, String method, String status)

Overrides reactor.netty.http.server.AbstractHttpServerMetricsHandler.recordWrite.

Annotations
@Override