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 int |
getAssociatedToStreamID(HttpMessage message)
Deprecated.
Use
getAssociatedToStreamId(HttpMessage) instead. |
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 int |
getStreamID(HttpMessage message)
Deprecated.
Use
getStreamId(HttpMessage) instead. |
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 |
removeAssociatedToStreamID(HttpMessage message)
Deprecated.
Use
removeAssociatedToStreamId(HttpMessage) instead. |
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 |
removeStreamID(HttpMessage message)
Deprecated.
Use
removeStreamId(HttpMessage) instead. |
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 |
setAssociatedToStreamID(HttpMessage message,
int associatedToStreamId)
Deprecated.
Use
setAssociatedToStreamId(HttpMessage, int) instead. |
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 |
setStreamID(HttpMessage message,
int streamId)
Deprecated.
Use
setStreamId(HttpMessage, int) instead. |
static void |
setUrl(HttpMessage message,
String url)
Sets the
"X-SPDY-URL" header. |
@Deprecated public static void removeStreamID(HttpMessage message)
removeStreamId(HttpMessage)
instead.public static void removeStreamId(HttpMessage message)
"X-SPDY-Stream-ID"
header.@Deprecated public static int getStreamID(HttpMessage message)
getStreamId(HttpMessage)
instead.public static int getStreamId(HttpMessage message)
"X-SPDY-Stream-ID"
header.@Deprecated public static void setStreamID(HttpMessage message, int streamId)
setStreamId(HttpMessage, int)
instead.public static void setStreamId(HttpMessage message, int streamId)
"X-SPDY-Stream-ID"
header.@Deprecated public static void removeAssociatedToStreamID(HttpMessage message)
removeAssociatedToStreamId(HttpMessage)
instead.public static void removeAssociatedToStreamId(HttpMessage message)
"X-SPDY-Associated-To-Stream-ID"
header.@Deprecated public static int getAssociatedToStreamID(HttpMessage message)
getAssociatedToStreamId(HttpMessage)
instead.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 number@Deprecated public static void setAssociatedToStreamID(HttpMessage message, int associatedToStreamId)
setAssociatedToStreamId(HttpMessage, int)
instead.public 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.