Enum ParamTypeEnum

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<ParamTypeEnum>

    public enum ParamTypeEnum
    extends java.lang.Enum<ParamTypeEnum>
    Param Type.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      COOKIE
      Cookie param type enum.
      DOMAIN
      domain param type enum.
      FORM_DATA
      Form data param type enum.
      HEADER
      Header param type enum.
      HOST
      Host param type enum.
      IP
      Ip param type enum.
      PATH
      Path variable param type enum.
      POST
      Post param type enum.
      QUERY
      Query param type enum.
      REQUEST_METHOD
      requestMethod param type enum.
      URI
      Uri param type enum.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.List<ParamTypeEnum> acquireSupport()
      acquire param type supports.
      java.lang.String getName()
      get name.
      static ParamTypeEnum getParamTypeEnumByName​(java.lang.String name)
      get param type enum by name.
      java.lang.Boolean getSupport()
      get support.
      static ParamTypeEnum valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static ParamTypeEnum[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

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

      • PATH

        public static final ParamTypeEnum PATH
        Path variable param type enum.
      • FORM_DATA

        public static final ParamTypeEnum FORM_DATA
        Form data param type enum.
      • POST

        public static final ParamTypeEnum POST
        Post param type enum.
      • URI

        public static final ParamTypeEnum URI
        Uri param type enum.
      • QUERY

        public static final ParamTypeEnum QUERY
        Query param type enum.
      • HOST

        public static final ParamTypeEnum HOST
        Host param type enum.
      • HEADER

        public static final ParamTypeEnum HEADER
        Header param type enum.
      • COOKIE

        public static final ParamTypeEnum COOKIE
        Cookie param type enum.
      • REQUEST_METHOD

        public static final ParamTypeEnum REQUEST_METHOD
        requestMethod param type enum. note:The front-end page needs to be adjusted because the field length is long
      • DOMAIN

        public static final ParamTypeEnum DOMAIN
        domain param type enum.
    • Method Detail

      • values

        public static ParamTypeEnum[] values()
        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 (ParamTypeEnum c : ParamTypeEnum.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

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

        public java.lang.String getName()
        get name.
        Returns:
        name
      • getSupport

        public java.lang.Boolean getSupport()
        get support.
        Returns:
        support
      • acquireSupport

        public static java.util.List<ParamTypeEnum> acquireSupport()
        acquire param type supports.
        Returns:
        param type support.
      • getParamTypeEnumByName

        public static ParamTypeEnum getParamTypeEnumByName​(java.lang.String name)
        get param type enum by name.
        Parameters:
        name - param type name.
        Returns:
        param type enum.