Uses of Class
org.apache.http.HttpVersion

Packages that use HttpVersion
org.apache.http The core interfaces and classes of the HTTP components. 
org.apache.http.impl Default implementations for interfaces in org.apache.http
org.apache.http.message A selection of HTTP message implementations. 
org.apache.http.params The parameterization framework for HTTP components. 
 

Uses of HttpVersion in org.apache.http
 

Fields in org.apache.http declared as HttpVersion
static HttpVersion HttpVersion.HTTP_0_9
          HTTP protocol version 0.9
static HttpVersion HttpVersion.HTTP_1_0
          HTTP protocol version 1.0
static HttpVersion HttpVersion.HTTP_1_1
          HTTP protocol version 1.1
 

Methods in org.apache.http that return HttpVersion
 HttpVersion RequestLine.getHttpVersion()
           
 HttpVersion HttpMessage.getHttpVersion()
          Returns the HTTP version this message is compatible with.
 HttpVersion StatusLine.getHttpVersion()
           
 

Methods in org.apache.http with parameters of type HttpVersion
 int HttpVersion.compareTo(HttpVersion anotherVer)
          Compares this HTTP protocol version with another one.
 boolean HttpVersion.equals(HttpVersion version)
          Test if the HTTP protocol version is equal to the given number.
 boolean HttpVersion.greaterEquals(HttpVersion version)
          Test if the HTTP protocol version is greater or equal to the given number.
 boolean HttpVersion.lessEquals(HttpVersion version)
          Test if the HTTP protocol version is less or equal to the given number.
 HttpResponse HttpResponseFactory.newHttpResponse(HttpVersion ver, int status, HttpContext context)
          Creates a new response from status line elements.
 void HttpResponse.setStatusLine(HttpVersion ver, int code)
          Sets the status line of this response.
 void HttpResponse.setStatusLine(HttpVersion ver, int code, java.lang.String reason)
          Sets the status line of this response with a reason phrase.
 

Uses of HttpVersion in org.apache.http.impl
 

Methods in org.apache.http.impl with parameters of type HttpVersion
 HttpResponse DefaultHttpResponseFactory.newHttpResponse(HttpVersion ver, int status, HttpContext context)
           
 

Uses of HttpVersion in org.apache.http.message
 

Methods in org.apache.http.message that return HttpVersion
 HttpVersion BasicHttpRequest.getHttpVersion()
           
 HttpVersion BasicHttpResponse.getHttpVersion()
           
 HttpVersion BasicStatusLine.getHttpVersion()
           
 HttpVersion BasicRequestLine.getHttpVersion()
           
static HttpVersion BasicHttpVersionFormat.parse(CharArrayBuffer buffer, int indexFrom, int indexTo)
          Parses the textual representation of the given HTTP protocol version.
static HttpVersion BasicHttpVersionFormat.parse(java.lang.String s)
           
 

Methods in org.apache.http.message with parameters of type HttpVersion
static void BasicHttpVersionFormat.format(CharArrayBuffer buffer, HttpVersion ver)
           
static java.lang.String BasicHttpVersionFormat.format(HttpVersion ver)
           
 void BasicHttpResponse.setStatusLine(HttpVersion ver, int code)
           
 void BasicHttpResponse.setStatusLine(HttpVersion ver, int code, java.lang.String reason)
           
 

Constructors in org.apache.http.message with parameters of type HttpVersion
BasicHttpEntityEnclosingRequest(java.lang.String method, java.lang.String uri, HttpVersion ver)
           
BasicHttpRequest(java.lang.String method, java.lang.String uri, HttpVersion ver)
           
BasicHttpResponse(HttpVersion ver, int code, java.lang.String reason)
          Creates a response from elements of a status line.
BasicRequestLine(java.lang.String method, java.lang.String uri, HttpVersion httpversion)
           
BasicStatusLine(HttpVersion httpVersion, int statusCode, java.lang.String reasonPhrase)
          Creates a new status line with the given version, status, and reason.
 

Uses of HttpVersion in org.apache.http.params
 

Methods in org.apache.http.params that return HttpVersion
static HttpVersion HttpProtocolParams.getVersion(HttpParams params)
          Returns HTTP protocol version to be used per default.
 

Methods in org.apache.http.params with parameters of type HttpVersion
static void HttpProtocolParams.setVersion(HttpParams params, HttpVersion version)
          Assigns the HTTP protocol version to be used by the HTTP methods that this collection of parameters applies to.
 



Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.