Interface HasRpcSupport
- All Superinterfaces:
com.vaadin.testbench.HasDriver
public interface HasRpcSupport
extends com.vaadin.testbench.HasDriver
Provides support for Remote Procedure Calls (RPC) using TestBench.
- Author:
- Javier Godoy / Flowing Code
-
Method Summary
Modifier and TypeMethodDescriptiondefault ObjectDeprecated.default <T> TcreateCallableProxy(Class<T> intf) Create a TestBench proxy that invokes methods from the interface through a client call.default <T> TcreateCallableProxy(Class<T> intf, String url) Create a TestBench proxy that invokes methods from the interface through a client call on a side channel.default voidsetScriptTimeout(long timeoutMillis) Sets the amount of time to wait for an asynchronous script to finish execution before throwing an error.Methods inherited from interface com.vaadin.testbench.HasDriver
getDriver
-
Method Details
-
setScriptTimeout
default void setScriptTimeout(long timeoutMillis) Sets the amount of time to wait for an asynchronous script to finish execution before throwing an error. If the timeout is negative, then the script will be allowed to run indefinitely.- Parameters:
timeoutMillis- The timeout value in milliseconds.
-
createCallableProxy
Create a TestBench proxy that invokes methods from the interface through a client call. -
createCallableProxy
Create a TestBench proxy that invokes methods from the interface through a client call on a side channel. -
call
Deprecated.
-