Package org.glassfish.grizzly.portunif
Interface ProtocolFinder
- All Known Implementing Classes:
HttpProtocolFinder,SSLProtocolFinder
public interface ProtocolFinder
General interface for protocol finders, responsible to figure out, whether incoming bytes belong to the specific
protocol.
- Author:
- Alexey Stashok
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfind(PUContext puContext, FilterChainContext ctx) Method is called fromPUFilterto check whether the incoming bytes belong to the specific protocol.
-
Method Details
-
find
Method is called fromPUFilterto check whether the incoming bytes belong to the specific protocol.- Parameters:
puContext-PUContextctx-FilterChainContext- Returns:
ProtocolFinder.Result
-