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

  • Making http requests using okhttp
  • setScale (BigDecimal)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getSharedPreferences (Context)
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • Path (java.nio.file)
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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