Enum LogElement.Event
- java.lang.Object
-
- java.lang.Enum<LogElement.Event>
-
- io.micronaut.http.server.netty.handler.accesslog.element.LogElement.Event
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<LogElement.Event>
- Enclosing interface:
- LogElement
public static enum LogElement.Event extends java.lang.Enum<LogElement.Event>
Events.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ON_LAST_RESPONSE_WRITEON_REQUEST_HEADERSON_RESPONSE_HEADERSON_RESPONSE_WRITE
-
Field Summary
Fields Modifier and Type Field Description static java.util.Set<LogElement.Event>REQUEST_HEADERS_EVENTSstatic java.util.Set<LogElement.Event>RESPONSE_HEADERS_EVENTS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LogElement.EventvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static LogElement.Event[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ON_REQUEST_HEADERS
public static final LogElement.Event ON_REQUEST_HEADERS
-
ON_RESPONSE_HEADERS
public static final LogElement.Event ON_RESPONSE_HEADERS
-
ON_RESPONSE_WRITE
public static final LogElement.Event ON_RESPONSE_WRITE
-
ON_LAST_RESPONSE_WRITE
public static final LogElement.Event ON_LAST_RESPONSE_WRITE
-
-
Field Detail
-
REQUEST_HEADERS_EVENTS
public static final java.util.Set<LogElement.Event> REQUEST_HEADERS_EVENTS
-
RESPONSE_HEADERS_EVENTS
public static final java.util.Set<LogElement.Event> RESPONSE_HEADERS_EVENTS
-
-
Method Detail
-
values
public static LogElement.Event[] 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 (LogElement.Event c : LogElement.Event.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LogElement.Event 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 namejava.lang.NullPointerException- if the argument is null
-
-