PUProtocol.PUFilter to check whether the incoming
bytes belong to the specific protocol.Filter implementation, which should connect the
custom protocol FilterChain with the main FilterChain.PUProtocols.FilterChainBuilder, developers may use to build there
custom protocol filter chain.ProtocolFinder implementation that parse the available
SocketChannel bytes looking for the 'http' bytes.Connection whose protocol is not recognized
will be automatically closed, or false if normal
FilterChain processing will be continued for such Connection,
so a Filter next to PUFilter may implement custom logic
to process unrecognized connection.ProtocolFinder.FilterChain.ProtocolFinder - FilterChain pair, which
defines the protocol.PUProtocol.Copyright © 2016 Oracle Corporation. All Rights Reserved.