Home
last modified time | relevance | path

Searched refs:rsv (Results 1 – 6 of 6) sorted by relevance

/unit/src/java/nginx/unit/websocket/
H A DMessagePart.java25 private final int rsv; field in MessagePart
32 public MessagePart( boolean fin, int rsv, byte opCode, ByteBuffer payload, in MessagePart() argument
36 this.rsv = rsv; in MessagePart()
51 return rsv; in getRsv()
H A DPerMessageDeflate.java179 public TransformationResult getMoreData(byte opCode, boolean fin, int rsv, ByteBuffer dest) in getMoreData() argument
184 return next.getMoreData(opCode, fin, rsv, dest); in getMoreData()
189 skipDecompression = (rsv & RSV_BITMASK) == 0; in getMoreData()
194 return next.getMoreData(opCode, fin, rsv, dest); in getMoreData()
214 next.getMoreData(opCode, fin, (rsv ^ RSV_BITMASK), readBuffer); in getMoreData()
243 public boolean validateRsv(int rsv, byte opCode) { in validateRsv() argument
245 if ((rsv & RSV_BITMASK) != 0) { in validateRsv()
251 return next.validateRsv(rsv, opCode); in validateRsv()
255 int rsvNext = rsv; in validateRsv()
256 if ((rsv & RSV_BITMASK) != 0) { in validateRsv()
[all …]
H A DTransformation.java76 …TransformationResult getMoreData(byte opCode, boolean fin, int rsv, ByteBuffer dest) throws IOExce… in getMoreData() argument
91 boolean validateRsv(int rsv, byte opCode); in validateRsv() argument
H A DWsFrameBase.java77 private int rsv = 0; field in WsFrameBase
151 rsv = (b & 0x70) >>> 4; in processInitialHeader()
153 if (!transformation.validateRsv(rsv, opCode)) { in processInitialHeader()
224 Integer.toString(rsv), Integer.toString(opCode), Long.toString(payloadLength))); in processInitialHeader()
308 TransformationResult tr = transformation.getMoreData(opCode, fin, rsv, controlBufferBinary); in processDataControl()
447 tr = transformation.getMoreData(opCode, fin, rsv, messageBufferBinary); in processDataText()
528 tr = transformation.getMoreData(opCode, fin, rsv, messageBufferBinary); in processDataBinary()
920 public boolean validateRsv(int rsv, byte opCode) { in validateRsv() argument
921 return rsv == 0; in validateRsv()
938 public TransformationResult getMoreData(byte opCode, boolean fin, int rsv, in getMoreData() argument
[all …]
H A DWsRemoteEndpointImplBase.java691 int rsv, byte opCode, boolean masked, ByteBuffer payload, in writeHeader() argument
701 b += (rsv << 4); in writeHeader()
H A DLocalStrings.properties72 wsFrame.partialHeaderComplete=WebSocket frame received. fin [{0}], rsv [{1}], OpCode [{2}], payload…