Class WebSockets
java.lang.Object
de.predic8.kubernetesclient.patch.WebSockets
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstream(String path, String method, io.kubernetes.client.openapi.ApiClient client, io.kubernetes.client.util.WebSockets.SocketListener listener) Create a new WebSocket streamstatic WebSockets.Listenerstream(String path, String method, List<io.kubernetes.client.openapi.Pair> queryParams, io.kubernetes.client.openapi.ApiClient client, io.kubernetes.client.util.WebSockets.SocketListener listener)
-
Field Details
-
V4_STREAM_PROTOCOL
- See Also:
-
V3_STREAM_PROTOCOL
- See Also:
-
V2_STREAM_PROTOCOL
- See Also:
-
V1_STREAM_PROTOCOL
- See Also:
-
STREAM_PROTOCOL_HEADER
- See Also:
-
SPDY_3_1
- See Also:
-
-
Constructor Details
-
WebSockets
public WebSockets()
-
-
Method Details
-
stream
public static void stream(String path, String method, io.kubernetes.client.openapi.ApiClient client, io.kubernetes.client.util.WebSockets.SocketListener listener) throws io.kubernetes.client.openapi.ApiException, IOException Create a new WebSocket stream- Parameters:
path- The HTTP Path to request from the APImethod- The HTTP method to use for the callclient- The ApiClient for communicating with the APIlistener- The socket listener to handle socket events- Throws:
io.kubernetes.client.openapi.ApiExceptionIOException
-
stream
public static WebSockets.Listener stream(String path, String method, List<io.kubernetes.client.openapi.Pair> queryParams, io.kubernetes.client.openapi.ApiClient client, io.kubernetes.client.util.WebSockets.SocketListener listener) throws io.kubernetes.client.openapi.ApiException, IOException - Throws:
io.kubernetes.client.openapi.ApiExceptionIOException
-