Top Description Methods
org.xnio.http

public Interface ExtendedHandshakeChecker

Imports
java.io.IOException, java.util.List, .Map

A class that can decide if a HTTP upgrade handshake is valid. If not it should throw an java.io.IOException

Method Summary

Modifier and TypeMethod and Description
public void
checkHandshakeExtended(final Map<String, List<String>>
The response headers, keyed by lowercase name
headers
)

Checks a handshake, and throws an exception if it is invalid

Method Detail

checkHandshakeExtendedback to summary
public void checkHandshakeExtended(final Map<String, List<String>> headers) throws IOException

Checks a handshake, and throws an exception if it is invalid

Parameters
headers:Map<String, List<String>>

The response headers, keyed by lowercase name

Exceptions
IOException:
If the handshake is not valid