Class PortForwarderWebsocket
- java.lang.Object
-
- io.fabric8.kubernetes.client.dsl.internal.PortForwarderWebsocket
-
public class PortForwarderWebsocket extends Object
A port-forwarder using the websocket protocol. It requires Kubernetes 1.6+ (previous versions support the SPDY protocol only).
-
-
Constructor Summary
Constructors Constructor Description PortForwarderWebsocket(HttpClient client, Executor executor, long connectTimeoutMillis)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocalPortForward
forward(URL resourceBaseUrl, int port, InetAddress localHost, int localPort)
PortForward
forward(URL resourceBaseUrl, int port, ReadableByteChannel in, WritableByteChannel out)
-
-
-
Constructor Detail
-
PortForwarderWebsocket
public PortForwarderWebsocket(HttpClient client, Executor executor, long connectTimeoutMillis)
-
-
Method Detail
-
forward
public LocalPortForward forward(URL resourceBaseUrl, int port, InetAddress localHost, int localPort)
-
forward
public PortForward forward(URL resourceBaseUrl, int port, ReadableByteChannel in, WritableByteChannel out)
-
-