Home | History | Annotate | Download | only in http

Lines Matching refs:major

64      * @param major   the major version number of the HTTP protocol
67 * @throws IllegalArgumentException if either major or minor version number is negative
69 public HttpVersion(int major, int minor) {
70 super(HTTP, major, minor);
77 * @param major the major version
82 public ProtocolVersion forVersion(int major, int minor) {
84 if ((major == this.major) && (minor == this.minor)) {
88 if (major == 1) {
96 if ((major == 0) && (minor == 9)) {
101 return new HttpVersion(major, minor);