protected class BootstrapHandler.BootstrapContext extends Object implements Serializable
Constructor and Description |
---|
BootstrapContext(VaadinResponse response,
BootstrapFragmentResponse bootstrapResponse)
Creates a new context instance using the given Vaadin/HTTP response
and bootstrap response.
|
Modifier and Type | Method and Description |
---|---|
String |
getAppId()
Gets the application id.
|
JsonObject |
getApplicationParameters()
Gets the application parameters specified by the BootstrapHandler.
|
BootstrapFragmentResponse |
getBootstrapResponse()
Gets the bootstrap response object.
|
PushMode |
getPushMode()
Gets the push mode to use.
|
VaadinRequest |
getRequest()
Gets the Vaadin/HTTP request.
|
VaadinResponse |
getResponse()
Gets the Vaadin/HTTP response.
|
VaadinSession |
getSession()
Gets the Vaadin session.
|
String |
getThemeName()
Gets the name of the theme to use.
|
Class<? extends UI> |
getUIClass()
Gets the UI class which will be used.
|
BootstrapHandler.BootstrapUriResolver |
getUriResolver()
Gets the URI resolver to use for bootstrap resources.
|
WidgetsetInfo |
getWidgetsetInfo()
Gets information about the widgetset to use.
|
String |
getWidgetsetName()
Deprecated.
use
getWidgetsetInfo() instead |
public BootstrapContext(VaadinResponse response, BootstrapFragmentResponse bootstrapResponse)
response
- the response objectbootstrapResponse
- the bootstrap response objectpublic VaadinResponse getResponse()
public VaadinRequest getRequest()
public VaadinSession getSession()
public Class<? extends UI> getUIClass()
public WidgetsetInfo getWidgetsetInfo()
@Deprecated public String getWidgetsetName()
getWidgetsetInfo()
insteadpublic String getThemeName()
public PushMode getPushMode()
public String getAppId()
VaadinService.getMainDivId(VaadinSession, VaadinRequest, Class)
public BootstrapFragmentResponse getBootstrapResponse()
public JsonObject getApplicationParameters()
public BootstrapHandler.BootstrapUriResolver getUriResolver()
Copyright © 2018 Vaadin Ltd. All rights reserved.