HomeSort by relevance Sort by last modified time
    Searched full:protocolversion (Results 1 - 25 of 133) sorted by null

1 2 3 4 5 6

  /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
29 assertEquals(ProtocolVersion.getByVersion(new byte[] { 3, 0 }),
30 ProtocolVersion.getByName("SSLv3"));
31 assertEquals(ProtocolVersion.getByVersion(new byte[] { 3, 1 }),
32 ProtocolVersion.getByName("TLSv1"));
33 assertFalse(ProtocolVersion.getByVersion(new byte[] { 3, 0 }).equals(
34 ProtocolVersion.getByName("TLSv1")));
42 assertTrue(ProtocolVersion.isSupported(new byte[] { 3, 0 }));
43 assertTrue(ProtocolVersion.isSupported(new byte[] { 3, 1 }))
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
StatusLineStub.java 3 import org.apache.http.ProtocolVersion;
7 @Override public ProtocolVersion 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/params/
HttpProtocolParams.java 35 import org.apache.http.ProtocolVersion;
124 * Returns {@link ProtocolVersion protocol version} to be used per default.
126 * @return {@link ProtocolVersion protocol version}
128 public static ProtocolVersion getVersion(final HttpParams params) {
137 return (ProtocolVersion)param;
141 * Assigns the {@link ProtocolVersion protocol version} to be used by the
144 * @param version the {@link ProtocolVersion protocol version}
146 public static void setVersion(final HttpParams params, final ProtocolVersion version) {
  /packages/apps/Exchange/tests/src/com/android/exchange/eas/
EasProvisionTests.java 50 final double protocolVersion = Eas.SUPPORTED_PROTOCOL_EX2007_DOUBLE;
64 mContext, userAgent, policyKey, policyType, status, phase, protocolVersion);
80 final double protocolVersion = Eas.SUPPORTED_PROTOCOL_EX2010_SP1_DOUBLE;
95 mContext, userAgent, policyKey, policyType, status, phase, protocolVersion);
111 final double protocolVersion = Eas.SUPPORTED_PROTOCOL_EX2007_DOUBLE;
123 mContext, userAgent, policyKey, policyType, status, phase, protocolVersion);
139 final double protocolVersion = Eas.SUPPORTED_PROTOCOL_EX2007_DOUBLE;
155 mContext, userAgent, policyKey, policyType, status, phase, protocolVersion);
  /packages/apps/Exchange/src/com/android/exchange/eas/
EasSyncCollectionTypeBase.java 39 * @param protocolVersion
47 final double protocolVersion, final Account account, final Mailbox mailbox,
75 * @param protocolVersion The EAS protocol version for this request, as a double.
80 final double protocolVersion, int windowSize) throws IOException {
90 if (protocolVersion >= Eas.SUPPORTED_PROTOCOL_EX2007_DOUBLE) {
  /external/apache-http/src/org/apache/http/
ProtocolVersion.java 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/ProtocolVersion.java $
61 public class ProtocolVersion implements Serializable, Cloneable {
83 public ProtocolVersion(String protocol, int major, int minor) {
135 * if the version matches, and creates a new {@link ProtocolVersion}
144 public ProtocolVersion forVersion(int major, int minor) {
151 return new ProtocolVersion(this.protocol, major, minor);
182 if (!(obj instanceof ProtocolVersion)) {
185 ProtocolVersion that = (ProtocolVersion) obj;
203 public boolean isComparable(ProtocolVersion that)
    [all...]
HttpResponse.java 79 void setStatusLine(ProtocolVersion ver, int code);
88 void setStatusLine(ProtocolVersion ver, int code, String reason);
106 * @see #setStatusLine(ProtocolVersion,int)
123 * @see #setStatusLine(ProtocolVersion,int)
  /external/nist-sip/java/gov/nist/javax/sip/header/
Protocol.java 54 /** protocolVersion field
56 protected String protocolVersion;
73 .append(protocolVersion)
91 return protocolVersion;
101 return protocolName + '/' + protocolVersion;
108 this.protocolVersion = name_and_version.substring( slash+1 );
128 * Set the protocolVersion member
132 protocolVersion = p;
148 protocolVersion = "2.0";
  /external/apache-http/src/org/apache/http/message/
BasicRequestLine.java 34 import org.apache.http.ProtocolVersion;
57 private final ProtocolVersion protoversion;
63 final ProtocolVersion version) {
86 public ProtocolVersion getProtocolVersion() {
BasicHttpResponse.java 38 import org.apache.http.ProtocolVersion;
111 public BasicHttpResponse(final ProtocolVersion ver,
119 public ProtocolVersion getProtocolVersion() {
147 public void setStatusLine(final ProtocolVersion ver, final int code) {
153 public void setStatusLine(final ProtocolVersion ver, final int code,
162 ProtocolVersion ver = this.statusline.getProtocolVersion();
BasicHttpRequest.java 35 import org.apache.http.ProtocolVersion;
72 public BasicHttpRequest(final String method, final String uri, final ProtocolVersion ver) {
86 public ProtocolVersion getProtocolVersion() {
98 ProtocolVersion ver = HttpProtocolParams.getVersion(getParams());
BasicStatusLine.java 35 import org.apache.http.ProtocolVersion;
63 private final ProtocolVersion protoVersion;
80 public BasicStatusLine(final ProtocolVersion version, int statusCode,
108 public ProtocolVersion getProtocolVersion() {