The org.zkoss.zk.ui.Execution interface provides information about the current execution, such as the request parameters. To get the current execution, you could do one of follows.
If you are in a component, use getDesktop().getExecution().
If you don't have any reference to component, page or desktop, use the getCurrent method in the org.zkoss.zk.ui.Executions class.