|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
com.vaadin.server.BootstrapResponse
public abstract class BootstrapResponse
Base class providing common functionality used in different bootstrap modification events.
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
BootstrapResponse(BootstrapHandler handler,
VaadinRequest request,
VaadinSession session,
java.lang.Class<? extends UI> uiClass,
UIProvider uiProvider)
Creates a new bootstrap event. |
Method Summary | |
---|---|
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. |
java.lang.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. |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BootstrapResponse(BootstrapHandler handler, VaadinRequest request, VaadinSession session, java.lang.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 bootstrapMethod Detail |
---|
public 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 java.lang.Class<? extends UI> getUiClass()
public UIProvider getUIProvider()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |