Class WebSockets

java.lang.Object
io.kubernetes.client.util.WebSockets

public class WebSockets extends Object
  • Field Details

  • Constructor Details

    • WebSockets

      public WebSockets()
  • Method Details

    • stream

      public static void stream(String path, String method, io.kubernetes.client.openapi.ApiClient client, WebSockets.SocketListener listener) throws io.kubernetes.client.openapi.ApiException, IOException
      Create a new WebSocket stream
      Parameters:
      path - The HTTP Path to request from the API
      method - The HTTP method to use for the call
      client - The ApiClient for communicating with the API
      listener - The socket listener to handle socket events
      Throws:
      io.kubernetes.client.openapi.ApiException
      IOException
    • stream

      public static void stream(String path, String method, List<io.kubernetes.client.openapi.Pair> queryParams, io.kubernetes.client.openapi.ApiClient client, WebSockets.SocketListener listener) throws io.kubernetes.client.openapi.ApiException, IOException
      Throws:
      io.kubernetes.client.openapi.ApiException
      IOException
    • stream

      public static void stream(okhttp3.Call call, io.kubernetes.client.openapi.ApiClient client, WebSockets.SocketListener listener)