| Package | Description |
|---|---|
| org.glassfish.grizzly.http |
| Modifier and Type | Field and Description |
|---|---|
protected Protocol |
HttpHeader.parsedProtocol |
protected Protocol |
HttpHeader.Builder.protocol |
| Modifier and Type | Method and Description |
|---|---|
Protocol |
HttpHeader.getProtocol()
Get HTTP protocol version.
|
static Protocol |
Protocol.valueOf(Buffer protocolBuffer,
int offset,
int len) |
static Protocol |
Protocol.valueOf(byte[] protocolBytes,
int offset,
int len) |
static Protocol |
Protocol.valueOf(DataChunk protocolC) |
static Protocol |
Protocol.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Protocol[] |
Protocol.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
T |
HttpHeader.Builder.protocol(Protocol protocol)
Set the HTTP message protocol version.
|
void |
HttpHeader.setProtocol(Protocol protocol)
Set the HTTP message protocol version.
|
Copyright © 2018 Oracle Corporation. All Rights Reserved.