/external/apache-harmony/x-net/src/test/impl/java/org/apache/harmony/xnet/tests/provider/jsse/ |
D | ProtocolVersionTest.java | 20 import org.apache.harmony.xnet.provider.jsse.ProtocolVersion; 29 assertEquals(ProtocolVersion.getByVersion(new byte[] { 3, 0 }), in testEquals() 30 ProtocolVersion.getByName("SSLv3")); in testEquals() 31 assertEquals(ProtocolVersion.getByVersion(new byte[] { 3, 1 }), in testEquals() 32 ProtocolVersion.getByName("TLSv1")); in testEquals() 33 assertFalse(ProtocolVersion.getByVersion(new byte[] { 3, 0 }).equals( in testEquals() 34 ProtocolVersion.getByName("TLSv1"))); in testEquals() 42 assertTrue(ProtocolVersion.isSupported(new byte[] { 3, 0 })); in testIsSupportedbyteArray() 43 assertTrue(ProtocolVersion.isSupported(new byte[] { 3, 1 })); in testIsSupportedbyteArray() 44 assertFalse(ProtocolVersion.isSupported(new byte[] { 3, 2 })); in testIsSupportedbyteArray() [all …]
|
/external/apache-http/src/org/apache/http/ |
D | ProtocolVersion.java | 61 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()
|
D | HttpResponse.java | 79 void setStatusLine(ProtocolVersion ver, int code); in setStatusLine() 88 void setStatusLine(ProtocolVersion ver, int code, String reason); in setStatusLine()
|
D | HttpVersion.java | 48 public final class HttpVersion extends ProtocolVersion 87 public ProtocolVersion forVersion(int major, int minor) { in forVersion()
|
/external/apache-http/src/org/apache/http/message/ |
D | BasicHttpResponse.java | 38 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()
|
D | BasicStatusLine.java | 35 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()
|
D | BasicRequestLine.java | 34 import org.apache.http.ProtocolVersion; 57 private final ProtocolVersion protoversion; 63 final ProtocolVersion version) { in BasicRequestLine() 86 public ProtocolVersion getProtocolVersion() { in getProtocolVersion()
|
D | BasicLineParser.java | 35 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()
|
D | BasicHttpRequest.java | 35 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()
|
D | BasicLineFormatter.java | 35 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()
|
D | LineFormatter.java | 35 import org.apache.http.ProtocolVersion; 99 ProtocolVersion version) in appendProtocolVersion()
|
D | LineParser.java | 35 import org.apache.http.ProtocolVersion; 80 ProtocolVersion parseProtocolVersion( in parseProtocolVersion()
|
D | BasicHttpEntityEnclosingRequest.java | 37 import org.apache.http.ProtocolVersion; 65 final ProtocolVersion ver) { in BasicHttpEntityEnclosingRequest()
|
/external/apache-http/src/org/apache/http/impl/client/ |
D | RequestWrapper.java | 39 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/ |
D | HttpProtocolParams.java | 35 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/v1/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/ |
D | HttpResponseStub.java | 7 import org.apache.http.ProtocolVersion; 23 @Override public void setStatusLine(ProtocolVersion protocolVersion, int i) { in setStatusLine() 27 @Override public void setStatusLine(ProtocolVersion protocolVersion, int i, String s) { in setStatusLine() 55 @Override public ProtocolVersion getProtocolVersion() { in getProtocolVersion()
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | StatusLineStub.java | 3 import org.apache.http.ProtocolVersion; 7 @Override public ProtocolVersion getProtocolVersion() { in getProtocolVersion()
|
/external/apache-http/src/org/apache/http/client/methods/ |
D | HttpRequestBase.java | 39 import org.apache.http.ProtocolVersion; 82 public ProtocolVersion getProtocolVersion() { in getProtocolVersion() 92 ProtocolVersion ver = getProtocolVersion(); in getRequestLine()
|
/external/apache-http/src/org/apache/http/protocol/ |
D | RequestExpectContinue.java | 42 import org.apache.http.ProtocolVersion; 74 ProtocolVersion ver = request.getRequestLine().getProtocolVersion(); in process()
|
D | RequestTargetHost.java | 44 import org.apache.http.ProtocolVersion; 91 ProtocolVersion ver = request.getRequestLine().getProtocolVersion(); in process()
|
D | RequestContent.java | 42 import org.apache.http.ProtocolVersion; 77 ProtocolVersion ver = request.getRequestLine().getProtocolVersion(); in process()
|
D | ResponseConnControl.java | 44 import org.apache.http.ProtocolVersion; 91 ProtocolVersion ver = response.getStatusLine().getProtocolVersion(); in process()
|
D | ResponseContent.java | 42 import org.apache.http.ProtocolVersion; 77 ProtocolVersion ver = response.getStatusLine().getProtocolVersion(); in process()
|
/external/apache-http/src/org/apache/http/impl/ |
D | DefaultHttpResponseFactory.java | 38 import org.apache.http.ProtocolVersion; 90 public HttpResponse newHttpResponse(final ProtocolVersion ver, in newHttpResponse()
|
D | DefaultConnectionReuseStrategy.java | 41 import org.apache.http.ProtocolVersion; 104 ProtocolVersion ver = response.getStatusLine().getProtocolVersion(); in keepAlive()
|