Home
last modified time | relevance | path

Searched refs:ProtocolVersion (Results 1 – 25 of 55) sorted by relevance

123

/external/apache-http/src/org/apache/http/
DProtocolVersion.java61 public class ProtocolVersion implements Serializable, Cloneable { class
83 public ProtocolVersion(String protocol, int major, int minor) { in ProtocolVersion() method in ProtocolVersion
144 public ProtocolVersion forVersion(int major, int minor) { in forVersion()
151 return new ProtocolVersion(this.protocol, major, minor); in forVersion()
182 if (!(obj instanceof ProtocolVersion)) { in equals()
185 ProtocolVersion that = (ProtocolVersion) obj; in equals()
203 public boolean isComparable(ProtocolVersion that) { in isComparable()
224 public int compareToVersion(ProtocolVersion that) { in compareToVersion()
253 public final boolean greaterEquals(ProtocolVersion version) { in greaterEquals()
268 public final boolean lessEquals(ProtocolVersion version) { in lessEquals()
DHttpResponse.java79 void setStatusLine(ProtocolVersion ver, int code); in setStatusLine()
88 void setStatusLine(ProtocolVersion ver, int code, String reason); in setStatusLine()
DHttpVersion.java48 public final class HttpVersion extends ProtocolVersion
87 public ProtocolVersion forVersion(int major, int minor) { in forVersion()
/external/apache-http/src/org/apache/http/message/
DBasicHttpResponse.java38 import org.apache.http.ProtocolVersion;
111 public BasicHttpResponse(final ProtocolVersion ver, in BasicHttpResponse()
119 public ProtocolVersion getProtocolVersion() { in getProtocolVersion()
147 public void setStatusLine(final ProtocolVersion ver, final int code) { in setStatusLine()
153 public void setStatusLine(final ProtocolVersion ver, final int code, in setStatusLine()
162 ProtocolVersion ver = this.statusline.getProtocolVersion(); in setStatusCode()
DBasicStatusLine.java35 import org.apache.http.ProtocolVersion;
63 private final ProtocolVersion protoVersion;
80 public BasicStatusLine(final ProtocolVersion version, int statusCode, in BasicStatusLine()
108 public ProtocolVersion getProtocolVersion() { in getProtocolVersion()
DBasicRequestLine.java34 import org.apache.http.ProtocolVersion;
57 private final ProtocolVersion protoversion;
63 final ProtocolVersion version) { in BasicRequestLine()
86 public ProtocolVersion getProtocolVersion() { in getProtocolVersion()
DBasicHttpRequest.java35 import org.apache.http.ProtocolVersion;
72 public BasicHttpRequest(final String method, final String uri, final ProtocolVersion ver) { in BasicHttpRequest()
86 public ProtocolVersion getProtocolVersion() { in getProtocolVersion()
98 ProtocolVersion ver = HttpProtocolParams.getVersion(getParams()); in getRequestLine()
DBasicLineParser.java35 import org.apache.http.ProtocolVersion;
85 protected final ProtocolVersion protocol;
95 public BasicLineParser(ProtocolVersion proto) { in BasicLineParser()
113 ProtocolVersion parseProtocolVersion(String value, in parseProtocolVersion()
133 public ProtocolVersion parseProtocolVersion(final CharArrayBuffer buffer, in parseProtocolVersion()
222 protected ProtocolVersion createProtocolVersion(int major, int minor) { in createProtocolVersion()
343 ProtocolVersion ver = parseProtocolVersion(buffer, cursor); in parseRequestLine()
371 final ProtocolVersion ver) { in createRequestLine()
414 ProtocolVersion ver = parseProtocolVersion(buffer, cursor); in parseStatusLine()
460 protected StatusLine createStatusLine(final ProtocolVersion ver, in createStatusLine()
DBasicLineFormatter.java35 import org.apache.http.ProtocolVersion;
114 String formatProtocolVersion(final ProtocolVersion version, in formatProtocolVersion()
124 final ProtocolVersion version) { in appendProtocolVersion()
158 protected int estimateProtocolVersionLen(final ProtocolVersion version) { in estimateProtocolVersionLen()
DLineFormatter.java35 import org.apache.http.ProtocolVersion;
99 ProtocolVersion version) in appendProtocolVersion()
DLineParser.java35 import org.apache.http.ProtocolVersion;
80 ProtocolVersion parseProtocolVersion( in parseProtocolVersion()
DBasicHttpEntityEnclosingRequest.java37 import org.apache.http.ProtocolVersion;
65 final ProtocolVersion ver) { in BasicHttpEntityEnclosingRequest()
/external/apache-http/src/org/apache/http/impl/client/
DRequestWrapper.java39 import org.apache.http.ProtocolVersion;
71 private ProtocolVersion version;
117 public ProtocolVersion getProtocolVersion() { in getProtocolVersion()
125 public void setProtocolVersion(final ProtocolVersion version) { in setProtocolVersion()
140 ProtocolVersion ver = getProtocolVersion(); in getRequestLine()
/external/apache-http/src/org/apache/http/params/
DHttpProtocolParams.java35 import org.apache.http.ProtocolVersion;
128 public static ProtocolVersion getVersion(final HttpParams params) { in getVersion()
137 return (ProtocolVersion)param; in getVersion()
146 public static void setVersion(final HttpParams params, final ProtocolVersion version) { in setVersion()
/external/robolectric-shadows/shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/
DHttpResponseStub.java8 import org.apache.http.ProtocolVersion;
22 @Override public void setStatusLine(ProtocolVersion protocolVersion, int i) { in setStatusLine()
26 @Override public void setStatusLine(ProtocolVersion protocolVersion, int i, String s) { in setStatusLine()
54 @Override public ProtocolVersion getProtocolVersion() { in getProtocolVersion()
DStatusLineStub.java3 import org.apache.http.ProtocolVersion;
7 @Override public ProtocolVersion getProtocolVersion() { in getProtocolVersion()
/external/volley/src/main/java/com/android/volley/toolbox/
DBaseHttpStack.java27 import org.apache.http.ProtocolVersion;
70 ProtocolVersion protocolVersion = new ProtocolVersion("HTTP", 1, 1); in performRequest()
/external/apache-http/src/org/apache/http/client/methods/
DHttpRequestBase.java39 import org.apache.http.ProtocolVersion;
82 public ProtocolVersion getProtocolVersion() { in getProtocolVersion()
92 ProtocolVersion ver = getProtocolVersion(); in getRequestLine()
/external/openscreen/cast/common/channel/
Dvirtual_connection.h45 enum class ProtocolVersion { enum
88 ProtocolVersion max_protocol_version;
/external/apache-http/src/org/apache/http/protocol/
DRequestExpectContinue.java42 import org.apache.http.ProtocolVersion;
74 ProtocolVersion ver = request.getRequestLine().getProtocolVersion(); in process()
DRequestTargetHost.java44 import org.apache.http.ProtocolVersion;
91 ProtocolVersion ver = request.getRequestLine().getProtocolVersion(); in process()
DRequestContent.java42 import org.apache.http.ProtocolVersion;
77 ProtocolVersion ver = request.getRequestLine().getProtocolVersion(); in process()
DResponseContent.java42 import org.apache.http.ProtocolVersion;
77 ProtocolVersion ver = response.getStatusLine().getProtocolVersion(); in process()
DResponseConnControl.java44 import org.apache.http.ProtocolVersion;
91 ProtocolVersion ver = response.getStatusLine().getProtocolVersion(); in process()
/external/apache-http/src/org/apache/http/impl/
DDefaultHttpResponseFactory.java38 import org.apache.http.ProtocolVersion;
90 public HttpResponse newHttpResponse(final ProtocolVersion ver, in newHttpResponse()

123