public interface PageInsightRequest extends InsightRequest
InsightRequest.TYPE| Modifier and Type | Method and Description |
|---|---|
Page |
getPage()
Gets the page backing this request
|
org.jsoup.nodes.Element |
getPageBodyElement()
Gets a JSoup Element of the body of the page, not the full page (e.g.
|
java.lang.String |
getPageBodyHtml()
Gets the HTML of the body of the page, not the full page (e.g.
|
org.jsoup.nodes.Document |
getPageDocument()
Gets the page HTML as a JSoup Document.
|
java.lang.String |
getPageHtml()
Gets the page HTML.
|
default InsightRequest.TYPE |
getType()
Get the type of this request.
|
getResourcePage getPage()
org.jsoup.nodes.Element getPageBodyElement()
throws java.io.IOException
java.io.IOException - an exception occurs retrieving the contentjava.lang.String getPageBodyHtml()
throws java.io.IOException
java.io.IOException - an exception occurs retrieving the contentorg.jsoup.nodes.Document getPageDocument()
throws java.io.IOException
java.io.IOException - an exception occurs retrieving the contentjava.lang.String getPageHtml()
throws java.io.IOException
java.io.IOException - an exception occurs retrieving the contentdefault InsightRequest.TYPE getType()
InsightRequestgetType in interface InsightRequestCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.