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.didCreateMcpSession(Request, Class, String)threw an exception.IndicatesLifecycleObserver.didEstablishMcpSseStream(Request, Class, 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.didStartMcpRequestHandling(Request, Class, String, String, McpJsonRpcRequestId)threw an exception.IndicatesLifecycleObserver.didStartRequestHandling(ServerType, Request, ResourceMethod)threw an exception.IndicatesLifecycleObserver.didTerminateMcpSession(Class, String, Duration, McpSessionTerminationReason, Throwable)threw an exception.IndicatesLifecycleObserver.didTerminateMcpSseStream(Request, Class, String, Duration, McpStreamTerminationReason, Throwable)threw an exception.IndicatesLifecycleObserver.didTerminateSseConnection(SseConnection, Duration, SseConnection.TerminationReason, Throwable)threw an exception.IndicatesLifecycleObserver.willAcceptConnection(ServerType, java.net.InetSocketAddress)threw an exception.IndicatesLifecycleObserver.willAcceptRequest(ServerType, java.net.InetSocketAddress, String)threw an exception.IndicatesLifecycleObserver.willEstablishSseConnection(Request, ResourceMethod)threw an exception.IndicatesLifecycleObserver.willReadRequest(ServerType, java.net.InetSocketAddress, String)threw an exception.IndicatesLifecycleObserver.willTerminateMcpSseStream(Request, Class, String, McpStreamTerminationReason, Throwable)threw an exception.IndicatesLifecycleObserver.willTerminateSseConnection(SseConnection, SseConnection.TerminationReason, Throwable)threw an exception.IndicatesLifecycleObserver.willWriteResponse(ServerType, Request, ResourceMethod, MarshaledResponse)threw an exception.IndicatesLifecycleObserver.willWriteSseComment(SseConnection, SseComment)threw an exception.IndicatesLifecycleObserver.willWriteSseEvent(SseConnection, SseEvent)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 internalHttpServererror occurred.Indicates that theHttpServerreceived a request with an illegal structure, such as a missing or invalid HTTP verb or an unsupported HTTP/2.0 request.Indicates that theSseServerencountered an error when executing application-provided code while performing a memoized broadcast viaSseBroadcaster.broadcastEvent(Function, Function)orSseBroadcaster.broadcastComment(Function, Function).Indicates that theSseServerrejected a connection, e.g. due to capacity limits.Indicates an internalSseServererror occurred.Indicates that theSseServerreceived a request with an illegal structure, such as a missing or invalid HTTP verb or an unsupported HTTP/2.0 request.Indicates that theSseServerwas unable to successfully write a handshake response. -
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_DID_CREATE_MCP_SESSION_FAILED
IndicatesLifecycleObserver.didCreateMcpSession(Request, Class, String)threw an exception. -
LIFECYCLE_OBSERVER_DID_TERMINATE_MCP_SESSION_FAILED
IndicatesLifecycleObserver.didTerminateMcpSession(Class, String, Duration, McpSessionTerminationReason, Throwable)threw an exception. -
LIFECYCLE_OBSERVER_DID_START_MCP_REQUEST_HANDLING_FAILED
IndicatesLifecycleObserver.didStartMcpRequestHandling(Request, Class, String, String, McpJsonRpcRequestId)threw an exception. -
LIFECYCLE_OBSERVER_DID_FINISH_MCP_REQUEST_HANDLING_FAILED
-
LIFECYCLE_OBSERVER_DID_ESTABLISH_MCP_SSE_STREAM_FAILED
IndicatesLifecycleObserver.didEstablishMcpSseStream(Request, Class, String)threw an exception. -
LIFECYCLE_OBSERVER_WILL_TERMINATE_MCP_SSE_STREAM_FAILED
IndicatesLifecycleObserver.willTerminateMcpSseStream(Request, Class, String, McpStreamTerminationReason, Throwable)threw an exception. -
LIFECYCLE_OBSERVER_DID_TERMINATE_MCP_SSE_STREAM_FAILED
IndicatesLifecycleObserver.didTerminateMcpSseStream(Request, Class, String, Duration, McpStreamTerminationReason, Throwable)threw an exception. -
LIFECYCLE_OBSERVER_WILL_ESTABLISH_SSE_CONNECTION_FAILED
IndicatesLifecycleObserver.willEstablishSseConnection(Request, ResourceMethod)threw an exception. -
LIFECYCLE_OBSERVER_DID_ESTABLISH_SSE_CONNECTION_FAILED
-
LIFECYCLE_OBSERVER_WILL_TERMINATE_SSE_CONNECTION_FAILED
IndicatesLifecycleObserver.willTerminateSseConnection(SseConnection, SseConnection.TerminationReason, Throwable)threw an exception. -
LIFECYCLE_OBSERVER_DID_TERMINATE_SSE_CONNECTION_FAILED
IndicatesLifecycleObserver.didTerminateSseConnection(SseConnection, Duration, SseConnection.TerminationReason, Throwable)threw an exception. -
LIFECYCLE_OBSERVER_WILL_WRITE_SSE_FAILED
IndicatesLifecycleObserver.willWriteSseEvent(SseConnection, SseEvent)threw an exception. -
LIFECYCLE_OBSERVER_DID_WRITE_SSE_FAILED
-
LIFECYCLE_OBSERVER_WILL_WRITE_SSE_COMMENT_FAILED
IndicatesLifecycleObserver.willWriteSseComment(SseConnection, SseComment)threw an exception. -
LIFECYCLE_OBSERVER_DID_WRITE_SSE_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 theHttpServerreceived 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 internalHttpServererror occurred. -
SSE_SERVER_UNPARSEABLE_REQUEST
Indicates that theSseServerreceived a request with an illegal structure, such as a missing or invalid HTTP verb or an unsupported HTTP/2.0 request. -
SSE_SERVER_WRITING_HANDSHAKE_RESPONSE_FAILED
Indicates that theSseServerwas unable to successfully write a handshake response. -
SSE_SERVER_BROADCAST_GENERATION_FAILED
Indicates that theSseServerencountered an error when executing application-provided code while performing a memoized broadcast viaSseBroadcaster.broadcastEvent(Function, Function)orSseBroadcaster.broadcastComment(Function, Function). -
SSE_SERVER_CONNECTION_REJECTED
Indicates that theSseServerrejected a connection, e.g. due to capacity limits. -
SSE_SERVER_INTERNAL_ERROR
Indicates an internalSseServererror 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
-