Class WsCloseCodes

java.lang.Object
io.helidon.websocket.WsCloseCodes

public final class WsCloseCodes extends Object
  • Field Details

    • NORMAL_CLOSE

      public static final int NORMAL_CLOSE
      Code to use with WsSession.close(int, String) to indicate normal close operation.
      See Also:
    • GOING_AWAY

      public static final int GOING_AWAY
      Client is leaving (browser tab closing).
      See Also:
    • PROTOCOL_ERROR

      public static final int PROTOCOL_ERROR
      Endpoint received a malformed frame.
      See Also:
    • CANNOT_ACCEPT

      public static final int CANNOT_ACCEPT
      Endpoint received an unsupported frame (e.g. binary-only endpoint received text frame).
      See Also:
    • NO_STATUS_CODE

      public static final int NO_STATUS_CODE
      Expected close status, received none.
      See Also:
    • CLOSED_ABNORMALLY

      public static final int CLOSED_ABNORMALLY
      No close code frame has been received.
      See Also:
    • NOT_CONSISTENT

      public static final int NOT_CONSISTENT
      Endpoint received inconsistent message (e.g. malformed UTF-8).
      See Also:
    • VIOLATED_POLICY

      public static final int VIOLATED_POLICY
      Generic code used for situations other than 1003 and 1009.
      See Also:
    • TOO_BIG

      public static final int TOO_BIG
      Endpoint won't process large frame.
      See Also:
    • NO_EXTENSION

      public static final int NO_EXTENSION
      Client wanted an extension which server did not negotiate.
      See Also:
    • UNEXPECTED_CONDITION

      public static final int UNEXPECTED_CONDITION
      Internal server error while operating.
      See Also:
    • SERVICE_RESTART

      public static final int SERVICE_RESTART
      Server/service is restarting.
      See Also:
    • TRY_AGAIN_LATER

      public static final int TRY_AGAIN_LATER
      Temporary server condition forced blocking client's request.
      See Also:
    • BAD_GATEWAY

      public static final int BAD_GATEWAY
      Server acting as gateway received an invalid response.
      See Also:
    • TLS_HANDSHAKE_FAIL

      public static final int TLS_HANDSHAKE_FAIL
      Transport Layer Security handshake failure.
      See Also:
    • RESERVED_FOR_LATER_MIN

      public static final int RESERVED_FOR_LATER_MIN
      Reserved for later min value.
      See Also:
    • RESERVED_FOR_LATER_MAX

      public static final int RESERVED_FOR_LATER_MAX
      Reserved for later max value.
      See Also:
    • RESERVED_FOR_EXTENSIONS_MIN

      public static final int RESERVED_FOR_EXTENSIONS_MIN
      Reserved for extensions min value.
      See Also:
    • RESERVED_FOR_EXTENSIONS_MAX

      public static final int RESERVED_FOR_EXTENSIONS_MAX
      Reserved for extensions max value.
      See Also:
    • REGISTERED_AT_IANA_MIN

      public static final int REGISTERED_AT_IANA_MIN
      Registered at IANA min value.
      See Also:
    • REGISTERED_AT_IANA_MAX

      public static final int REGISTERED_AT_IANA_MAX
      Registered at IANA max value.
      See Also:
    • APPLICATION_MIN

      public static final int APPLICATION_MIN
      Application min value.
      See Also:
    • APPLICATION_MAX

      public static final int APPLICATION_MAX
      Application max value.
      See Also: