Home | History | Annotate | Download | only in http

Lines Matching refs:protocol

3 import com.squareup.okhttp.Protocol;
15 public final Protocol protocol;
19 public StatusLine(Protocol protocol, int code, String message) {
20 this.protocol = protocol;
26 return new StatusLine(response.protocol(), response.code(), response.message());
33 // Parse protocol like "HTTP/1.1" followed by a space.
35 Protocol protocol;
43 protocol = Protocol.HTTP_1_0;
45 protocol = Protocol.HTTP_1_1;
51 protocol = Protocol.HTTP_1_0;
78 return new StatusLine(protocol, code, message);
83 result.append(protocol == Protocol.HTTP_1_0 ? "HTTP/1.0" : "HTTP/1.1");