com.vaadin.flow.internal.
Class ExecutionContext
All Implemented Interfaces:
Context of a callback execution when
 UI.beforeClientResponse(com.vaadin.flow.component.Component, com.vaadin.flow.function.SerializableConsumer)
 is invoked.
 
For internal use only. May be renamed or removed in a future release.
Since:
1.0.
Author:
Vaadin Ltd
See Also:
- 
Constructor Summary
ConstructorsConstructorDescriptionExecutionContext(UI ui, boolean clientSideInitialized) Creates a new, immutable context.
 - 
Method Summary
Modifier and TypeMethodDescriptiongetUI()Gets the UI associated with the execution.
booleanGets whether the client side is being initialized as part of the server response.
 
- 
Constructor Details
- 
ExecutionContext
Creates a new, immutable context.
Parameters:
ui- The UI associated with the executionclientSideInitialized-trueif the client side is already initialized,falseif it is being initialized as part of the current response 
 - 
 - 
Method Details
- 
getUI
Gets the UI associated with the execution.
Returns:
the UI, not
null - 
isClientSideInitialized
public boolean isClientSideInitialized()Gets whether the client side is being initialized as part of the server response.
Returns:
trueif the client side is already initialized,falseif it is being initialized as part of the current response 
 -