public abstract class BootstrapResponse extends EventObject
source
Constructor and Description |
---|
BootstrapResponse(BootstrapHandler handler,
VaadinRequest request,
VaadinSession session,
Class<? extends UI> uiClass,
UIProvider uiProvider)
Creates a new bootstrap event.
|
Modifier and Type | Method and Description |
---|---|
BootstrapHandler |
getBootstrapHandler()
Gets the bootstrap handler that fired this event
|
VaadinRequest |
getRequest()
Gets the request for which the generated bootstrap HTML will be the
response.
|
VaadinSession |
getSession()
Gets the service session to which the rendered view belongs.
|
Class<? extends UI> |
getUiClass()
Gets the class of the UI that will be displayed on the generated
bootstrap page.
|
UIProvider |
getUIProvider()
Gets the UI provider that is used to provide information about the
bootstapped UI.
|
getSource, toString
public BootstrapResponse(BootstrapHandler handler, VaadinRequest request, VaadinSession session, Class<? extends UI> uiClass, UIProvider uiProvider)
handler
- the bootstrap handler that is firing the eventrequest
- the Vaadin request for which the bootstrap page should be
generatedsession
- the session for which the bootstrap page should be generateduiClass
- the class of the UI that will be displayed on the pageuiProvider
- the UI provider for the bootstrappublic BootstrapHandler getBootstrapHandler()
public VaadinRequest getRequest()
VaadinRequest#getBrowserDetails()
will not be available because the bootstrap page is generated before the
bootstrap javascript has had a chance to send any information back to the
server.public VaadinSession getSession()
public Class<? extends UI> getUiClass()
public UIProvider getUIProvider()
Copyright © 2019 Vaadin Ltd. All rights reserved.