Home
last modified time | relevance | path

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

12

/external/apache-harmony/x-net/src/test/impl/java/org/apache/harmony/xnet/tests/provider/jsse/
DProtocolVersionTest.java20 import org.apache.harmony.xnet.provider.jsse.ProtocolVersion;
30 assertEquals(ProtocolVersion.getByVersion(new byte[] { 3, 0 }), in testEquals()
31 ProtocolVersion.getByName("SSLv3")); in testEquals()
32 assertEquals(ProtocolVersion.getByVersion(new byte[] { 3, 1 }), in testEquals()
33 ProtocolVersion.getByName("TLSv1")); in testEquals()
34 assertFalse(ProtocolVersion.getByVersion(new byte[] { 3, 0 }).equals( in testEquals()
35 ProtocolVersion.getByName("TLSv1"))); in testEquals()
43 assertTrue(ProtocolVersion.isSupported(new byte[] { 3, 0 })); in testIsSupportedbyteArray()
44 assertTrue(ProtocolVersion.isSupported(new byte[] { 3, 1 })); in testIsSupportedbyteArray()
45 assertFalse(ProtocolVersion.isSupported(new byte[] { 3, 2 })); in testIsSupportedbyteArray()
[all …]
/external/apache-http/src/org/apache/http/
DProtocolVersion.java56 public class ProtocolVersion implements Serializable, Cloneable { class
78 public ProtocolVersion(String protocol, int major, int minor) { in ProtocolVersion() method in ProtocolVersion
139 public ProtocolVersion forVersion(int major, int minor) { in forVersion()
146 return new ProtocolVersion(this.protocol, major, minor); in forVersion()
177 if (!(obj instanceof ProtocolVersion)) { in equals()
180 ProtocolVersion that = (ProtocolVersion) obj; in equals()
198 public boolean isComparable(ProtocolVersion that) { in isComparable()
219 public int compareToVersion(ProtocolVersion that) { in compareToVersion()
248 public final boolean greaterEquals(ProtocolVersion version) { in greaterEquals()
263 public final boolean lessEquals(ProtocolVersion version) { in lessEquals()
DHttpResponse.java74 void setStatusLine(ProtocolVersion ver, int code); in setStatusLine()
83 void setStatusLine(ProtocolVersion ver, int code, String reason); in setStatusLine()
DHttpVersion.java43 public final class HttpVersion extends ProtocolVersion
82 public ProtocolVersion forVersion(int major, int minor) { in forVersion()
/external/apache-http/src/org/apache/http/message/
DBasicHttpResponse.java38 import org.apache.http.ProtocolVersion;
106 public BasicHttpResponse(final ProtocolVersion ver, in BasicHttpResponse()
114 public ProtocolVersion getProtocolVersion() { in getProtocolVersion()
142 public void setStatusLine(final ProtocolVersion ver, final int code) { in setStatusLine()
148 public void setStatusLine(final ProtocolVersion ver, final int code, in setStatusLine()
157 ProtocolVersion ver = this.statusline.getProtocolVersion(); in setStatusCode()
DBasicStatusLine.java35 import org.apache.http.ProtocolVersion;
58 private final ProtocolVersion protoVersion;
75 public BasicStatusLine(final ProtocolVersion version, int statusCode, in BasicStatusLine()
103 public ProtocolVersion getProtocolVersion() { in getProtocolVersion()
DBasicRequestLine.java34 import org.apache.http.ProtocolVersion;
52 private final ProtocolVersion protoversion;
58 final ProtocolVersion version) { in BasicRequestLine()
81 public ProtocolVersion getProtocolVersion() { in getProtocolVersion()
DBasicHttpRequest.java35 import org.apache.http.ProtocolVersion;
67 public BasicHttpRequest(final String method, final String uri, final ProtocolVersion ver) { in BasicHttpRequest()
81 public ProtocolVersion getProtocolVersion() { in getProtocolVersion()
93 ProtocolVersion ver = HttpProtocolParams.getVersion(getParams()); in getRequestLine()
DBasicLineParser.java35 import org.apache.http.ProtocolVersion;
80 protected final ProtocolVersion protocol;
90 public BasicLineParser(ProtocolVersion proto) { in BasicLineParser()
108 ProtocolVersion parseProtocolVersion(String value, in parseProtocolVersion()
128 public ProtocolVersion parseProtocolVersion(final CharArrayBuffer buffer, in parseProtocolVersion()
217 protected ProtocolVersion createProtocolVersion(int major, int minor) { in createProtocolVersion()
338 ProtocolVersion ver = parseProtocolVersion(buffer, cursor); in parseRequestLine()
366 final ProtocolVersion ver) { in createRequestLine()
409 ProtocolVersion ver = parseProtocolVersion(buffer, cursor); in parseStatusLine()
455 protected StatusLine createStatusLine(final ProtocolVersion ver, in createStatusLine()
DBasicLineFormatter.java35 import org.apache.http.ProtocolVersion;
109 String formatProtocolVersion(final ProtocolVersion version, in formatProtocolVersion()
119 final ProtocolVersion version) { in appendProtocolVersion()
153 protected int estimateProtocolVersionLen(final ProtocolVersion version) { in estimateProtocolVersionLen()
DLineFormatter.java35 import org.apache.http.ProtocolVersion;
94 ProtocolVersion version) in appendProtocolVersion()
DLineParser.java35 import org.apache.http.ProtocolVersion;
75 ProtocolVersion parseProtocolVersion( in parseProtocolVersion()
DBasicHttpEntityEnclosingRequest.java37 import org.apache.http.ProtocolVersion;
60 final ProtocolVersion ver) { in BasicHttpEntityEnclosingRequest()
/external/apache-http/src/org/apache/http/impl/client/
DRequestWrapper.java39 import org.apache.http.ProtocolVersion;
66 private ProtocolVersion version;
112 public ProtocolVersion getProtocolVersion() { in getProtocolVersion()
120 public void setProtocolVersion(final ProtocolVersion version) { in setProtocolVersion()
135 ProtocolVersion ver = getProtocolVersion(); in getRequestLine()
/external/apache-http/src/org/apache/http/params/
DHttpProtocolParams.java35 import org.apache.http.ProtocolVersion;
123 public static ProtocolVersion getVersion(final HttpParams params) { in getVersion()
132 return (ProtocolVersion)param; in getVersion()
141 public static void setVersion(final HttpParams params, final ProtocolVersion version) { in setVersion()
/external/chromium/net/websockets/
Dwebsocket.h68 enum ProtocolVersion { enum
76 ProtocolVersion version, in Request()
92 ProtocolVersion version() const { return version_; } in version()
115 ProtocolVersion version_;
/external/apache-http/src/org/apache/http/client/methods/
DHttpRequestBase.java39 import org.apache.http.ProtocolVersion;
77 public ProtocolVersion getProtocolVersion() { in getProtocolVersion()
87 ProtocolVersion ver = getProtocolVersion(); in getRequestLine()
/external/apache-http/src/org/apache/http/protocol/
DRequestExpectContinue.java42 import org.apache.http.ProtocolVersion;
69 ProtocolVersion ver = request.getRequestLine().getProtocolVersion(); in process()
DRequestTargetHost.java44 import org.apache.http.ProtocolVersion;
86 ProtocolVersion ver = request.getRequestLine().getProtocolVersion(); in process()
DRequestContent.java42 import org.apache.http.ProtocolVersion;
72 ProtocolVersion ver = request.getRequestLine().getProtocolVersion(); in process()
DResponseContent.java42 import org.apache.http.ProtocolVersion;
72 ProtocolVersion ver = response.getStatusLine().getProtocolVersion(); in process()
DResponseConnControl.java44 import org.apache.http.ProtocolVersion;
86 ProtocolVersion ver = response.getStatusLine().getProtocolVersion(); in process()
/external/apache-http/src/org/apache/http/impl/
DDefaultHttpResponseFactory.java38 import org.apache.http.ProtocolVersion;
85 public HttpResponse newHttpResponse(final ProtocolVersion ver, in newHttpResponse()
DDefaultConnectionReuseStrategy.java41 import org.apache.http.ProtocolVersion;
99 ProtocolVersion ver = response.getStatusLine().getProtocolVersion(); in keepAlive()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/
DDebugEventListenerConstants.cs39 public const string ProtocolVersion = "2"; field in Antlr.Runtime.Debug.DebugEventListenerConstants

12