Top Description Methods
reactor.netty5

public Interface ChannelOperationsId

Known Direct Implementers
reactor.netty5.channel.ChannelOperations

Provides short/long string representation of the channel.
Author
Violeta Georgieva
Since
1.0.5

Method Summary

Modifier and TypeMethod and Description
public String
asLongText()

The long string is a combination of the id of the underlying connection, local and remote addresses, and in case of HTTP, the serial number of the request received on that connection.

public String
asShortText()

The short string is a combination of the id of the underlying connection and in case of HTTP, the serial number of the request received on that connection.

Method Detail

asLongTextback to summary
public String asLongText()

The long string is a combination of the id of the underlying connection, local and remote addresses, and in case of HTTP, the serial number of the request received on that connection.

Format of the long string:

<CONNECTION_ID>-<REQUEST_NUMBER>, L:<LOCAL_ADDRESS> <CONNECTION_OPENED_CLOSED> R:<REMOTE_ADDRESS>

Example:

Opened connection
    <CONNECTION_ID>: 329c6ffd
    <REQUEST_NUMBER>: 5
    <LOCAL_ADDRESS>: /0:0:0:0:0:0:0:1:64286
    <CONNECTION_OPENED_CLOSED>: - (opened)
    <REMOTE_ADDRESS>: /0:0:0:0:0:0:0:1:64284

    Result: 329c6ffd-5, L:/0:0:0:0:0:0:0:1:64286 - R:/0:0:0:0:0:0:0:1:64284

Closed connection
    <CONNECTION_ID>: 329c6ffd
    <REQUEST_NUMBER>: 5
    <LOCAL_ADDRESS>: /0:0:0:0:0:0:0:1:64286
    <CONNECTION_OPENED_CLOSED>: ! (closed)
    <REMOTE_ADDRESS>: /0:0:0:0:0:0:0:1:64284

    Result: 329c6ffd-5, L:/0:0:0:0:0:0:0:1:64286 ! R:/0:0:0:0:0:0:0:1:64284

asShortTextback to summary
public String asShortText()

The short string is a combination of the id of the underlying connection and in case of HTTP, the serial number of the request received on that connection.

Format of the short string:

<CONNECTION_ID>-<REQUEST_NUMBER>

Example:

<CONNECTION_ID>: 329c6ffd
    <REQUEST_NUMBER>: 5

    Result: 329c6ffd-5