Package io.kroxylicious.proxy.filter
Interface RequestFilterResult
- All Superinterfaces:
FilterResult
A specialization of the
A request filter may, rather than forwarding a request towards the broker, opt to send a response towards the client instead. This is called a short circuit response. It is useful for implementing validating filters.
FilterResult for request filters.
A request filter may, rather than forwarding a request towards the broker, opt to send a response towards the client instead. This is called a short circuit response. It is useful for implementing validating filters.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIf true, the request is carrying a short circuit response.Methods inherited from interface io.kroxylicious.proxy.filter.FilterResult
closeConnection, drop, header, message
-
Method Details
-
shortCircuitResponse
boolean shortCircuitResponse()If true, the request is carrying a short circuit response.- Returns:
- true if carrying a short circuit response.
-