Enum VaadinServlet.RequestType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<VaadinServlet.RequestType>
    Enclosing class:
    VaadinServlet

    @Deprecated
    protected static enum VaadinServlet.RequestType
    extends java.lang.Enum<VaadinServlet.RequestType>
    Deprecated.
    As of 7.0. This is no longer used and only provided for backwards compatibility. Each RequestHandler can individually decide whether it wants to handle a request or not.
    Since:
    7.0
    Author:
    Vaadin Ltd
    • Method Detail

      • values

        public static VaadinServlet.RequestType[] values()
        Deprecated.
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (VaadinServlet.RequestType c : VaadinServlet.RequestType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static VaadinServlet.RequestType valueOf​(java.lang.String name)
        Deprecated.
        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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null