Enum CimHeader

java.lang.Object
java.lang.Enum<CimHeader>
net.aifusion.cimserver.CimHeader
All Implemented Interfaces:
Serializable, Comparable<CimHeader>, java.lang.constant.Constable

public enum CimHeader extends Enum<CimHeader>
Enumeration to define known CIM Intrinsic Methods used by the server and the client.
Author:
Sharad Singhal
See Also:
  • Enum Constant Details

    • PUT_ELEMENT

      public static final CimHeader PUT_ELEMENT
      Put a named element into the server repository
    • GET_ELEMENT

      public static final CimHeader GET_ELEMENT
      Get a named element from the server repository
    • HAS_ELEMENT

      public static final CimHeader HAS_ELEMENT
      Check if the server has a named element
    • DELETE_ELEMENT

      public static final CimHeader DELETE_ELEMENT
      Delete a named element from the server repository
    • GET_NAMESPACES

      public static final CimHeader GET_NAMESPACES
      Get the list of namespaces known to the server
    • GET_ELEMENTS

      public static final CimHeader GET_ELEMENTS
      Get a number of elements from the server
    • ADD_LISTENER

      public static final CimHeader ADD_LISTENER
      Add a listener to the server
    • REMOVE_LISTENER

      public static final CimHeader REMOVE_LISTENER
      Remove a listener from the server
    • HAS_LISTENER

      public static final CimHeader HAS_LISTENER
      Check if the server has a listener registered
    • REGISTER_PROVIDER

      public static final CimHeader REGISTER_PROVIDER
      Register a child provider to the server
    • UNREGISTER_PROVIDER

      public static final CimHeader UNREGISTER_PROVIDER
      Unregister a child provider from the server
    • GET_PROPERTY_NAMES

      public static final CimHeader GET_PROPERTY_NAMES
      Get the names of the properties defined in a CIM named element
    • GET_PROPERTY_TYPE

      public static final CimHeader GET_PROPERTY_TYPE
      Get the property type of some property
    • GET_PROPERTY_VALUE

      public static final CimHeader GET_PROPERTY_VALUE
      Get the value of some property
    • SET_PROPERTY_VALUE

      public static final CimHeader SET_PROPERTY_VALUE
      Set the value of some property
    • GET_METHOD_NAMES

      public static final CimHeader GET_METHOD_NAMES
      Get the names of extrinsic methods defined in some class
    • GET_METHOD_TYPE

      public static final CimHeader GET_METHOD_TYPE
      Get the return type of some extrinsic method defined in some class
    • GET_METHOD_PARAMETERS

      public static final CimHeader GET_METHOD_PARAMETERS
      Get the list of parameters defined in some extrinsic method
    • INVOKE_METHOD

      public static final CimHeader INVOKE_METHOD
      Invoke an extrinsic method on an instance held on the server side
    • EXECUTE_QUERY

      public static final CimHeader EXECUTE_QUERY
      Execute a CIM Query to the server and retrieve results
    • SEND_EVENT

      public static final CimHeader SEND_EVENT
      Send an event to the server
    • SHUT_DOWN

      public static final CimHeader SHUT_DOWN
      Shut down the client, and let the server know
    • FILTER

      public static final CimHeader FILTER
      Filter elements at the server
  • Method Details

    • values

      public static CimHeader[] 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 CimHeader 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
    • getHttpMethod

      public HttpMethod getHttpMethod()
      Get the Http Method to use with this header
      Returns:
      - HttpMethod to use with the header
    • lookup

      public static CimHeader lookup(String header)
      Lookup a particular Extension header from the HTTP request
      Parameters:
      header - - string containing extension header value (case insensitive)
      Returns:
      - CimHeader. Null if no such header found
    • toString

      public String toString()
      Overrides:
      toString in class Enum<CimHeader>