Interface ConnectionHeadersFilterLayer.Listener
- Enclosing class:
- ConnectionHeadersFilterLayer
public static interface ConnectionHeadersFilterLayer.Listener
A listener for the connection headers.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onReceiveHeaders
(Map<String, String> headers) Validate the supplied connection headers from the remote end.
-
Method Details
-
onReceiveHeaders
Validate the supplied connection headers from the remote end.- Parameters:
headers
- the remote headers- Throws:
ConnectionRefusalException
- if the remote headers are refuseded.
-