@Override public boolean isChunkedTransfer() { return Iterables.any( headers.getAll(HttpHeaderNames.TRANSFER_ENCODING), HttpHeaderValues.CHUNKED::contentEqualsIgnoreCase); }
@Override public boolean isExpectsContinue() { return Iterables.any( headers.getAll(HttpHeaderNames.EXPECT), HttpHeaderValues.CONTINUE::contentEqualsIgnoreCase); }