| Modifier and Type | Field and Description |
|---|---|
| private final AccessLogAppender | |
| private static final String | |
| public static final int | DEFAULT_STATUS_THRESHOLD
The minimum response status that will trigger an entry in an access log configured by this instance (default, log everything). |
| private final AccessLogFormat | |
| private static final Logger | |
| private final int |
| Access | Constructor and Description |
|---|---|
| public | AccessLogProbe(AccessLogAppender appender, AccessLogFormat format)
Create a new |
| public | AccessLogProbe(AccessLogAppender appender, AccessLogFormat format, int statusThreshold)
Create a new |
| Modifier and Type | Method and Description |
|---|---|
| public void | onRequestCompleteEvent(HttpServerFilter filter, Connection<L> connection, Response response)
Overrides org. Implements org. Receive notification of the completion of a |
| public void | onRequestReceiveEvent(HttpServerFilter filter, Connection<L> connection, Request request)
Overrides org. Implements org. Instrument the specified |
| appender | back to summary |
|---|---|
| private final AccessLogAppender appender | |
| ATTRIBUTE_TIME_STAMP | back to summary |
|---|---|
| private static final String ATTRIBUTE_TIME_STAMP | |
| DEFAULT_STATUS_THRESHOLD | back to summary |
|---|---|
| public static final int DEFAULT_STATUS_THRESHOLD The minimum response status that will trigger an entry in an access log configured by this instance (default, log everything). | |
| format | back to summary |
|---|---|
| private final AccessLogFormat format | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| statusThreshold | back to summary |
|---|---|
| private final int statusThreshold | |
| AccessLogProbe | back to summary |
|---|---|
| public AccessLogProbe(AccessLogAppender appender, AccessLogFormat format) Create a new | |
| AccessLogProbe | back to summary |
|---|---|
| public AccessLogProbe(AccessLogAppender appender, AccessLogFormat format, int statusThreshold) Create a new
Only responses with status over the specified threshold will be logged, for example a threshold of
| |
| onRequestCompleteEvent | back to summary |
|---|---|
| public void onRequestCompleteEvent(HttpServerFilter filter, Connection<L> connection, Response response) Overrides org. Implements org. Receive notification of the completion of a
| |
| onRequestReceiveEvent | back to summary |
|---|---|
| public void onRequestReceiveEvent(HttpServerFilter filter, Connection<L> connection, Request request) Overrides org. Implements org. Instrument the specified
| |