Guest User

Untitled

a guest
Apr 24th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. @Override
  2. protected VaadinServletService createServletService(DeploymentConfiguration deploymentConfiguration) throws ServiceException
  3. {
  4. final VaadinCDIServletService service = new VaadinCDIServletService(this, deploymentConfiguration)
  5. {
  6. @Override
  7. public String getConfiguredTheme(VaadinRequest request)
  8. {
  9. Cookie[] cookies = request.getCookies();
  10. for(int i = 0; i < cookies.length; i++)
  11. {
  12. String name = cookies[i].getName();
  13. String value = cookies[i].getValue();
  14. String patch = cookies[i].getPath();
  15. }
  16.  
  17.  
  18.  
  19. return "e";
  20. }
  21.  
  22. };
  23. service.init();
  24. return service;
  25. }
Add Comment
Please, Sign In to add comment