
org.directwebremoting.extend.IdGenerator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dwr Show documentation
Show all versions of dwr Show documentation
DWR is easy Ajax for Java. It makes it simple to call Java code directly from Javascript.
It gets rid of almost all the boilerplate code between the web browser and your Java code.
This version 4.0.2 works with Jakarta Servlet 4.0.2.
The newest version!
package org.directwebremoting.extend;
/**
* Id generator for DWR's CSRF protection session cookies and other duties.
* @author Mike Wilson [mikewse at g mail dot com]
*/
public interface IdGenerator
{
/**
* Generates an id string unique enough to avoid duplicates within one
* server session and all its corresponding user sessions.
* @return A unique id string
*/
String generate();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy