public class PageInsightRequestImpl extends Object implements PageInsightRequest
InsightRequest.TYPE
Constructor and Description |
---|
PageInsightRequestImpl(Page page,
org.apache.sling.engine.SlingRequestProcessor requestProcessor) |
Modifier and Type | Method and Description |
---|---|
Page |
getPage() |
org.jsoup.nodes.Element |
getPageBodyElement() |
String |
getPageBodyHtml() |
org.jsoup.nodes.Document |
getPageDocument() |
String |
getPageHtml() |
org.apache.sling.api.resource.Resource |
getResource() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getType
public PageInsightRequestImpl(Page page, org.apache.sling.engine.SlingRequestProcessor requestProcessor)
public Page getPage()
getPage
in interface PageInsightRequest
public org.jsoup.nodes.Element getPageBodyElement() throws IOException
getPageBodyElement
in interface PageInsightRequest
IOException
public String getPageBodyHtml() throws IOException
getPageBodyHtml
in interface PageInsightRequest
IOException
public org.jsoup.nodes.Document getPageDocument() throws IOException
getPageDocument
in interface PageInsightRequest
IOException
public String getPageHtml() throws IOException
getPageHtml
in interface PageInsightRequest
IOException
public org.apache.sling.api.resource.Resource getResource()
getResource
in interface InsightRequest
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.