Package | Description |
---|---|
org.eclipse.jetty.http |
Modifier and Type | Field and Description |
---|---|
static StringMap<HttpVersion> |
HttpVersion.CACHE |
Modifier and Type | Method and Description |
---|---|
static HttpVersion |
HttpVersion.fromString(String version)
Case insensitive fromString() conversion
|
static HttpVersion |
HttpVersion.fromVersion(int version) |
HttpVersion |
HttpGenerator.Info.getHttpVersion() |
HttpVersion |
HttpTester.Message.getVersion() |
static HttpVersion |
HttpVersion.lookAheadGet(byte[] bytes,
int position,
int limit)
Optimised lookup to find a Http Version and whitespace in a byte array.
|
static HttpVersion |
HttpVersion.lookAheadGet(ByteBuffer buffer)
Optimised lookup to find a HTTP Version and trailing white space in a byte array.
|
static HttpVersion |
HttpVersion.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpVersion[] |
HttpVersion.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
HttpTester.Message.setVersion(HttpVersion version) |
boolean |
HttpParser.RequestHandler.startRequest(HttpMethod method,
String methodString,
String uri,
HttpVersion version)
This is the method called by parser when the HTTP request line is parsed
|
boolean |
HttpTester.Request.startRequest(HttpMethod method,
String methodString,
String uri,
HttpVersion version) |
boolean |
HttpParser.ResponseHandler.startResponse(HttpVersion version,
int status,
String reason)
This is the method called by parser when the HTTP request line is parsed
|
boolean |
HttpTester.Response.startResponse(HttpVersion version,
int status,
String reason) |
Constructor and Description |
---|
HttpGenerator.RequestInfo(HttpVersion httpVersion,
HttpFields httpFields,
long contentLength,
String method,
String uri) |
HttpGenerator.ResponseInfo(HttpVersion httpVersion,
HttpFields httpFields,
long contentLength,
int status,
String reason,
boolean head) |
Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.