Package org.apache.dubbo.remoting.api
Interface ProtocolDetector
- All Known Implementing Classes:
AbstractHttpProtocolDetector
public interface ProtocolDetector
Determine incoming bytes belong to the specific protocol.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
static class
-
Method Summary
Modifier and TypeMethodDescriptiondetect
(ChannelBuffer in) default int
getByteByIndex
(ChannelBuffer buffer, int index) default boolean
prefixMatch
(char[][] prefixes, ChannelBuffer buffer, int length)
-
Method Details
-
detect
-
getByteByIndex
-
prefixMatch
-