Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Override
- protected VaadinServletService createServletService(DeploymentConfiguration deploymentConfiguration) throws ServiceException
- {
- final VaadinCDIServletService service = new VaadinCDIServletService(this, deploymentConfiguration)
- {
- @Override
- public String getConfiguredTheme(VaadinRequest request)
- {
- Cookie[] cookies = request.getCookies();
- for(int i = 0; i < cookies.length; i++)
- {
- String name = cookies[i].getName();
- String value = cookies[i].getValue();
- String patch = cookies[i].getPath();
- }
- return "e";
- }
- };
- service.init();
- return service;
- }
Add Comment
Please, Sign In to add comment