Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
670848654 committed Feb 11, 2020
1 parent a539531 commit a3a52b3
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package my.project.sakuraproject.main.base;

import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;

public class BaseModel {
public static boolean hasRefresh(Document body) {
Element meta = body.select("meta[http-equiv=refresh]").first();
return meta != null;
}
}

0 comments on commit a3a52b3

Please sign in to comment.