docs/vendor/ruby/2.6.0/gems/http_parser.rb-0.8.0/ext/ruby_http_parser/vendor/http-parser-java/src/impl/http_parser/HTTPParser.java
package http_parser;

import java.nio.ByteBuffer;

public class HTTPParser extends http_parser.lolevel.HTTPParser {
  
  public HTTPParser() { super(); }
  public HTTPParser(ParserType type) { super(type); }

  public int getMajor() {
    return super.http_major;
  }

  public int getMinor() {
    return super.http_minor;
  }

  public int getStatusCode() {
    return super.status_code;
  }

  public HTTPMethod getHTTPMethod() {
    return super.method;
  }

  public boolean getUpgrade() {
    return super.upgrade;
  }
  
  public boolean shouldKeepAlive() {
    return super.http_should_keep_alive();
  }
  public void execute(ParserSettings settings, ByteBuffer data) {
   this.execute(settings.getLoLevelSettings(), data);
  }
} 
