public final class SpdyHttpHeaders extends 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 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 String |
getUrl(HttpMessage message)
Returns the value of the
"X-SPDY-URL" 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 |
removeUrl(HttpMessage message)
Removes the
"X-SPDY-URL" 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,
String scheme)
Sets the
"X-SPDY-Scheme" header. |
static void |
setStreamId(HttpMessage message,
int streamId)
Sets the
"X-SPDY-Stream-ID" header. |
static void |
setUrl(HttpMessage message,
String url)
Sets the
"X-SPDY-URL" 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 removeUrl(HttpMessage message)
"X-SPDY-URL"
header.public static String getUrl(HttpMessage message)
"X-SPDY-URL"
header.public static void setUrl(HttpMessage message, String url)
"X-SPDY-URL"
header.public static void removeScheme(HttpMessage message)
"X-SPDY-Scheme"
header.public static String getScheme(HttpMessage message)
"X-SPDY-Scheme"
header.public static void setScheme(HttpMessage message, String scheme)
"X-SPDY-Scheme"
header.Copyright © 2008-2014 The Netty Project. All Rights Reserved.