Home
last modified time | relevance | path

Searched refs:HttpVersions (Results 1 – 9 of 9) sorted by relevance

/external/jetty/src/java/org/eclipse/jetty/http/
DHttpGenerator.java56 int versionLength=HttpVersions.HTTP_1_1_BUFFER.length();
65 HttpVersions.HTTP_1_1_BUFFER.peek(0,bytes, 0, versionLength);
387 if (_version == HttpVersions.HTTP_0_9_ORDINAL) in completeHeader()
404 …_header.put(_version==HttpVersions.HTTP_1_0_ORDINAL?HttpVersions.HTTP_1_0_BUFFER:HttpVersions.HTTP… in completeHeader()
411 if (_version == HttpVersions.HTTP_0_9_ORDINAL) in completeHeader()
421 _persistent= (_version > HttpVersions.HTTP_1_0_ORDINAL); in completeHeader()
428 _header.put(HttpVersions.HTTP_1_1_BUFFER); in completeHeader()
530 if (_version == HttpVersions.HTTP_1_1_ORDINAL) in completeHeader()
563 if (_version == HttpVersions.HTTP_1_0_ORDINAL) in completeHeader()
611 if (_version == HttpVersions.HTTP_1_0_ORDINAL) in completeHeader()
[all …]
DAbstractGenerator.java61 protected int _version = HttpVersions.HTTP_1_1_ORDINAL;
112 _version = HttpVersions.HTTP_1_1_ORDINAL; in reset()
269 :(isRequest()?true:_version>HttpVersions.HTTP_1_0_ORDINAL); in isPersistent()
288 if (_version==HttpVersions.HTTP_0_9_ORDINAL && _method!=null) in setVersion()
317 if (_version==HttpVersions.HTTP_0_9_ORDINAL) in setRequest()
DHttpVersions.java29 public class HttpVersions class
DHttpParser.java380 _responseStatus=HttpVersions.CACHE.get(_tok0)==null?-1:0; in parseNext()
489 …_handler.startResponse(version=HttpVersions.CACHE.lookup(_tok0), _responseStatus,_buffer.sliceFrom… in parseNext()
491 …_handler.startRequest(HttpMethods.CACHE.lookup(_tok0), _tok1, version=HttpVersions.CACHE.lookup(_b… in parseNext()
493 … _persistent=HttpVersions.CACHE.getOrdinal(version)>=HttpVersions.HTTP_1_1_ORDINAL; in parseNext()
/external/jetty/src/java/org/eclipse/jetty/server/
DAbstractHttpConnection.java46 import org.eclipse.jetty.http.HttpVersions;
811 _request.setProtocol(HttpVersions.HTTP_0_9); in startRequest()
812 _version=HttpVersions.HTTP_0_9_ORDINAL; in startRequest()
816 version= HttpVersions.CACHE.get(version); in startRequest()
819 _version = HttpVersions.CACHE.getOrdinal(version); in startRequest()
820 if (_version <= 0) _version = HttpVersions.HTTP_1_0_ORDINAL; in startRequest()
845 if (_version>=HttpVersions.HTTP_1_1_ORDINAL) in parsedHeader()
912 case HttpVersions.HTTP_0_9_ORDINAL: in headerComplete()
914 case HttpVersions.HTTP_1_0_ORDINAL: in headerComplete()
931 case HttpVersions.HTTP_1_1_ORDINAL: in headerComplete()
DRequest.java72 import org.eclipse.jetty.http.HttpVersions;
205 private String _protocol = HttpVersions.HTTP_1_1;
1504 _protocol = HttpVersions.HTTP_1_1; in recycle()
DResponse.java45 import org.eclipse.jetty.http.HttpVersions;
1100 … if (HttpVersions.HTTP_1_0.equalsIgnoreCase(_connection.getRequest().getProtocol())) in reset()
/external/jetty/src/java/org/eclipse/jetty/client/
DAbstractHttpConnection.java35 import org.eclipse.jetty.http.HttpVersions;
216 if (_exchange.getVersion() >= HttpVersions.HTTP_1_1_ORDINAL) in commitRequest()
294 _http11 = HttpVersions.HTTP_1_1_BUFFER.equals(version); in startResponse()
DHttpExchange.java32 import org.eclipse.jetty.http.HttpVersions;
99 private int _version = HttpVersions.HTTP_1_1_ORDINAL;
512 CachedBuffer v = HttpVersions.CACHE.get(version); in setVersion()