Tabnine Logo
HttpVersion.getMinorVersion
Code IndexAdd Tabnine to your IDE (free)

How to use
getMinorVersion
method
in
org.jboss.netty.handler.codec.http.HttpVersion

Best Java code snippets using org.jboss.netty.handler.codec.http.HttpVersion.getMinorVersion (Showing top 7 results out of 315)

origin: io.netty/netty

@Override
public int hashCode() {
  return (getProtocolName().hashCode() * 31 + getMajorVersion()) * 31 +
      getMinorVersion();
}
origin: io.netty/netty

@Override
public boolean equals(Object o) {
  if (!(o instanceof HttpVersion)) {
    return false;
  }
  HttpVersion that = (HttpVersion) o;
  return getMinorVersion() == that.getMinorVersion() &&
      getMajorVersion() == that.getMajorVersion() &&
      getProtocolName().equals(that.getProtocolName());
}
origin: io.netty/netty

  public int compareTo(HttpVersion o) {
    int v = getProtocolName().compareTo(o.getProtocolName());
    if (v != 0) {
      return v;
    }

    v = getMajorVersion() - o.getMajorVersion();
    if (v != 0) {
      return v;
    }

    return getMinorVersion() - o.getMinorVersion();
  }
}
origin: com.ning/async-http-client

@Override
public int getProtocolMinorVersion() {
  return response.getProtocolVersion().getMinorVersion();
}
origin: org.asynchttpclient/async-http-client-netty3

@Override
public int getProtocolMinorVersion() {
  return response.getProtocolVersion().getMinorVersion();
}
origin: io.gatling/async-http-client

@Override
public int getProtocolMinorVersion() {
  return response.getProtocolVersion().getMinorVersion();
}
origin: org.asynchttpclient/async-http-client-netty3-provider

@Override
public int getProtocolMinorVersion() {
  return response.getProtocolVersion().getMinorVersion();
}
org.jboss.netty.handler.codec.httpHttpVersiongetMinorVersion

Javadoc

Returns the name of the protocol such as 0 in "HTTP/1.0".

Popular methods of HttpVersion

  • equals
  • getText
    Returns the full protocol version text such as "HTTP/1.0".
  • getMajorVersion
    Returns the name of the protocol such as 1 in "HTTP/1.0".
  • getProtocolName
    Returns the name of the protocol such as "HTTP" in "HTTP/1.0".
  • toString
    Returns the full protocol version text such as "HTTP/1.0".
  • isKeepAliveDefault
    Returns true if and only if the connection is kept alive unless the "Connection" header is set to "c
  • valueOf
    Returns an existing or new HttpVersion instance which matches to the specified protocol version stri
  • <init>
    Creates a new HTTP version with the specified version string. You will not need to create a new inst
  • compareTo

Popular in Java

  • Finding current android device location
  • runOnUiThread (Activity)
  • onRequestPermissionsResult (Fragment)
  • putExtra (Intent)
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • String (java.lang)
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • Socket (java.net)
    Provides a client-side TCP socket.
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Top 17 Plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now