info.magnolia.module.devicedetection
Class DeviceChannelResolver
java.lang.Object
info.magnolia.module.devicedetection.DeviceChannelResolver
- All Implemented Interfaces:
- info.magnolia.channel.ChannelResolver
public class DeviceChannelResolver
- extends Object
- implements info.magnolia.channel.ChannelResolver
ChannelResolver resolving based on DeviceInfo set in HttpRequest.
- Version:
- $Id$
Fields inherited from interface info.magnolia.channel.ChannelResolver |
ALL, UNRESOLVED |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SMARTPHONE
public static final String SMARTPHONE
- See Also:
- Constant Field Values
TABLET
public static final String TABLET
- See Also:
- Constant Field Values
DESKTOP
public static final String DESKTOP
- See Also:
- Constant Field Values
DeviceChannelResolver
public DeviceChannelResolver(info.magnolia.cms.beans.config.ServerConfiguration server)
resolveChannel
public String resolveChannel(javax.servlet.http.HttpServletRequest request)
- Specified by:
resolveChannel
in interface info.magnolia.channel.ChannelResolver
Copyright © 2012 Magnolia International Ltd.. All Rights Reserved.