Package net.aifusion.cimserver
Enum CimHeader
- All Implemented Interfaces:
Serializable
,Comparable<CimHeader>
,java.lang.constant.Constable
Enumeration to define known CIM Intrinsic Methods used by the server and the client.
- Author:
- Sharad Singhal
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAdd a listener to the serverDelete a named element from the server repositoryExecute a CIM Query to the server and retrieve resultsFilter elements at the serverGet a named element from the server repositoryGet a number of elements from the serverGet the names of extrinsic methods defined in some classGet the list of parameters defined in some extrinsic methodGet the return type of some extrinsic method defined in some classGet the list of namespaces known to the serverGet the names of the properties defined in a CIM named elementGet the property type of some propertyGet the value of some propertyCheck if the server has a named elementCheck if the server has a listener registeredInvoke an extrinsic method on an instance held on the server sidePut a named element into the server repositoryRegister a child provider to the serverRemove a listener from the serverSend an event to the serverSet the value of some propertyShut down the client, and let the server knowUnregister a child provider from the server -
Method Summary
Modifier and TypeMethodDescriptionGet the Http Method to use with this headerstatic CimHeader
Lookup a particular Extension header from the HTTP requesttoString()
static CimHeader
Returns the enum constant of this type with the specified name.static CimHeader[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
-
Enum Constant Details
-
PUT_ELEMENT
Put a named element into the server repository -
GET_ELEMENT
Get a named element from the server repository -
HAS_ELEMENT
Check if the server has a named element -
DELETE_ELEMENT
Delete a named element from the server repository -
GET_NAMESPACES
Get the list of namespaces known to the server -
GET_ELEMENTS
Get a number of elements from the server -
ADD_LISTENER
Add a listener to the server -
REMOVE_LISTENER
Remove a listener from the server -
HAS_LISTENER
Check if the server has a listener registered -
REGISTER_PROVIDER
Register a child provider to the server -
UNREGISTER_PROVIDER
Unregister a child provider from the server -
GET_PROPERTY_NAMES
Get the names of the properties defined in a CIM named element -
GET_PROPERTY_TYPE
Get the property type of some property -
GET_PROPERTY_VALUE
Get the value of some property -
SET_PROPERTY_VALUE
Set the value of some property -
GET_METHOD_NAMES
Get the names of extrinsic methods defined in some class -
GET_METHOD_TYPE
Get the return type of some extrinsic method defined in some class -
GET_METHOD_PARAMETERS
Get the list of parameters defined in some extrinsic method -
INVOKE_METHOD
Invoke an extrinsic method on an instance held on the server side -
EXECUTE_QUERY
Execute a CIM Query to the server and retrieve results -
SEND_EVENT
Send an event to the server -
SHUT_DOWN
Shut down the client, and let the server know -
FILTER
Filter elements at the server
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getHttpMethod
Get the Http Method to use with this header- Returns:
- - HttpMethod to use with the header
-
lookup
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
-