Home | History | Annotate | Download | only in io

Lines Matching refs:protocol

25 import com.squareup.okhttp.Protocol;
79 private Protocol protocol;
94 if (protocol != null) throw new IllegalStateException("already connected");
107 while (protocol == null) {
121 protocol = null;
151 protocol = Protocol.HTTP_1_1;
155 if (protocol == Protocol.SPDY_3 || protocol == Protocol.HTTP_2) {
160 .protocol(protocol)
212 // Success! Save the handshake and the ALPN protocol.
220 protocol = maybeProtocol != null
221 ? Protocol.get(maybeProtocol)
222 : Protocol.HTTP_1_1;
323 return protocol != null;
390 @Override public Protocol getProtocol() {
391 return protocol != null ? protocol : Protocol.HTTP_1_1;
403 + " protocol="
404 + protocol