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

1 2 3 4 5 6 7

  /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/v1/src/main/java/com/xtremelabs/robolectric/shadows/
StatusLineStub.java 3 import org.apache.http.ProtocolVersion;
7 @Override public ProtocolVersion getProtocolVersion() {
  /external/robolectric/v1/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) {
  /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() {
BasicLineParser.java 35 import org.apache.http.ProtocolVersion;
85 protected final ProtocolVersion protocol;
95 public BasicLineParser(ProtocolVersion proto) {
113 ProtocolVersion parseProtocolVersion(String value,
133 public ProtocolVersion parseProtocolVersion(final CharArrayBuffer buffer,
222 protected ProtocolVersion createProtocolVersion(int major, int minor) {
343 ProtocolVersion ver = parseProtocolVersion(buffer, cursor);
371 final ProtocolVersion ver) {
414 ProtocolVersion ver = parseProtocolVersion(buffer, cursor);
460 protected StatusLine createStatusLine(final ProtocolVersion ver
    [all...]
BasicHttpEntityEnclosingRequest.java 37 import org.apache.http.ProtocolVersion;
65 final ProtocolVersion ver) {
  /external/valgrind/memcheck/tests/
client-msg-as-xml.stderr.exp 5 <protocolversion>4</protocolversion>
long_namespace_xml.stderr.exp 5 <protocolversion>4</protocolversion>
  /external/apache-http/src/org/apache/http/impl/client/
RequestWrapper.java 39 import org.apache.http.ProtocolVersion;
71 private ProtocolVersion version;
117 public ProtocolVersion getProtocolVersion() {
125 public void setProtocolVersion(final ProtocolVersion version) {
140 ProtocolVersion ver = getProtocolVersion();
  /packages/services/Telephony/src/com/android/phone/vvm/omtp/sms/
OmtpStandardMessageSender.java 43 * @param protocolVersion OMTP protocol version.
47 String destinationNumber, String clientType, String protocolVersion,
51 mProtocolVersion = protocolVersion;
  /external/valgrind/drd/tests/
fp_race_xml.stderr.exp 5 <protocolversion>4</protocolversion>
fp_race_xml.stderr.exp-solaris 5 <protocolversion>4</protocolversion>
  /frameworks/volley/src/test/java/com/android/volley/toolbox/
BasicNetworkTest.java 24 import org.apache.http.ProtocolVersion;
44 BasicHttpResponse fakeResponse = new BasicHttpResponse(new ProtocolVersion("HTTP", 1, 1),
  /external/google-tv-pairing-protocol/java/src/com/google/polo/wire/xml/
XmlMessageWrapper.java 72 public XmlMessageWrapper(String recieverId, int protocolVersion,
75 mProtocolVersion = protocolVersion;
139 int protocolVersion = shortBigEndianBytesToInt(readBytes(stream,
146 return new XmlMessageWrapper(receiverId, protocolVersion, createorId,
  /frameworks/volley/src/main/java/com/android/volley/toolbox/
HurlStack.java 27 import org.apache.http.ProtocolVersion;
109 ProtocolVersion protocolVersion = new ProtocolVersion("HTTP", 1, 1);
116 StatusLine responseStatus = new BasicStatusLine(protocolVersion,
  /external/apache-http/src/org/apache/http/protocol/
RequestExpectContinue.java 42 import org.apache.http.ProtocolVersion;
74 ProtocolVersion ver = request.getRequestLine().getProtocolVersion();
  /external/valgrind/exp-sgcheck/tests/
hsg.stderr.exp 5 <protocolversion>4</protocolversion>
  /frameworks/volley/src/test/java/com/android/volley/mock/
MockHttpClient.java 24 import org.apache.http.ProtocolVersion;
59 new ProtocolVersion("HTTP", 1, 1), mStatusCode, "");

Completed in 1244 milliseconds

1 2 3 4 5 6 7