Package io.micronaut.http.server.util
Class DefaultHttpClientAddressResolver
java.lang.Object
io.micronaut.http.server.util.DefaultHttpClientAddressResolver
- All Implemented Interfaces:
HttpClientAddressResolver
@Singleton
public class DefaultHttpClientAddressResolver
extends Object
implements HttpClientAddressResolver
Default implementation of
HttpClientAddressResolver
.- Since:
- 1.2.0
- Author:
- James Kleeh
-
Constructor Summary
ConstructorDescriptionDefaultHttpClientAddressResolver
(HttpServerConfiguration serverConfiguration) -
Method Summary
-
Constructor Details
-
DefaultHttpClientAddressResolver
- Parameters:
serverConfiguration
- The server configuration
-
-
Method Details
-
resolve
- Specified by:
resolve
in interfaceHttpClientAddressResolver
- Parameters:
request
- The current request- Returns:
- The client address
-