com.vaadin.terminal.


Interface ParameterHandler

All Superinterfaces:

Serializable

All Known Implementing Classes:

Window

public interface ParameterHandler
extends Serializable

ParameterHandler is implemented by classes capable of handling external parameters.

What parameters are provided depend on what the Terminal provides and if the application is deployed as a servlet or portlet. URL GET parameters are typically provided to the handleParameters(Map) method.

A ParameterHandler must be registered to a Window using Window.addParameterHandler(ParameterHandler) to be called when parameters are available.

Since:

3.0

Version:

6.8.18

Author:

Vaadin Ltd.

Nested Class Summary
static interface ParameterHandler.ErrorEvent
          An ErrorEvent implementation for ParameterHandler.
 
Method Summary
 void handleParameters(Map<String,String[]> parameters)
          Handles the given parameters.
 

Method Detail

handleParameters

void handleParameters(Map<String,String[]> parameters)

Handles the given parameters. All parameters names are of type String and the values are String arrays.

Parameters:
parameters - an unmodifiable map which contains the parameter names and values