Package io.micronaut.http.server.util
Interface HttpHostResolver
- All Known Implementing Classes:
DefaultHttpHostResolver
Resolves the host name of the current server.
- Since:
- 1.2.0
- Author:
- Sergio del Amo
-
Method Summary
Modifier and TypeMethodDescriptionresolve
(@Nullable HttpRequest request) Returns the host of the current server with protocol, host name, and an optional port.
-
Method Details
-
resolve
Returns the host of the current server with protocol, host name, and an optional port.- Parameters:
request
- The current request- Returns:
- The host information
-