From 68e3b52a2a78d08c1e3e248372802432036c70fe Mon Sep 17 00:00:00 2001 From: Trustin Lee Date: Fri, 18 Oct 2013 17:47:40 +0900 Subject: [PATCH] Add missing @Deprecated annotations --- .../netty/handler/codec/http/HttpChunkTrailer.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/main/java/org/jboss/netty/handler/codec/http/HttpChunkTrailer.java b/src/main/java/org/jboss/netty/handler/codec/http/HttpChunkTrailer.java index 01ca885187..085484dcd6 100644 --- a/src/main/java/org/jboss/netty/handler/codec/http/HttpChunkTrailer.java +++ b/src/main/java/org/jboss/netty/handler/codec/http/HttpChunkTrailer.java @@ -32,51 +32,61 @@ public interface HttpChunkTrailer extends HttpChunk { /** * @deprecated Use {@link HttpChunkTrailer#trailingHeaders()} instead. */ + @Deprecated String getHeader(String name); /** * @deprecated Use {@link HttpChunkTrailer#trailingHeaders()} instead. */ + @Deprecated List getHeaders(String name); /** * @deprecated Use {@link HttpChunkTrailer#trailingHeaders()} instead. */ + @Deprecated List> getHeaders(); /** * @deprecated Use {@link HttpChunkTrailer#trailingHeaders()} instead. */ + @Deprecated boolean containsHeader(String name); /** * @deprecated Use {@link HttpChunkTrailer#trailingHeaders()} instead. */ + @Deprecated Set getHeaderNames(); /** * @deprecated Use {@link HttpChunkTrailer#trailingHeaders()} instead. */ + @Deprecated void addHeader(String name, Object value); /** * @deprecated Use {@link HttpChunkTrailer#trailingHeaders()} instead. */ + @Deprecated void setHeader(String name, Object value); /** * @deprecated Use {@link HttpChunkTrailer#trailingHeaders()} instead. */ + @Deprecated void setHeader(String name, Iterable values); /** * @deprecated Use {@link HttpChunkTrailer#trailingHeaders()} instead. */ + @Deprecated void removeHeader(String name); /** * @deprecated Use {@link HttpChunkTrailer#trailingHeaders()} instead. */ + @Deprecated void clearHeaders(); /**