| Package | Description |
|---|---|
| org.eclipse.jetty.http |
Jetty Http : Tools for Http processing
|
| Modifier and Type | Field and Description |
|---|---|
static Trie<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 |
HttpTester.Request.startRequest(HttpMethod method,
String methodString,
ByteBuffer uri,
HttpVersion version) |
boolean |
HttpParser.RequestHandler.startRequest(HttpMethod method,
String methodString,
ByteBuffer uri,
HttpVersion version)
This is the method called by parser when the HTTP request line is parsed
|
boolean |
HttpTester.Response.startResponse(HttpVersion version,
int status,
String reason) |
boolean |
HttpParser.ResponseHandler.startResponse(HttpVersion version,
int status,
String reason)
This is the method called by parser when the HTTP request line is parsed
|
| 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-2019 Webtide. All Rights Reserved.