de.swm.gwt.linker.server.propertyprovider.PropertyProviderBaseImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of swm-gwt-client Show documentation
Show all versions of swm-gwt-client Show documentation
Plain GWT Swm erweiterungen, auch zur benutzung in mobilen Geraeten
The newest version!
package de.swm.gwt.linker.server.propertyprovider;
import javax.servlet.http.HttpServletRequest;
/**
*
* @author Daniel Kurka (see http://code.google.com/p/mgwt/)
*
*/
public abstract class PropertyProviderBaseImpl implements PropertyProvider {
private static final long serialVersionUID = 8038603215822600098L;
protected String getUserAgent(HttpServletRequest req) {
return req.getHeader("User-Agent").toLowerCase();
}
}