SPDY: remove deprecated data compressed flag
This commit is contained in:
parent
8b66e65277
commit
a0d9bed8f9
@ -26,7 +26,6 @@ public class DefaultSpdyDataFrame implements SpdyDataFrame {
|
|||||||
|
|
||||||
private int streamId;
|
private int streamId;
|
||||||
private boolean last;
|
private boolean last;
|
||||||
private boolean compressed;
|
|
||||||
private ByteBuf data = Unpooled.EMPTY_BUFFER;
|
private ByteBuf data = Unpooled.EMPTY_BUFFER;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -62,18 +61,6 @@ public class DefaultSpdyDataFrame implements SpdyDataFrame {
|
|||||||
this.last = last;
|
this.last = last;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
@Deprecated
|
|
||||||
public boolean isCompressed() {
|
|
||||||
return compressed;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
@Deprecated
|
|
||||||
public void setCompressed(boolean compressed) {
|
|
||||||
this.compressed = compressed;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ByteBuf getData() {
|
public ByteBuf getData() {
|
||||||
return data;
|
return data;
|
||||||
@ -97,8 +84,6 @@ public class DefaultSpdyDataFrame implements SpdyDataFrame {
|
|||||||
buf.append(getClass().getSimpleName());
|
buf.append(getClass().getSimpleName());
|
||||||
buf.append("(last: ");
|
buf.append("(last: ");
|
||||||
buf.append(isLast());
|
buf.append(isLast());
|
||||||
buf.append("; compressed: ");
|
|
||||||
buf.append(isCompressed());
|
|
||||||
buf.append(')');
|
buf.append(')');
|
||||||
buf.append(StringUtil.NEWLINE);
|
buf.append(StringUtil.NEWLINE);
|
||||||
buf.append("--> Stream-ID = ");
|
buf.append("--> Stream-ID = ");
|
||||||
|
@ -44,18 +44,6 @@ public interface SpdyDataFrame {
|
|||||||
*/
|
*/
|
||||||
void setLast(boolean last);
|
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
|
* Returns the data payload of this frame. If there is no data payload
|
||||||
* {@link Unpooled#EMPTY_BUFFER} is returned.
|
* {@link Unpooled#EMPTY_BUFFER} is returned.
|
||||||
|
Loading…
Reference in New Issue
Block a user