Class Draft_6455

java.lang.Object
org.java_websocket.drafts.Draft
org.java_websocket.drafts.Draft_6455

public class Draft_6455 extends Draft
Implementation for the RFC 6455 websocket protocol This is the recommended class for your websocket connection
  • Constructor Details

    • Draft_6455

      public Draft_6455()
      Constructor for the websocket protocol specified by RFC 6455 with default extensions
      Since:
      1.3.5
    • Draft_6455

      public Draft_6455(IExtension inputExtension)
      Constructor for the websocket protocol specified by RFC 6455 with custom extensions
      Parameters:
      inputExtension - the extension which should be used for this draft
      Since:
      1.3.5
    • Draft_6455

      public Draft_6455(List<IExtension> inputExtensions)
      Constructor for the websocket protocol specified by RFC 6455 with custom extensions
      Parameters:
      inputExtensions - the extensions which should be used for this draft
      Since:
      1.3.5
    • Draft_6455

      public Draft_6455(List<IExtension> inputExtensions, List<IProtocol> inputProtocols)
      Constructor for the websocket protocol specified by RFC 6455 with custom extensions and protocols
      Parameters:
      inputExtensions - the extensions which should be used for this draft
      inputProtocols - the protocols which should be used for this draft
      Since:
      1.3.7
    • Draft_6455

      public Draft_6455(List<IExtension> inputExtensions, int inputMaxFrameSize)
      Constructor for the websocket protocol specified by RFC 6455 with custom extensions and protocols
      Parameters:
      inputExtensions - the extensions which should be used for this draft
      inputMaxFrameSize - the maximum allowed size of a frame (the real payload size, decoded frames can be bigger)
      Since:
      1.4.0
    • Draft_6455

      public Draft_6455(List<IExtension> inputExtensions, List<IProtocol> inputProtocols, int inputMaxFrameSize)
      Constructor for the websocket protocol specified by RFC 6455 with custom extensions and protocols
      Parameters:
      inputExtensions - the extensions which should be used for this draft
      inputProtocols - the protocols which should be used for this draft
      inputMaxFrameSize - the maximum allowed size of a frame (the real payload size, decoded frames can be bigger)
      Since:
      1.4.0
  • Method Details