Example usage for org.apache.wicket.protocol.http WebSession getMetaData

List of usage examples for org.apache.wicket.protocol.http WebSession getMetaData

Introduction

In this page you can find the example usage for org.apache.wicket.protocol.http WebSession getMetaData.

Prototype

public synchronized final <M extends Serializable> M getMetaData(final MetaDataKey<M> key) 

Source Link

Document

Gets metadata for this session using the given key.

Usage

From source file:org.xaloon.wicket.component.security.panel.SignInPanel.java

License:Apache License

private String getReferer(WebSession session) {
    String refereUrl = session.getMetaData(METADATAKEY_REFERER);
    // Clean up referer
    session.setMetaData(METADATAKEY_REFERER, null);
    return refereUrl;
}