Uses of Class
org.apache.http.ProtocolVersion
| Package | Description |
|---|---|
| org.apache.http |
The core interfaces and classes of the HTTP components.
|
| org.apache.http.client.methods |
Request implementations for the various HTTP methods like GET and POST.
|
| org.apache.http.impl |
Default implementations for interfaces in
org.apache.http. |
| org.apache.http.impl.client | |
| org.apache.http.message |
A selection of HTTP
message
implementations. |
| org.apache.http.params |
The parameterization framework for HTTP components.
|
-
Uses of ProtocolVersion in org.apache.http
Subclasses of ProtocolVersion in org.apache.http Modifier and Type Class Description classHttpVersionRepresents an HTTP version, as specified in RFC 2616.Methods in org.apache.http that return ProtocolVersion Modifier and Type Method Description ProtocolVersionHttpVersion. forVersion(int major, int minor)Obtains a specific HTTP version.ProtocolVersionProtocolVersion. forVersion(int major, int minor)Obtains a specific version of this protocol.ProtocolVersionHttpMessage. getProtocolVersion()Returns the protocol version this message is compatible with.ProtocolVersionRequestLine. getProtocolVersion()ProtocolVersionStatusLine. getProtocolVersion()Methods in org.apache.http with parameters of type ProtocolVersion Modifier and Type Method Description intProtocolVersion. compareToVersion(ProtocolVersion that)Compares this protocol version with another one.booleanProtocolVersion. greaterEquals(ProtocolVersion version)Tests if this protocol version is greater or equal to the given one.booleanProtocolVersion. isComparable(ProtocolVersion that)Checks whether this protocol can be compared to another one.booleanProtocolVersion. lessEquals(ProtocolVersion version)Tests if this protocol version is less or equal to the given one.HttpResponseHttpResponseFactory. newHttpResponse(ProtocolVersion ver, int status, HttpContext context)Creates a new response from status line elements.voidHttpResponse. setStatusLine(ProtocolVersion ver, int code)Sets the status line of this response.voidHttpResponse. setStatusLine(ProtocolVersion ver, int code, String reason)Sets the status line of this response with a reason phrase. -
Uses of ProtocolVersion in org.apache.http.client.methods
Methods in org.apache.http.client.methods that return ProtocolVersion Modifier and Type Method Description ProtocolVersionHttpRequestBase. getProtocolVersion() -
Uses of ProtocolVersion in org.apache.http.impl
Methods in org.apache.http.impl with parameters of type ProtocolVersion Modifier and Type Method Description HttpResponseDefaultHttpResponseFactory. newHttpResponse(ProtocolVersion ver, int status, HttpContext context) -
Uses of ProtocolVersion in org.apache.http.impl.client
Methods in org.apache.http.impl.client that return ProtocolVersion Modifier and Type Method Description ProtocolVersionRequestWrapper. getProtocolVersion()Methods in org.apache.http.impl.client with parameters of type ProtocolVersion Modifier and Type Method Description voidRequestWrapper. setProtocolVersion(ProtocolVersion version) -
Uses of ProtocolVersion in org.apache.http.message
Fields in org.apache.http.message declared as ProtocolVersion Modifier and Type Field Description protected ProtocolVersionBasicLineParser. protocolA version of the protocol to parse.Methods in org.apache.http.message that return ProtocolVersion Modifier and Type Method Description protected ProtocolVersionBasicLineParser. createProtocolVersion(int major, int minor)Creates a protocol version.ProtocolVersionBasicHttpRequest. getProtocolVersion()ProtocolVersionBasicHttpResponse. getProtocolVersion()ProtocolVersionBasicRequestLine. getProtocolVersion()ProtocolVersionBasicStatusLine. getProtocolVersion()static ProtocolVersionBasicLineParser. parseProtocolVersion(String value, LineParser parser)ProtocolVersionBasicLineParser. parseProtocolVersion(CharArrayBuffer buffer, ParserCursor cursor)ProtocolVersionLineParser. parseProtocolVersion(CharArrayBuffer buffer, ParserCursor cursor)Parses the textual representation of a protocol version.Methods in org.apache.http.message with parameters of type ProtocolVersion Modifier and Type Method Description CharArrayBufferBasicLineFormatter. appendProtocolVersion(CharArrayBuffer buffer, ProtocolVersion version)CharArrayBufferLineFormatter. appendProtocolVersion(CharArrayBuffer buffer, ProtocolVersion version)Formats a protocol version.protected RequestLineBasicLineParser. createRequestLine(String method, String uri, ProtocolVersion ver)Instantiates a new request line.protected StatusLineBasicLineParser. createStatusLine(ProtocolVersion ver, int status, String reason)Instantiates a new status line.protected intBasicLineFormatter. estimateProtocolVersionLen(ProtocolVersion version)Guesses the length of a formatted protocol version.static StringBasicLineFormatter. formatProtocolVersion(ProtocolVersion version, LineFormatter formatter)Formats a protocol version.voidBasicHttpResponse. setStatusLine(ProtocolVersion ver, int code)voidBasicHttpResponse. setStatusLine(ProtocolVersion ver, int code, String reason)Constructors in org.apache.http.message with parameters of type ProtocolVersion Constructor Description BasicHttpEntityEnclosingRequest(String method, String uri, ProtocolVersion ver)BasicHttpRequest(String method, String uri, ProtocolVersion ver)BasicHttpResponse(ProtocolVersion ver, int code, String reason)Creates a response from elements of a status line.BasicLineParser(ProtocolVersion proto)Creates a new line parser for the given HTTP-like protocol.BasicRequestLine(String method, String uri, ProtocolVersion version)BasicStatusLine(ProtocolVersion version, int statusCode, String reasonPhrase)Creates a new status line with the given version, status, and reason. -
Uses of ProtocolVersion in org.apache.http.params
Methods in org.apache.http.params that return ProtocolVersion Modifier and Type Method Description static ProtocolVersionHttpProtocolParams. getVersion(HttpParams params)Returnsprotocol versionto be used per default.Methods in org.apache.http.params with parameters of type ProtocolVersion Modifier and Type Method Description static voidHttpProtocolParams. setVersion(HttpParams params, ProtocolVersion version)Assigns theprotocol versionto be used by the HTTP methods that this collection of parameters applies to.