public enum HeaderRequestType extends Enum<HeaderRequestType>
Type of header requests
Enum Constant and Description |
---|
CAPABILITIES |
IDENTITY |
MESSAGE_QUOTA |
QUOTA_QUERY |
TRANSFER_QUOTA |
Modifier and Type | Method and Description |
---|---|
static HeaderRequestType |
getByClass(Class c)
Obtain the respective header request type by using the template class.
|
int |
getId()
obtain the ASN.1 ID of the header request.
|
Class |
getTemplateClass()
Returns a class representing the respective header request.
|
static HeaderRequestType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HeaderRequestType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HeaderRequestType IDENTITY
public static final HeaderRequestType CAPABILITIES
public static final HeaderRequestType MESSAGE_QUOTA
public static final HeaderRequestType TRANSFER_QUOTA
public static final HeaderRequestType QUOTA_QUERY
public static HeaderRequestType[] values()
for (HeaderRequestType c : HeaderRequestType.values()) System.out.println(c);
public static HeaderRequestType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getId()
obtain the ASN.1 ID of the header request.
public Class getTemplateClass()
Returns a class representing the respective header request.
public static HeaderRequestType getByClass(Class c)
Obtain the respective header request type by using the template class.
c
- the template class to be identifiedCopyright © 2023. All rights reserved.