Home | History | Annotate | Download | only in http

Lines Matching refs:major

47  * protocol name, major version number, and minor version number.
64 /** Major version number of the protocol */
65 protected final int major;
75 * @param major the major version number of the protocol
78 public ProtocolVersion(String protocol, int major, int minor) {
83 if (major < 0) {
85 ("Protocol major version number must not be negative.");
92 this.major = major;
106 * Returns the major version number of the protocol.
108 * @return the major version number.
111 return major;
133 * @param major the major version
139 public ProtocolVersion forVersion(int major, int minor) {
141 if ((major == this.major) && (minor == this.minor)) {
146 return new ProtocolVersion(this.protocol, major, minor);
156 return this.protocol.hashCode() ^ (this.major * 100000) ^ this.minor;
163 * protocol name, major version number, and minor version number.
183 (this.major == that.major) &&
277 buffer.append(Integer.toString(this.major));