Class 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 Detail

      • SpringMobileRequestDeviceDataPopulator

        public SpringMobileRequestDeviceDataPopulator()
    • 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 interface Populator<javax.servlet.http.HttpServletRequest,​DeviceData>
        Parameters:
        source - the source object
        target - 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)