Class PacketLoggingFilter
java.lang.Object
org.apache.sshd.common.filter.IoFilter
org.apache.sshd.common.session.filters.PacketLoggingFilter
- All Implemented Interfaces:
Filter, Owned<FilterContext>
A simple packet logging filter. The filter produces trace logs of the message contents for debugging purposes; it
should be placed in the filter chain above the compression filter because otherwise it will log compressed or
encrypted message data, which is useless for debugging.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionin()Retrieves the filter'sInputHandler.out()Retrieves the filter'sOutputHandler.
-
Constructor Details
-
PacketLoggingFilter
-
-
Method Details
-
in
Description copied from interface:FilterRetrieves the filter'sInputHandler.- Returns:
- the
InputHandleror codenullif this filter is an output-only filter
-
out
Description copied from interface:FilterRetrieves the filter'sOutputHandler.- Returns:
- the
OutputHandleror codenullif this filter is an input-only filter
-