Add missing @Deprecated annotations

This commit is contained in:
Trustin Lee 2013-10-18 17:47:40 +09:00
parent 2e5cbeabc4
commit 68e3b52a2a

View File

@ -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<String> getHeaders(String name);
/**
* @deprecated Use {@link HttpChunkTrailer#trailingHeaders()} instead.
*/
@Deprecated
List<Map.Entry<String, String>> getHeaders();
/**
* @deprecated Use {@link HttpChunkTrailer#trailingHeaders()} instead.
*/
@Deprecated
boolean containsHeader(String name);
/**
* @deprecated Use {@link HttpChunkTrailer#trailingHeaders()} instead.
*/
@Deprecated
Set<String> 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();
/**