ChannelDuplexHandler for handling HttpClient metrics.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv ContextView | |
| pack-priv long | |
| pack-priv long | |
| pack-priv long | |
| pack-priv long | |
| pack-priv int | |
| pack-priv int | |
| private static final Logger | |
| pack-priv String | |
| pack-priv String | |
| pack-priv String | |
| pack-priv final Function |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected |
| contextView | back to summary |
|---|---|
| pack-priv ContextView contextView | |
| 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 | |
| lastReadSeq | back to summary |
|---|---|
| pack-priv int lastReadSeq | |
| lastWriteSeq | back to summary |
|---|---|
| pack-priv int lastWriteSeq | |
| log | back to summary |
|---|---|
| private static final Logger log | |
| method | back to summary |
|---|---|
| pack-priv String method | |
| path | back to summary |
|---|---|
| pack-priv String path | |
| status | back to summary |
|---|---|
| pack-priv String status | |
| uriTagValue | back to summary |
|---|---|
| pack-priv final Function<String, String> uriTagValue | |
| AbstractHttpClientMetricsHandler | back to summary |
|---|---|
| protected AbstractHttpClientMetricsHandler(Function<String, String> uriTagValue) | |
| AbstractHttpClientMetricsHandler | back to summary |
|---|---|
| protected AbstractHttpClientMetricsHandler(AbstractHttpClientMetricsHandler copy) | |
| 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
| |
| extractDetailsFromHttpRequest | back to summary |
|---|---|
| private void extractDetailsFromHttpRequest(ChannelHandlerContext ctx, HttpRequest request) | |
| extractProcessedDataFromBuffer | back to summary |
|---|---|
| private long extractProcessedDataFromBuffer(Object msg) | |
| recorder | back to summary |
|---|---|
| protected abstract HttpClientMetricsRecorder recorder() | |
| recordException | back to summary |
|---|---|
| protected void recordException(ChannelHandlerContext ctx) | |
| recordRead | back to summary |
|---|---|
| protected void recordRead(Channel channel) | |
| recordWrite | back to summary |
|---|---|
| protected void recordWrite(SocketAddress address) | |
| reset | back to summary |
|---|---|
| protected void reset() | |
| resolveUri | back to summary |
|---|---|
| private String resolveUri(ChannelHandlerContext ctx) | |
| startRead | back to summary |
|---|---|
| protected void startRead(HttpResponse msg) | |
| startWrite | back to summary |
|---|---|
| protected void startWrite(HttpRequest msg, Channel channel) | |
| write | back to summary |
|---|---|
| public void write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) Overrides io. Implements io. Doc from io. Calls
| |