SPDY: remove deprecated methods

This commit is contained in:
Jeff Pinner 2012-11-16 16:24:52 -08:00 committed by Norman Maurer
parent 97d07253e2
commit ef26ffe9d8
2 changed files with 0 additions and 129 deletions

View File

@ -60,15 +60,6 @@ public class SpdyFrameDecoder extends ByteToMessageDecoder<Object> {
FRAME_ERROR
}
/**
* Creates a new instance with the default {@code version (2)},
* {@code maxChunkSize (8192)}, and {@code maxHeaderSize (16384)}.
*/
@Deprecated
public SpdyFrameDecoder() {
this(2);
}
/**
* Creates a new instance with the specified {@code version} and the default
* {@code maxChunkSize (8192)} and {@code maxHeaderSize (16384)}.

View File

@ -166,14 +166,6 @@ public class SpdyHeaders {
block.setHeader(HttpNames.HOST, host);
}
/**
* Removes the HTTP method header.
*/
@Deprecated
public static void removeMethod(SpdyHeaderBlock block) {
removeMethod(2, block);
}
/**
* Removes the HTTP method header.
*/
@ -185,14 +177,6 @@ public class SpdyHeaders {
}
}
/**
* Returns the {@link HttpMethod} represented by the HTTP method header.
*/
@Deprecated
public static HttpMethod getMethod(SpdyHeaderBlock block) {
return getMethod(2, block);
}
/**
* Returns the {@link HttpMethod} represented by the HTTP method header.
*/
@ -208,14 +192,6 @@ public class SpdyHeaders {
}
}
/**
* Sets the HTTP method header.
*/
@Deprecated
public static void setMethod(SpdyHeaderBlock block, HttpMethod method) {
setMethod(2, block, method);
}
/**
* Sets the HTTP method header.
*/
@ -227,14 +203,6 @@ public class SpdyHeaders {
}
}
/**
* Removes the URL scheme header.
*/
@Deprecated
public static void removeScheme(SpdyHeaderBlock block) {
removeMethod(2, block);
}
/**
* Removes the URL scheme header.
*/
@ -246,14 +214,6 @@ public class SpdyHeaders {
}
}
/**
* Returns the value of the URL scheme header.
*/
@Deprecated
public static String getScheme(SpdyHeaderBlock block) {
return getScheme(2, block);
}
/**
* Returns the value of the URL scheme header.
*/
@ -265,14 +225,6 @@ public class SpdyHeaders {
}
}
/**
* Sets the URL scheme header.
*/
@Deprecated
public static void setScheme(SpdyHeaderBlock block, String scheme) {
setScheme(2, block, scheme);
}
/**
* Sets the URL scheme header.
*/
@ -284,14 +236,6 @@ public class SpdyHeaders {
}
}
/**
* Removes the HTTP response status header.
*/
@Deprecated
public static void removeStatus(SpdyHeaderBlock block) {
removeMethod(2, block);
}
/**
* Removes the HTTP response status header.
*/
@ -303,14 +247,6 @@ public class SpdyHeaders {
}
}
/**
* Returns the {@link HttpResponseStatus} represented by the HTTP response status header.
*/
@Deprecated
public static HttpResponseStatus getStatus(SpdyHeaderBlock block) {
return getStatus(2, block);
}
/**
* Returns the {@link HttpResponseStatus} represented by the HTTP response status header.
*/
@ -340,14 +276,6 @@ public class SpdyHeaders {
}
}
/**
* Sets the HTTP response status header.
*/
@Deprecated
public static void setStatus(SpdyHeaderBlock block, HttpResponseStatus status) {
setStatus(2, block, status);
}
/**
* Sets the HTTP response status header.
*/
@ -359,14 +287,6 @@ public class SpdyHeaders {
}
}
/**
* Removes the URL path header.
*/
@Deprecated
public static void removeUrl(SpdyHeaderBlock block) {
removeUrl(2, block);
}
/**
* Removes the URL path header.
*/
@ -378,14 +298,6 @@ public class SpdyHeaders {
}
}
/**
* Returns the value of the URL path header.
*/
@Deprecated
public static String getUrl(SpdyHeaderBlock block) {
return getUrl(2, block);
}
/**
* Returns the value of the URL path header.
*/
@ -397,14 +309,6 @@ public class SpdyHeaders {
}
}
/**
* Sets the URL path header.
*/
@Deprecated
public static void setUrl(SpdyHeaderBlock block, String path) {
setUrl(2, block, path);
}
/**
* Sets the URL path header.
*/
@ -416,14 +320,6 @@ public class SpdyHeaders {
}
}
/**
* Removes the HTTP version header.
*/
@Deprecated
public static void removeVersion(SpdyHeaderBlock block) {
removeVersion(2, block);
}
/**
* Removes the HTTP version header.
*/
@ -435,14 +331,6 @@ public class SpdyHeaders {
}
}
/**
* Returns the {@link HttpVersion} represented by the HTTP version header.
*/
@Deprecated
public static HttpVersion getVersion(SpdyHeaderBlock block) {
return getVersion(2, block);
}
/**
* Returns the {@link HttpVersion} represented by the HTTP version header.
*/
@ -458,14 +346,6 @@ public class SpdyHeaders {
}
}
/**
* Sets the HTTP version header.
*/
@Deprecated
public static void setVersion(SpdyHeaderBlock block, HttpVersion httpVersion) {
setVersion(2, block, httpVersion);
}
/**
* Sets the HTTP version header.
*/