SPDY: remove deprecated data compressed flag

This commit is contained in:
Jeff Pinner 2012-08-14 17:57:59 -07:00
parent 8b66e65277
commit a0d9bed8f9
2 changed files with 0 additions and 27 deletions

View File

@ -26,7 +26,6 @@ public class DefaultSpdyDataFrame implements SpdyDataFrame {
private int streamId;
private boolean last;
private boolean compressed;
private ByteBuf data = Unpooled.EMPTY_BUFFER;
/**
@ -62,18 +61,6 @@ public class DefaultSpdyDataFrame implements SpdyDataFrame {
this.last = last;
}
@Override
@Deprecated
public boolean isCompressed() {
return compressed;
}
@Override
@Deprecated
public void setCompressed(boolean compressed) {
this.compressed = compressed;
}
@Override
public ByteBuf getData() {
return data;
@ -97,8 +84,6 @@ public class DefaultSpdyDataFrame implements SpdyDataFrame {
buf.append(getClass().getSimpleName());
buf.append("(last: ");
buf.append(isLast());
buf.append("; compressed: ");
buf.append(isCompressed());
buf.append(')');
buf.append(StringUtil.NEWLINE);
buf.append("--> Stream-ID = ");

View File

@ -44,18 +44,6 @@ public interface SpdyDataFrame {
*/
void setLast(boolean last);
/**
* @deprecated Removed from SPDY specification.
*/
@Deprecated
boolean isCompressed();
/**
* @deprecated Removed from SPDY specification.
*/
@Deprecated
void setCompressed(boolean compressed);
/**
* Returns the data payload of this frame. If there is no data payload
* {@link Unpooled#EMPTY_BUFFER} is returned.