Package io.micronaut.http.server.util
Interface HttpHostResolver
-
- All Known Implementing Classes:
DefaultHttpHostResolver
@DefaultImplementation(DefaultHttpHostResolver.class) public interface HttpHostResolver
Resolves the host name of the current server.- Since:
- 1.2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Stringresolve(io.micronaut.http.HttpRequest request)Returns the host of the current server with protocol, host name, and an optional port.
-