Package hudson.plugins.ec2.ssh.proxy
Class ProxyCONNECTListener
java.lang.Object
hudson.plugins.ec2.ssh.proxy.ProxyCONNECTListener
- All Implemented Interfaces:
org.apache.sshd.client.session.ClientProxyConnector
public class ProxyCONNECTListener
extends Object
implements org.apache.sshd.client.session.ClientProxyConnector
ClientProxyConnector
that issue an HTTP CONNECT to connect through an HTTP proxy.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionProxyCONNECTListener
(String targetHost, int targetPort, String proxyUser, String proxyPass) -
Method Summary
Modifier and TypeMethodDescriptionvoid
proxyCONNECT
(org.apache.sshd.common.io.IoSession ioSession) void
sendClientProxyMetadata
(org.apache.sshd.client.session.ClientSession session)
-
Field Details
-
targetHost
-
targetPort
public final int targetPort -
proxyUser
-
proxyPass
-
-
Constructor Details
-
ProxyCONNECTListener
-
-
Method Details
-
sendClientProxyMetadata
public void sendClientProxyMetadata(org.apache.sshd.client.session.ClientSession session) throws Exception - Specified by:
sendClientProxyMetadata
in interfaceorg.apache.sshd.client.session.ClientProxyConnector
- Throws:
Exception
-
proxyCONNECT
public void proxyCONNECT(org.apache.sshd.common.io.IoSession ioSession)
-