| Package | Description |
|---|---|
| net.noderunner.http |
Provides classes for sending and receiving data over HTTP.
|
| Modifier and Type | Field and Description |
|---|---|
static HttpVersion |
HttpVersion.HTTP10
Represents HTTP version 1.0
|
static HttpVersion |
HttpVersion.HTTP11
Represents HTTP version 1.1
|
| Modifier and Type | Method and Description |
|---|---|
HttpVersion |
StatusLine.getHttpVersion()
Returns the status' HTTP version.
|
HttpVersion |
RequestLine.getHttpVersion()
Returns the version of this request.
|
static HttpVersion |
HttpVersion.parseVersion(String version)
Based on the string supplied, returns either
HttpVersion.HTTP10 or HttpVersion.HTTP11 or
a newly constructed HttpVersion instance. |
| Constructor and Description |
|---|
RequestLine(Method method,
String requestURI,
HttpVersion version)
Constructs using all
Request-Line |
StatusLine(HttpVersion version,
int statusCode,
String reasonPhrase)
Constructs this object using
Status-Line |
Copyright © 2012. All Rights Reserved.