Announcement Announcement Module
Collapse
No announcement yet.
Is it possible to autowire Device in controllers? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Is it possible to autowire Device in controllers?

    I wonder if it's possible with Spring Mobile to autowire Device in controllers just like it's possible for HttpSession or HttpRequest?

    @Autowired
    Device device;

  • #2
    We do not support @Autowired for Device. However, DeviceHandlerMethodArgumentResolver, which will resolve the device method parameter in your controller methods. Do you have a use case that is not covered by this route?

    Comment


    • #3
      i don't know about this question.sorry..

      Comment

      Working...
      X