Sha256: 133faace0344745624130043883f164bea63ad6dc9fb668bf0aafca89a25ca52

Contents?: true

Size: 739 Bytes

Versions: 29

Compression:

Stored size: 739 Bytes

Contents

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);
  }
} 

Version data entries

29 entries across 29 versions & 7 rubygems

Version Path
http_parser.rb-0.6.0.beta.1 ext/ruby_http_parser/vendor/http-parser-java/src/impl/http_parser/HTTPParser.java
http_parser.rb-0.5.3 ext/ruby_http_parser/vendor/http-parser-java/src/impl/http_parser/HTTPParser.java
http_parser.rb-0.5.3-x86-mswin32-60 ext/ruby_http_parser/vendor/http-parser-java/src/impl/http_parser/HTTPParser.java
http_parser.rb-0.5.3-x86-mingw32 ext/ruby_http_parser/vendor/http-parser-java/src/impl/http_parser/HTTPParser.java
http_parser.rb-0.5.3-java ext/ruby_http_parser/vendor/http-parser-java/src/impl/http_parser/HTTPParser.java
http_parser.rb-0.5.2-x86-mswin32-60 ext/ruby_http_parser/vendor/http-parser-java/src/impl/http_parser/HTTPParser.java
http_parser.rb-0.5.2-x86-mingw32 ext/ruby_http_parser/vendor/http-parser-java/src/impl/http_parser/HTTPParser.java
http_parser.rb-0.5.2 ext/ruby_http_parser/vendor/http-parser-java/src/impl/http_parser/HTTPParser.java
http_parser.rb-0.5.2-java ext/ruby_http_parser/vendor/http-parser-java/src/impl/http_parser/HTTPParser.java