Package | Description |
---|---|
org.glassfish.grizzly.http | |
org.glassfish.grizzly.http.server |
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(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.
|
Modifier and Type | Method and Description |
---|---|
Protocol |
Request.getProtocol()
Return the protocol and version used to make this Request.
|
Copyright © 2014 Oracle Corporation. All rights reserved.