public class IndexHtmlResponse extends Object
Constructor and Description |
---|
IndexHtmlResponse(VaadinRequest vaadinRequest,
VaadinResponse vaadinResponse,
org.jsoup.nodes.Document document)
Create a response object for client side bootstrapping.
|
IndexHtmlResponse(VaadinRequest vaadinRequest,
VaadinResponse vaadinResponse,
org.jsoup.nodes.Document document,
UI ui)
Create a response object for client side bootstrapping with UI.
|
Modifier and Type | Method and Description |
---|---|
org.jsoup.nodes.Document |
getDocument()
Get the index.html response in form of a
Document instance. |
Optional<UI> |
getUI()
Gets the UI that will be displayed on the generated HTML page.
|
VaadinRequest |
getVaadinRequest()
Get the request which triggers the Index HTML response.
|
VaadinResponse |
getVaadinResponse()
Get the Vaadin response object including all the headers which will be
sent to browser.
|
public IndexHtmlResponse(VaadinRequest vaadinRequest, VaadinResponse vaadinResponse, org.jsoup.nodes.Document document, UI ui)
vaadinRequest
- the vaadin request which is handlingvaadinResponse
- the corresponding vaadin responsedocument
- the Document
object of the response pageui
- the UI for the bootstrappublic IndexHtmlResponse(VaadinRequest vaadinRequest, VaadinResponse vaadinResponse, org.jsoup.nodes.Document document)
vaadinRequest
- the vaadin request which is handlingvaadinResponse
- the corresponding vaadin responsedocument
- the Document
object of the response pagepublic VaadinRequest getVaadinRequest()
public VaadinResponse getVaadinResponse()
public org.jsoup.nodes.Document getDocument()
Document
instance.Copyright © 2022. All rights reserved.