public final class SpdyHttpHeaders
extends java.lang.Object
SpdyHttpDecoder
and SpdyHttpEncoder
.Modifier and Type | Class and Description |
---|---|
static class |
SpdyHttpHeaders.Names
SPDY HTTP header names
|
Modifier and Type | Method and Description |
---|---|
static int |
getAssociatedToStreamId(HttpMessage message)
Returns the value of the
"X-SPDY-Associated-To-Stream-ID" header. |
static byte |
getPriority(HttpMessage message)
Returns the value of the
"X-SPDY-Priority" header. |
static java.lang.String |
getScheme(HttpMessage message)
Returns the value of the
"X-SPDY-Scheme" header. |
static int |
getStreamId(HttpMessage message)
Returns the value of the
"X-SPDY-Stream-ID" header. |
static void |
removeAssociatedToStreamId(HttpMessage message)
Removes the
"X-SPDY-Associated-To-Stream-ID" header. |
static void |
removePriority(HttpMessage message)
Removes the
"X-SPDY-Priority" header. |
static void |
removeScheme(HttpMessage message)
Removes the
"X-SPDY-Scheme" header. |
static void |
removeStreamId(HttpMessage message)
Removes the
"X-SPDY-Stream-ID" header. |
static void |
setAssociatedToStreamId(HttpMessage message,
int associatedToStreamId)
Sets the
"X-SPDY-Associated-To-Stream-ID" header. |
static void |
setPriority(HttpMessage message,
byte priority)
Sets the
"X-SPDY-Priority" header. |
static void |
setScheme(HttpMessage message,
java.lang.String scheme)
Sets the
"X-SPDY-Scheme" header. |
static void |
setStreamId(HttpMessage message,
int streamId)
Sets the
"X-SPDY-Stream-ID" header. |
public static void removeStreamId(HttpMessage message)
"X-SPDY-Stream-ID"
header.public static int getStreamId(HttpMessage message)
"X-SPDY-Stream-ID"
header.public static void setStreamId(HttpMessage message, int streamId)
"X-SPDY-Stream-ID"
header.public static void removeAssociatedToStreamId(HttpMessage message)
"X-SPDY-Associated-To-Stream-ID"
header.public static int getAssociatedToStreamId(HttpMessage message)
"X-SPDY-Associated-To-Stream-ID"
header.0
if there is no such header or
if the header value is not a numberpublic static void setAssociatedToStreamId(HttpMessage message, int associatedToStreamId)
"X-SPDY-Associated-To-Stream-ID"
header.public static void removePriority(HttpMessage message)
"X-SPDY-Priority"
header.public static byte getPriority(HttpMessage message)
"X-SPDY-Priority"
header.0
if there is no such header or
if the header value is not a numberpublic static void setPriority(HttpMessage message, byte priority)
"X-SPDY-Priority"
header.public static void removeScheme(HttpMessage message)
"X-SPDY-Scheme"
header.public static java.lang.String getScheme(HttpMessage message)
"X-SPDY-Scheme"
header.public static void setScheme(HttpMessage message, java.lang.String scheme)
"X-SPDY-Scheme"
header.Copyright © 2008–2018 The Netty Project. All rights reserved.