/external/apache-harmony/x-net/src/test/impl/java/org/apache/harmony/xnet/tests/provider/jsse/ |
ProtocolVersionTest.java | 20 import org.apache.harmony.xnet.provider.jsse.ProtocolVersion; 24 * Tests for <code>ProtocolVersion</code> constructor and methods 30 assertEquals(ProtocolVersion.getByVersion(new byte[] { 3, 0 }), 31 ProtocolVersion.getByName("SSLv3")); 32 assertEquals(ProtocolVersion.getByVersion(new byte[] { 3, 1 }), 33 ProtocolVersion.getByName("TLSv1")); 34 assertFalse(ProtocolVersion.getByVersion(new byte[] { 3, 0 }).equals( 35 ProtocolVersion.getByName("TLSv1"))); 43 assertTrue(ProtocolVersion.isSupported(new byte[] { 3, 0 })); 44 assertTrue(ProtocolVersion.isSupported(new byte[] { 3, 1 })) [all...] |
/libcore/crypto/src/main/java/org/conscrypt/ |
ProtocolVersion.java | 25 public class ProtocolVersion { 32 private static Hashtable<String, ProtocolVersion> protocolsByName = new Hashtable<String, ProtocolVersion>(4); 48 * Returns ProtocolVersion 53 public static ProtocolVersion getByVersion(byte[] version) { 76 * Returns ProtocolVersion 81 public static ProtocolVersion getByName(String name) { 91 public static ProtocolVersion getLatestVersion(String[] protocols) { 95 ProtocolVersion latest = getByName(protocols[0]); 96 ProtocolVersion current [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/ |
DebugEventListenerConstants.cs | 39 public const string ProtocolVersion = "2";
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/ |
DebugEventListenerConstants.cs | 39 public const string ProtocolVersion = "2";
|
/external/apache-http/src/org/apache/http/ |
RequestLine.java | 49 ProtocolVersion getProtocolVersion();
|
StatusLine.java | 49 ProtocolVersion getProtocolVersion();
|
ProtocolVersion.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/ProtocolVersion.java $ 56 public class ProtocolVersion implements Serializable, Cloneable { 78 public ProtocolVersion(String protocol, int major, int minor) { 130 * if the version matches, and creates a new {@link ProtocolVersion} 139 public ProtocolVersion forVersion(int major, int minor) { 146 return new ProtocolVersion(this.protocol, major, minor); 177 if (!(obj instanceof ProtocolVersion)) { 180 ProtocolVersion that = (ProtocolVersion) obj; 198 public boolean isComparable(ProtocolVersion that) [all...] |
HttpResponse.java | 74 void setStatusLine(ProtocolVersion ver, int code); 83 void setStatusLine(ProtocolVersion ver, int code, String reason); 101 * @see #setStatusLine(ProtocolVersion,int) 118 * @see #setStatusLine(ProtocolVersion,int)
|
HttpVersion.java | 43 public final class HttpVersion extends ProtocolVersion 82 public ProtocolVersion forVersion(int major, int minor) {
|
HttpResponseFactory.java | 59 HttpResponse newHttpResponse(ProtocolVersion ver, int status,
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
StatusLineStub.java | 3 import org.apache.http.ProtocolVersion; 7 @Override public ProtocolVersion getProtocolVersion() {
|
/external/apache-http/src/org/apache/http/message/ |
BasicRequestLine.java | 34 import org.apache.http.ProtocolVersion; 52 private final ProtocolVersion protoversion; 58 final ProtocolVersion version) { 81 public ProtocolVersion getProtocolVersion() {
|
BasicStatusLine.java | 35 import org.apache.http.ProtocolVersion; 58 private final ProtocolVersion protoVersion; 75 public BasicStatusLine(final ProtocolVersion version, int statusCode, 103 public ProtocolVersion getProtocolVersion() {
|
LineFormatter.java | 35 import org.apache.http.ProtocolVersion; 94 ProtocolVersion version)
|
BasicHttpRequest.java | 35 import org.apache.http.ProtocolVersion; 67 public BasicHttpRequest(final String method, final String uri, final ProtocolVersion ver) { 81 public ProtocolVersion getProtocolVersion() { 93 ProtocolVersion ver = HttpProtocolParams.getVersion(getParams());
|
BasicHttpResponse.java | 38 import org.apache.http.ProtocolVersion; 106 public BasicHttpResponse(final ProtocolVersion ver, 114 public ProtocolVersion getProtocolVersion() { 142 public void setStatusLine(final ProtocolVersion ver, final int code) { 148 public void setStatusLine(final ProtocolVersion ver, final int code, 157 ProtocolVersion ver = this.statusline.getProtocolVersion();
|
BasicHttpEntityEnclosingRequest.java | 37 import org.apache.http.ProtocolVersion; 60 final ProtocolVersion ver) {
|
LineParser.java | 35 import org.apache.http.ProtocolVersion; 75 ProtocolVersion parseProtocolVersion(
|
/external/apache-http/src/org/apache/http/params/ |
HttpProtocolParams.java | 35 import org.apache.http.ProtocolVersion; 119 * Returns {@link ProtocolVersion protocol version} to be used per default. 121 * @return {@link ProtocolVersion protocol version} 123 public static ProtocolVersion getVersion(final HttpParams params) { 132 return (ProtocolVersion)param; 136 * Assigns the {@link ProtocolVersion protocol version} to be used by the 139 * @param version the {@link ProtocolVersion protocol version} 141 public static void setVersion(final HttpParams params, final ProtocolVersion version) {
|
/external/apache-http/src/org/apache/http/impl/client/ |
RequestWrapper.java | 39 import org.apache.http.ProtocolVersion; 66 private ProtocolVersion version; 112 public ProtocolVersion getProtocolVersion() { 120 public void setProtocolVersion(final ProtocolVersion version) { 135 ProtocolVersion ver = getProtocolVersion();
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/ |
HttpResponseStub.java | 7 import org.apache.http.ProtocolVersion; 23 @Override public void setStatusLine(ProtocolVersion protocolVersion, int i) { 27 @Override public void setStatusLine(ProtocolVersion protocolVersion, int i, String s) { 55 @Override public ProtocolVersion getProtocolVersion() {
|
/external/apache-http/src/org/apache/http/impl/ |
DefaultHttpResponseFactory.java | 38 import org.apache.http.ProtocolVersion; 85 public HttpResponse newHttpResponse(final ProtocolVersion ver,
|
/external/apache-http/src/org/apache/http/protocol/ |
RequestContent.java | 42 import org.apache.http.ProtocolVersion; 72 ProtocolVersion ver = request.getRequestLine().getProtocolVersion();
|
RequestExpectContinue.java | 42 import org.apache.http.ProtocolVersion; 69 ProtocolVersion ver = request.getRequestLine().getProtocolVersion();
|
RequestTargetHost.java | 44 import org.apache.http.ProtocolVersion; 86 ProtocolVersion ver = request.getRequestLine().getProtocolVersion();
|