ChannelDuplexHandler for handling HttpServer metrics.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv long | |
| pack-priv long | |
| pack-priv long | |
| pack-priv long | |
| pack-priv static final Function | |
| private static final Logger | |
| pack-priv final Function | |
| pack-priv static final Set | |
| pack-priv static final String | |
| pack-priv final Function |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected |
| channelActivated | back to summary |
|---|---|
| pack-priv boolean channelActivated | |
| channelOpened | back to summary |
|---|---|
| pack-priv boolean channelOpened | |
| dataReceived | back to summary |
|---|---|
| pack-priv long dataReceived | |
| dataReceivedTime | back to summary |
|---|---|
| pack-priv long dataReceivedTime | |
| dataSent | back to summary |
|---|---|
| pack-priv long dataSent | |
| dataSentTime | back to summary |
|---|---|
| pack-priv long dataSentTime | |
| DEFAULT_METHOD_TAG_VALUE | back to summary |
|---|---|
| pack-priv static final Function<String, String> DEFAULT_METHOD_TAG_VALUE | |
| log | back to summary |
|---|---|
| private static final Logger log | |
| methodTagValue | back to summary |
|---|---|
| pack-priv final Function<String, String> methodTagValue | |
| STANDARD_METHODS | back to summary |
|---|---|
| pack-priv static final Set<String> STANDARD_METHODS | |
| UNKNOWN_METHOD | back to summary |
|---|---|
| pack-priv static final String UNKNOWN_METHOD | |
| uriTagValue | back to summary |
|---|---|
| pack-priv final Function<String, String> uriTagValue | |
| AbstractHttpServerMetricsHandler | back to summary |
|---|---|
| protected AbstractHttpServerMetricsHandler(Function<String, String> methodTagValue, Function<String, String> uriTagValue) | |
| AbstractHttpServerMetricsHandler | back to summary |
|---|---|
| protected AbstractHttpServerMetricsHandler(AbstractHttpServerMetricsHandler copy) | |
| channelActive | back to summary |
|---|---|
| public void channelActive(ChannelHandlerContext ctx) Overrides io. Implements io. Doc from io. Calls
| |
| channelInactive | back to summary |
|---|---|
| public void channelInactive(ChannelHandlerContext ctx) Overrides io. Implements io. Doc from io. Calls
| |
| channelRead | back to summary |
|---|---|
| public void channelRead(ChannelHandlerContext ctx, Object msg) Overrides io. Implements io. Doc from io. Calls
| |
| exceptionCaught | back to summary |
|---|---|
| public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) Overrides io. Implements io. Doc from io. Gets called if a
| |
| extractProcessedDataFromBuffer | back to summary |
|---|---|
| private long extractProcessedDataFromBuffer(Object msg) | |
| recordActiveConnection | back to summary |
|---|---|
| protected void recordActiveConnection(SocketAddress localAddress) | |
| recordClosedStream | back to summary |
|---|---|
| protected void recordClosedStream(SocketAddress localAddress) | |
| recorder | back to summary |
|---|---|
| protected abstract HttpServerMetricsRecorder recorder() | |
| recordException | back to summary |
|---|---|
| protected void recordException(HttpServerOperations ops, String path) | |
| recordInactiveConnection | back to summary |
|---|---|
| protected void recordInactiveConnection(SocketAddress localAddress) | |
| recordInactiveConnectionOrStream | back to summary |
|---|---|
| pack-priv void recordInactiveConnectionOrStream(Channel channel) | |
| recordOpenStream | back to summary |
|---|---|
| protected void recordOpenStream(SocketAddress localAddress) | |
| recordRead | back to summary |
|---|---|
| protected void recordRead(HttpServerOperations ops, String path, String method) | |
| recordWrite | back to summary |
|---|---|
| protected void recordWrite(HttpServerOperations ops, String path, String method, String status) | |
| startRead | back to summary |
|---|---|
| protected void startRead(HttpServerOperations ops, String path, String method) | |
| startWrite | back to summary |
|---|---|
| protected void startWrite(HttpServerOperations ops, String path, String method, String status) | |
| write | back to summary |
|---|---|
| public void write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) Overrides io. Implements io. Doc from io. Calls
| |