| 程序包 | 说明 |
|---|---|
| cn.ponfee.commons.web |
| 限定符和类型 | 字段和说明 |
|---|---|
static LiteDevice |
LiteDevice.MOBILE_INSTANCE |
static LiteDevice |
LiteDevice.NORMAL_INSTANCE |
static LiteDevice |
LiteDevice.TABLET_INSTANCE |
| 限定符和类型 | 方法和说明 |
|---|---|
static LiteDevice |
LiteDevice.from(DeviceType deviceType,
DevicePlatform devicePlatform) |
static LiteDevice |
WebContext.getClientDevice()
获取客户端设备类型
|
static LiteDevice |
WebUtils.getClientDevice(javax.servlet.http.HttpServletRequest req)
获取客户端设备类型
|
LiteDevice |
LiteDeviceResolver.resolveDevice(javax.servlet.http.HttpServletRequest request) |
protected LiteDevice |
LiteDeviceResolver.resolveFallback(javax.servlet.http.HttpServletRequest request)
Fallback called if no mobile device is matched by this resolver.
|
protected LiteDevice |
LiteDeviceResolver.resolveWithPlatform(DeviceType deviceType,
DevicePlatform devicePlatform)
Wrapper method for allow subclassing platform based resolution
|
Copyright © 2023. All rights reserved.