MCPcopy Create free account
hub / github.com/apache/tomcat / skipLWS

Method skipLWS

java/org/apache/tomcat/util/http/parser/Cookie.java:162–170  ·  view source on GitHub ↗
(ByteBuffer bb)

Source from the content-addressed store, hash-verified

160
161
162 private static void skipLWS(ByteBuffer bb) {
163 while (bb.hasRemaining()) {
164 byte b = bb.get();
165 if (b != TAB_BYTE && b != SPACE_BYTE) {
166 bb.rewind();
167 break;
168 }
169 }
170 }
171
172
173 private static void skipUntilSemiColon(ByteBuffer bb) {

Callers 1

parseCookieMethod · 0.95

Calls 3

hasRemainingMethod · 0.80
rewindMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected