Deprecated
This handler is deprecated, the same functionality is achieved by using the
server option ALWAYS_SET_DATE.
It is enabled by default.
| Modifier and Type | Field and Description |
|---|---|
| private volatile String | |
| private final HttpHandler | |
| private volatile long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | handleRequest(final HttpServerExchange
the HTTP request/response exchange exchange)Implements io. Handle the request. |
| cachedDateString | back to summary |
|---|---|
| private volatile String cachedDateString | |
| next | back to summary |
|---|---|
| private final HttpHandler next | |
| nextUpdateTime | back to summary |
|---|---|
| private volatile long nextUpdateTime | |
| DateHandler | back to summary |
|---|---|
| public DateHandler(final HttpHandler next) | |
| handleRequest | back to summary |
|---|---|
| public void handleRequest(final HttpServerExchange exchange) throws Exception Implements io. Doc from io. Handle the request.
| |