Package org.mockserver.netty.proxy
Interface TransparentProxyHandler.OriginalDestinationResolver
- All Known Implementing Classes:
CompositeOriginalDestinationResolver,ConntrackOriginalDestinationResolver,DnsIntentOriginalDestinationResolver,EbpfOriginalDestinationResolver,SoOriginalDstResolver,TproxyOriginalDestinationResolver
- Enclosing class:
- TransparentProxyHandler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Strategy interface for resolving the original destination. Allows
the helper to be replaced in tests without touching real sockets.
-
Method Summary
-
Method Details
-
resolve
- Parameters:
channel- the accepted Netty channel- Returns:
- the original destination, or null if unavailable
- Throws:
UnsupportedOperationException- on unsupported platforms
-