Interface ConnectionHeadersFilterLayer.Listener
-
- Enclosing class:
- ConnectionHeadersFilterLayer
public static interface ConnectionHeadersFilterLayer.Listener
A listener for the connection headers.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onReceiveHeaders(Map<String,String> headers)
Validate the supplied connection headers from the remote end.
-
-
-
Method Detail
-
onReceiveHeaders
void onReceiveHeaders(Map<String,String> headers) throws ConnectionRefusalException
Validate the supplied connection headers from the remote end.- Parameters:
headers
- the remote headers- Throws:
ConnectionRefusalException
- if the remote headers are refuseded.
-
-