Package | Description |
---|---|
org.apache.commons.httpclient |
Classes and interfaces supporting the client side of the HTTP protocol.
|
org.apache.commons.httpclient.params |
HttpClient preferences framework.
|
Modifier and Type | Field and Description |
---|---|
protected HttpVersion |
HttpMethodBase.effectiveVersion
HTTP protocol version used for execution of this method.
|
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
|
Modifier and Type | Method and Description |
---|---|
HttpVersion |
HttpMethodBase.getEffectiveVersion()
Returns the HTTP version used with this method (may be null
if undefined, that is, the method has not been executed)
|
static HttpVersion |
HttpVersion.parse(java.lang.String s)
Parses the textual representation of the given HTTP protocol version.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
HttpVersion |
HttpMethodParams.getVersion()
Returns
HTTP protocol version to be used by the
HTTP methods that
this collection of parameters applies to. |
Modifier and Type | Method and Description |
---|---|
void |
HttpMethodParams.setVersion(HttpVersion version)
Assigns the
HTTP protocol version to be used by the
HTTP methods that
this collection of parameters applies to. |
Copyright © 2001-2012 Apache Software Foundation. All Rights Reserved.