Package io.micronaut.http.server.util
@NullMarked
package io.micronaut.http.server.util
Utilities used in the context of an HTTP server.
-
ClassDescriptionDefault implementation of
HttpClientAddressResolver.Default implementation ofHttpHostResolver.Resolves the client IP address from the request.Produces the value of theDateresponse header (RFC 1123, GMT).Resolves the host name of the current server.Caches a string that is a pure function of the wall clock truncated to whole seconds, so that callers on many threads that need the same value within the same second only compute it once.Responsible for parsing and returning the information stored in the standard and de facto standard proxy headers.