Package io.kroxylicious.proxy.router
Interface CloseStage
- All Known Subinterfaces:
CloseOrTerminalStage
public interface CloseStage
Stage of the
RouterContext builder API that allows
requesting that the client connection be closed.-
Method Summary
Modifier and TypeMethodDescriptionSignals that the client connection should be closed after the result is delivered.
-
Method Details
-
withCloseConnection
TerminalStage withCloseConnection()Signals that the client connection should be closed after the result is delivered.- Returns:
- the terminal stage
-