Package org.mockserver.proxy.socks
Class SocksDetector
- java.lang.Object
-
- org.mockserver.proxy.socks.SocksDetector
-
public class SocksDetector extends Object
This class is expected to be used from within aReplayingDecoder, or with enough bytes available. Readable bytes are not checked and so if not enough bytes are supplied, index exceptions will arise.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisSocks4(io.netty.buffer.ByteBuf msg, int actualReadableBytes)static booleanisSocks5(io.netty.buffer.ByteBuf msg, int actualReadableBytes)
-