Enum Class LogEventType
- All Implemented Interfaces:
Serializable, Comparable<LogEventType>, Constable
Kinds of
LogEvent instances that Soklet can produce.- Author:
- Mark Allen
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates that a Soklet configuration option was requested but isn't supported in the current runtime/environment; behavior may differ (perhaps ignored or degraded).IndicatesLifecycleObserver.didAcceptConnection(ServerType, java.net.InetSocketAddress)threw an exception.IndicatesLifecycleObserver.didAcceptRequest(ServerType, java.net.InetSocketAddress, String)threw an exception.IndicatesLifecycleObserver.didFinishRequestHandling(ServerType, Request, ResourceMethod, MarshaledResponse, Duration, List)threw an exception.IndicatesLifecycleObserver.didReadRequest(ServerType, java.net.InetSocketAddress, String)threw an exception.IndicatesLifecycleObserver.didStartRequestHandling(ServerType, Request, ResourceMethod)threw an exception.IndicatesLifecycleObserver.willAcceptConnection(ServerType, java.net.InetSocketAddress)threw an exception.IndicatesLifecycleObserver.willAcceptRequest(ServerType, java.net.InetSocketAddress, String)threw an exception.IndicatesLifecycleObserver.willEstablishServerSentEventConnection(Request, ResourceMethod)threw an exception.IndicatesLifecycleObserver.willReadRequest(ServerType, java.net.InetSocketAddress, String)threw an exception.IndicatesLifecycleObserver.willWriteResponse(ServerType, Request, ResourceMethod, MarshaledResponse)threw an exception.IndicatesLifecycleObserver.willWriteServerSentEventComment(ServerSentEventConnection, ServerSentEventComment)threw an exception.IndicatesLifecycleObserver.willWriteServerSentEvent(ServerSentEventConnection, ServerSentEvent)threw an exception.Indicates aMetricsCollectorinvocation threw an exception.IndicatesRequestInterceptor.interceptRequest(ServerType, Request, ResourceMethod, Function, Consumer)threw an exception.IndicatesRequestInterceptor.wrapRequest(ServerType, Request, Consumer)threw an exception.Indicates that an exception was thrown during core request processing operations.Indicates Resource Method resolution via (ResourceMethodResolver.resourceMethodForRequest(Request, ServerType)threw an exception.IndicatesResponseMarshaler.forThrowable(Request, Throwable, ResourceMethod)threw an exception.Indicates an internalServererror occurred.Indicates that theServerSentEventServerencountered an error when executing application-provided code while performing a memoized broadcast viaServerSentEventBroadcaster.broadcastEvent(Function, Function)orServerSentEventBroadcaster.broadcastComment(Function, Function).Indicates that theServerSentEventServerrejected a connection, e.g. due to capacity limits.Indicates an internalServerSentEventServererror occurred.Indicates that theServerSentEventServerreceived a request with an illegal structure, such as a missing or invalid HTTP verb or an unsupported HTTP/2.0 request.Indicates that theServerSentEventServerwas unable to successfully write a handshake response.Indicates that theServerreceived a request with an illegal structure, such as a missing or invalid HTTP verb or an unsupported HTTP/2.0 request. -
Method Summary
Modifier and TypeMethodDescriptionstatic LogEventTypeReturns the enum constant of this class with the specified name.static LogEventType[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
CONFIGURATION_UNSUPPORTED
Indicates that a Soklet configuration option was requested but isn't supported in the current runtime/environment; behavior may differ (perhaps ignored or degraded). -
REQUEST_PROCESSING_FAILED
Indicates that an exception was thrown during core request processing operations. -
REQUEST_INTERCEPTOR_WRAP_REQUEST_FAILED
IndicatesRequestInterceptor.wrapRequest(ServerType, Request, Consumer)threw an exception. -
REQUEST_INTERCEPTOR_INTERCEPT_REQUEST_FAILED
IndicatesRequestInterceptor.interceptRequest(ServerType, Request, ResourceMethod, Function, Consumer)threw an exception. -
LIFECYCLE_OBSERVER_WILL_ACCEPT_CONNECTION_FAILED
IndicatesLifecycleObserver.willAcceptConnection(ServerType, java.net.InetSocketAddress)threw an exception. -
LIFECYCLE_OBSERVER_DID_ACCEPT_CONNECTION_FAILED
IndicatesLifecycleObserver.didAcceptConnection(ServerType, java.net.InetSocketAddress)threw an exception. -
LIFECYCLE_OBSERVER_DID_FAIL_TO_ACCEPT_CONNECTION_FAILED
-
LIFECYCLE_OBSERVER_WILL_ACCEPT_REQUEST_FAILED
IndicatesLifecycleObserver.willAcceptRequest(ServerType, java.net.InetSocketAddress, String)threw an exception. -
LIFECYCLE_OBSERVER_DID_ACCEPT_REQUEST_FAILED
IndicatesLifecycleObserver.didAcceptRequest(ServerType, java.net.InetSocketAddress, String)threw an exception. -
LIFECYCLE_OBSERVER_DID_FAIL_TO_ACCEPT_REQUEST_FAILED
-
LIFECYCLE_OBSERVER_WILL_READ_REQUEST_FAILED
IndicatesLifecycleObserver.willReadRequest(ServerType, java.net.InetSocketAddress, String)threw an exception. -
LIFECYCLE_OBSERVER_DID_READ_REQUEST_FAILED
IndicatesLifecycleObserver.didReadRequest(ServerType, java.net.InetSocketAddress, String)threw an exception. -
LIFECYCLE_OBSERVER_DID_FAIL_TO_READ_REQUEST_FAILED
-
LIFECYCLE_OBSERVER_DID_START_REQUEST_HANDLING_FAILED
IndicatesLifecycleObserver.didStartRequestHandling(ServerType, Request, ResourceMethod)threw an exception. -
LIFECYCLE_OBSERVER_DID_FINISH_REQUEST_HANDLING_FAILED
IndicatesLifecycleObserver.didFinishRequestHandling(ServerType, Request, ResourceMethod, MarshaledResponse, Duration, List)threw an exception. -
LIFECYCLE_OBSERVER_WILL_WRITE_RESPONSE_FAILED
IndicatesLifecycleObserver.willWriteResponse(ServerType, Request, ResourceMethod, MarshaledResponse)threw an exception. -
LIFECYCLE_OBSERVER_DID_WRITE_RESPONSE_FAILED
-
LIFECYCLE_OBSERVER_WILL_ESTABLISH_SERVER_SENT_EVENT_CONNECTION_FAILED
public static final LogEventType LIFECYCLE_OBSERVER_WILL_ESTABLISH_SERVER_SENT_EVENT_CONNECTION_FAILEDIndicatesLifecycleObserver.willEstablishServerSentEventConnection(Request, ResourceMethod)threw an exception. -
LIFECYCLE_OBSERVER_DID_ESTABLISH_SERVER_SENT_EVENT_CONNECTION_FAILED
public static final LogEventType LIFECYCLE_OBSERVER_DID_ESTABLISH_SERVER_SENT_EVENT_CONNECTION_FAILED -
LIFECYCLE_OBSERVER_WILL_TERMINATE_SERVER_SENT_EVENT_CONNECTION_FAILED
-
LIFECYCLE_OBSERVER_DID_TERMINATE_SERVER_SENT_EVENT_CONNECTION_FAILED
-
LIFECYCLE_OBSERVER_WILL_WRITE_SERVER_SENT_EVENT_FAILED
IndicatesLifecycleObserver.willWriteServerSentEvent(ServerSentEventConnection, ServerSentEvent)threw an exception. -
LIFECYCLE_OBSERVER_DID_WRITE_SERVER_SENT_EVENT_FAILED
-
LIFECYCLE_OBSERVER_WILL_WRITE_SERVER_SENT_EVENT_COMMENT_FAILED
IndicatesLifecycleObserver.willWriteServerSentEventComment(ServerSentEventConnection, ServerSentEventComment)threw an exception. -
LIFECYCLE_OBSERVER_DID_WRITE_SERVER_SENT_EVENT_COMMENT_FAILED
-
METRICS_COLLECTOR_FAILED
Indicates aMetricsCollectorinvocation threw an exception. -
RESPONSE_MARSHALER_FOR_THROWABLE_FAILED
IndicatesResponseMarshaler.forThrowable(Request, Throwable, ResourceMethod)threw an exception. -
RESOURCE_METHOD_RESOLUTION_FAILED
Indicates Resource Method resolution via (ResourceMethodResolver.resourceMethodForRequest(Request, ServerType)threw an exception. -
SERVER_UNPARSEABLE_REQUEST
Indicates that theServerreceived a request with an illegal structure, such as a missing or invalid HTTP verb or an unsupported HTTP/2.0 request. -
SERVER_INTERNAL_ERROR
Indicates an internalServererror occurred. -
SERVER_SENT_EVENT_SERVER_UNPARSEABLE_REQUEST
Indicates that theServerSentEventServerreceived a request with an illegal structure, such as a missing or invalid HTTP verb or an unsupported HTTP/2.0 request. -
SERVER_SENT_EVENT_SERVER_WRITING_HANDSHAKE_RESPONSE_FAILED
Indicates that theServerSentEventServerwas unable to successfully write a handshake response. -
SERVER_SENT_EVENT_SERVER_BROADCAST_GENERATION_FAILED
Indicates that theServerSentEventServerencountered an error when executing application-provided code while performing a memoized broadcast viaServerSentEventBroadcaster.broadcastEvent(Function, Function)orServerSentEventBroadcaster.broadcastComment(Function, Function). -
SERVER_SENT_EVENT_SERVER_CONNECTION_REJECTED
Indicates that theServerSentEventServerrejected a connection, e.g. due to capacity limits. -
SERVER_SENT_EVENT_SERVER_INTERNAL_ERROR
Indicates an internalServerSentEventServererror occurred.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-