Searched refs:ProtocolVersion (Results 1 – 25 of 40) sorted by relevance
12
20 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 …]
56 public class ProtocolVersion implements Serializable, Cloneable { class78 public ProtocolVersion(String protocol, int major, int minor) { in ProtocolVersion() method in ProtocolVersion139 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()
74 void setStatusLine(ProtocolVersion ver, int code); in setStatusLine()83 void setStatusLine(ProtocolVersion ver, int code, String reason); in setStatusLine()
43 public final class HttpVersion extends ProtocolVersion82 public ProtocolVersion forVersion(int major, int minor) { in forVersion()
38 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()
35 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()
34 import org.apache.http.ProtocolVersion;52 private final ProtocolVersion protoversion;58 final ProtocolVersion version) { in BasicRequestLine()81 public ProtocolVersion getProtocolVersion() { in getProtocolVersion()
35 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()
35 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()
35 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()
35 import org.apache.http.ProtocolVersion;94 ProtocolVersion version) in appendProtocolVersion()
35 import org.apache.http.ProtocolVersion;75 ProtocolVersion parseProtocolVersion( in parseProtocolVersion()
37 import org.apache.http.ProtocolVersion;60 final ProtocolVersion ver) { in BasicHttpEntityEnclosingRequest()
39 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()
35 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()
68 enum ProtocolVersion { enum76 ProtocolVersion version, in Request()92 ProtocolVersion version() const { return version_; } in version()115 ProtocolVersion version_;
39 import org.apache.http.ProtocolVersion;77 public ProtocolVersion getProtocolVersion() { in getProtocolVersion()87 ProtocolVersion ver = getProtocolVersion(); in getRequestLine()
42 import org.apache.http.ProtocolVersion;69 ProtocolVersion ver = request.getRequestLine().getProtocolVersion(); in process()
44 import org.apache.http.ProtocolVersion;86 ProtocolVersion ver = request.getRequestLine().getProtocolVersion(); in process()
42 import org.apache.http.ProtocolVersion;72 ProtocolVersion ver = request.getRequestLine().getProtocolVersion(); in process()
42 import org.apache.http.ProtocolVersion;72 ProtocolVersion ver = response.getStatusLine().getProtocolVersion(); in process()
44 import org.apache.http.ProtocolVersion;86 ProtocolVersion ver = response.getStatusLine().getProtocolVersion(); in process()
38 import org.apache.http.ProtocolVersion;85 public HttpResponse newHttpResponse(final ProtocolVersion ver, in newHttpResponse()
41 import org.apache.http.ProtocolVersion;99 ProtocolVersion ver = response.getStatusLine().getProtocolVersion(); in keepAlive()
39 public const string ProtocolVersion = "2"; field in Antlr.Runtime.Debug.DebugEventListenerConstants