public class ExecutionContext extends Object implements Serializable
UI.beforeClientResponse(com.vaadin.flow.component.Component, com.vaadin.flow.function.SerializableConsumer)
is invoked.Constructor and Description |
---|
ExecutionContext(UI ui,
boolean clientSideInitialized)
Creates a new, immutable context.
|
Modifier and Type | Method and Description |
---|---|
UI |
getUI()
Gets the UI associated with the execution.
|
boolean |
isClientSideInitialized()
Gets whether the client side is being initialized as part of the server
response.
|
public ExecutionContext(UI ui, boolean clientSideInitialized)
ui
- The UI associated with the executionclientSideInitialized
- true
if the client side is already initialized,
false
if it is being initialized as part of the
current responsepublic UI getUI()
null
public boolean isClientSideInitialized()
true
if the client side is already initialized,
false
if it is being initialized as part of the
current responseCopyright © 2018. All rights reserved.