Home
last modified time | relevance | path

Searched refs:HttpTokens (Results 1 – 4 of 4) sorted by relevance

/external/jetty/src/java/org/eclipse/jetty/http/
DHttpParser.java163 return _contentLength==HttpTokens.CHUNKED_CONTENT; in isChunking()
353 if (_eol == HttpTokens.CARRIAGE_RETURN) in parseNext()
355 if (ch == HttpTokens.LINE_FEED) in parseNext()
357 _eol=HttpTokens.LINE_FEED; in parseNext()
367 _contentLength=HttpTokens.UNKNOWN_CONTENT; in parseNext()
369 if (ch > HttpTokens.SPACE || ch<0) in parseNext()
377 if (ch == HttpTokens.SPACE) in parseNext()
384 else if (ch < HttpTokens.SPACE && ch>=0) in parseNext()
391 if (ch > HttpTokens.SPACE || ch<0) in parseNext()
402 else if (ch < HttpTokens.SPACE) in parseNext()
[all …]
DHttpGenerator.java73 bytes[versionLength+5+reason.length()]=HttpTokens.CARRIAGE_RETURN;
74 bytes[versionLength+6+reason.length()]=HttpTokens.LINE_FEED;
198 nc.put(HttpTokens.CRLF);
200 nc.put(HttpTokens.CRLF);
297 return _buffer.space()-(_contentLength == HttpTokens.CHUNKED_CONTENT?CHUNK_SPACE:0); in prepareUncheckedAddContent()
305 …return super.isBufferFull() || _bufferChunked || _bypass || (_contentLength == HttpTokens.CHUNKED… in isBufferFull()
325 _header.put(HttpTokens.CRLF); in send1xx()
389 _contentLength = HttpTokens.NO_CONTENT; in completeHeader()
393 _header.put(HttpTokens.CRLF); in completeHeader()
405 _header.put(HttpTokens.CRLF); in completeHeader()
[all …]
DAbstractGenerator.java67 protected long _contentLength = HttpTokens.UNKNOWN_CONTENT;
119 _contentLength = HttpTokens.UNKNOWN_CONTENT; in reset()
151 _contentLength = HttpTokens.UNKNOWN_CONTENT; in resetBuffer()
246 _contentLength=HttpTokens.UNKNOWN_CONTENT; in setContentLength()
DHttpTokens.java24 public interface HttpTokens interface