GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Overview
  • Use
  • Tree
  • Deprecated
  • Index
  • Search
  • Help
  • io.netty.handler.codec.http
  • HttpClientUpgradeHandler
  • UpgradeEvent

This view

  • Original page
  • New address

GeezerVison is showing netty.io — HttpClientUpgradeHandler.UpgradeEvent (Netty API Reference (4.1.141.Final))

Enum HttpClientUpgradeHandler.UpgradeEvent

java.lang.Object
java.lang.Enum<HttpClientUpgradeHandler.UpgradeEvent>
io.netty.handler.codec.http.HttpClientUpgradeHandler.UpgradeEvent
All Implemented Interfaces:
Serializable, Comparable<HttpClientUpgradeHandler.UpgradeEvent>
Enclosing class:
HttpClientUpgradeHandler

public static enum HttpClientUpgradeHandler.UpgradeEvent extends Enum<HttpClientUpgradeHandler.UpgradeEvent>
User events that are fired to notify about upgrade status.
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    UPGRADE_ISSUED
    The Upgrade request was sent to the server.
    UPGRADE_REJECTED
    The Upgrade was unsuccessful due to the server not issuing with a 101 Switching Protocols response.
    UPGRADE_SUCCESSFUL
    The Upgrade to the new protocol was successful.
  • Method Summary

    Modifier and Type
    Method
    Description
    static HttpClientUpgradeHandler.UpgradeEvent
    valueOf(String name)
    Returns the enum constant of this type with the specified name.
    static HttpClientUpgradeHandler.UpgradeEvent[]
    values()
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class Enum

    clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • UPGRADE_ISSUED

      public static final HttpClientUpgradeHandler.UpgradeEvent UPGRADE_ISSUED
      The Upgrade request was sent to the server.
    • UPGRADE_SUCCESSFUL

      public static final HttpClientUpgradeHandler.UpgradeEvent UPGRADE_SUCCESSFUL
      The Upgrade to the new protocol was successful.
    • UPGRADE_REJECTED

      public static final HttpClientUpgradeHandler.UpgradeEvent UPGRADE_REJECTED
      The Upgrade was unsuccessful due to the server not issuing with a 101 Switching Protocols response.
  • Method Details

    • values

      public static HttpClientUpgradeHandler.UpgradeEvent[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static HttpClientUpgradeHandler.UpgradeEvent valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.