Clean up RestconfRequestDispatcher a bit 29/113829/7
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 4 Oct 2024 12:19:40 +0000 (14:19 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 7 Oct 2024 13:24:48 +0000 (15:24 +0200)
commitc7123b8cb085b1da14fb7cd8b2579318e11611c2
tree2e3e32e94bdf5ef1586eaf6d04bf579e9f7ba6c5
parentc7f008aefcb9aff418b84fdd46db12e5910ff02b
Clean up RestconfRequestDispatcher a bit

This class is becoming a normal resource, hence it should not be logging
things on behalf of the entire component.

Move the logging bits to RestconfTransportChannelListener and move the
prepare() method just below the constructor, so that it is clear what is
going away at some point.

JIRA: NETCONF-1379
Change-Id: Ia5b9f168c164ac30341ae3cdc43eb2a34b696b84
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
protocol/restconf-server/src/main/java/org/opendaylight/restconf/server/RestconfRequestDispatcher.java
protocol/restconf-server/src/main/java/org/opendaylight/restconf/server/RestconfTransportChannelListener.java