Lines Matching refs:major
69 * @param major the major version number of the HTTP protocol
72 * @throws IllegalArgumentException if either major or minor version number is negative
74 public HttpVersion(int major, int minor) {
75 super(HTTP, major, minor);
82 * @param major the major version
87 public ProtocolVersion forVersion(int major, int minor) {
89 if ((major == this.major) && (minor == this.minor)) {
93 if (major == 1) {
101 if ((major == 0) && (minor == 9)) {
106 return new HttpVersion(major, minor);