Package org.apache.mina.filter.logging
Enum MdcInjectionFilter.MdcKey
- java.lang.Object
-
- java.lang.Enum<MdcInjectionFilter.MdcKey>
-
- org.apache.mina.filter.logging.MdcInjectionFilter.MdcKey
-
- All Implemented Interfaces:
Serializable
,Comparable<MdcInjectionFilter.MdcKey>
- Enclosing class:
- MdcInjectionFilter
public static enum MdcInjectionFilter.MdcKey extends Enum<MdcInjectionFilter.MdcKey>
This enum lists all the possible keys this filter will process
-
-
Enum Constant Summary
Enum Constants Enum Constant Description handlerClass
Tha class handling the requestslocalAddress
The local addresslocalIp
The local IP addresslocalPort
The local portremoteAddress
The remote peer addressremoteIp
The remote peer IP addressremotePort
The remote peer port
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MdcInjectionFilter.MdcKey
valueOf(String name)
Returns the enum constant of this type with the specified name.static MdcInjectionFilter.MdcKey[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
handlerClass
public static final MdcInjectionFilter.MdcKey handlerClass
Tha class handling the requests
-
remoteAddress
public static final MdcInjectionFilter.MdcKey remoteAddress
The remote peer address
-
localAddress
public static final MdcInjectionFilter.MdcKey localAddress
The local address
-
remoteIp
public static final MdcInjectionFilter.MdcKey remoteIp
The remote peer IP address
-
remotePort
public static final MdcInjectionFilter.MdcKey remotePort
The remote peer port
-
localIp
public static final MdcInjectionFilter.MdcKey localIp
The local IP address
-
localPort
public static final MdcInjectionFilter.MdcKey localPort
The local port
-
-
Method Detail
-
values
public static MdcInjectionFilter.MdcKey[] 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 (MdcInjectionFilter.MdcKey c : MdcInjectionFilter.MdcKey.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MdcInjectionFilter.MdcKey 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 nameNullPointerException
- if the argument is null
-
-