Class SpringMobileRequestDeviceDataPopulator
- java.lang.Object
-
- de.hybris.platform.acceleratorfacades.device.populators.SpringMobileRequestDeviceDataPopulator
-
- All Implemented Interfaces:
Populator<javax.servlet.http.HttpServletRequest,DeviceData>
public class SpringMobileRequestDeviceDataPopulator extends java.lang.Object implements Populator<javax.servlet.http.HttpServletRequest,DeviceData>
-
-
Constructor Summary
Constructors Constructor Description SpringMobileRequestDeviceDataPopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.mobile.device.DeviceResolver
getDeviceResolver()
void
populate(javax.servlet.http.HttpServletRequest source, DeviceData target)
Populate the target instance with values from the source instance.void
setDeviceResolver(org.springframework.mobile.device.DeviceResolver deviceResolver)
java.lang.String
toStringDeviceData(DeviceData device)
-
-
-
Method Detail
-
populate
public void populate(javax.servlet.http.HttpServletRequest source, DeviceData target) throws ConversionException
Description copied from interface:Populator
Populate the target instance with values from the source instance.- Specified by:
populate
in interfacePopulator<javax.servlet.http.HttpServletRequest,DeviceData>
- Parameters:
source
- the source objecttarget
- the target to fill- Throws:
ConversionException
- if an error occurs
-
toStringDeviceData
public java.lang.String toStringDeviceData(DeviceData device)
-
getDeviceResolver
public org.springframework.mobile.device.DeviceResolver getDeviceResolver()
-
setDeviceResolver
public void setDeviceResolver(org.springframework.mobile.device.DeviceResolver deviceResolver)
-
-