Class ClientProxyFilter
java.lang.Object
org.apache.sshd.common.filter.IoFilter
org.apache.sshd.client.session.filter.ClientProxyFilter
- All Implemented Interfaces:
Filter, Owned<FilterContext>
A filter implementing the client-side proxy protocol for tunneling through a SOCKS or HTTP CONNECT proxy. Supports
SOCKS 5 with anonymous access or password or Kerberos 5 authentication, or HTTP CONNECT with anonymous, basic, or
SPNEGO authentication.
-
Constructor Summary
ConstructorsConstructorDescriptionClientProxyFilter(AbstractClientSession session, ProxyData proxy, InetSocketAddress targetAddress) -
Method Summary
Modifier and TypeMethodDescriptionin()Retrieves the filter'sInputHandler.out()Retrieves the filter'sOutputHandler.
-
Constructor Details
-
ClientProxyFilter
public ClientProxyFilter(AbstractClientSession session, ProxyData proxy, InetSocketAddress targetAddress)
-
-
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
-