Move session store/load/remove logic to service from session (#9782, #18998)
The session storage logic when implemented in VaadinSession was and must be
partly static. This makes it impossible to override the storage logic.
To be able to support storage customizations for portals (storing using
APPLICATION_SCOPE), the logic was moved to VaadinService.
For portals, all storage operations now use APPLICATION_SCOPE. Previously
only the store operation was done using APPLICATION_SCOPE, leading to
some portals not being able to load the session at all (the default
scope for reading attributes in portals is PORTLET_SCOPE).
Change-Id: I3d112608d98c883a457e650c0a25bf10c81acc78
GAE related fixes: another GAE app, new license, javadoc mistake fix(#18168)
Google forces applications owners to migrate all applications to
a new [High Replication] DataStorage. An old Vaadin application is deleted,
and a new one is created because of that migration.
GAE license is replaced with latest one.
Change-Id: Ie6de09f0c1c621308ad8e0cfc2ba7b42bfb10429
Attempt to get GAE lock for UIDL requests (#12211)
Also removing the overhead of creating a Date object just for getting a
timestamp in the otherwise touched areas of code.
Change-Id: Ic712c0ae26d22995ad332593dbb8a14dbec7fcd6
Refactored how all requests are handled by VaadinServlet and VaadinPortlet (#11192)
* Handling is now based on a list of RequestHandlers in VaadinService
* Request handling logic has been moved to VaadinService
* Users can customize the list by adding own (service level) request handlers
* For users specific request handlers you can still use the request handlers in VaadinSession
* Deprecated RequestType - all handlers are given the opportunity to handle a request until one of them chooses to handle it. RequestType makes no sense as it does not tell which handler will handle the request.
* Removed serveStaticResource which has never been used
Change-Id: Ia7d088535e46430ca8adf631d3f1dd944b9d51e2
Bootstrap UI using relative URLs with servlets (#6771)
* Configure widgetset using URLs relative to the requested page
* Provide a Util method for getting an absolute URL from a relative URL
* Test by using an embedded Jetty acting as a transparent proxy
* Make /embed1 use the Buttons test to enable testing UIDL requests
Change-Id: I4ef9b40e3954ae16b682d743a339f4360db40d4d
opening the servlet implementation for customized communication ( e.g. jsonp, websockets)
* WebApplicationContext implementation can now be overridden in servlets via getApplicationContext method. Deprecated createCommunicationManager method as it is now obsolete (introduced earlier in 6.5 branch, dontpush is the only known user).
* opened getApplicationUrl for special implementations
svn changeset:16950/svn branch:6.5
This is the implementation of the server-side logging feature
- Changed some loglevels according to review
- Don't log unecessary stacktraces in portlets
- printStackTrace:s replaced with JUL logging
- System.out and System.errs replaced with JUL logging
svn changeset:15493/svn branch:6.5
#4569 - criticalNotification can only be used in UIDL requests
* Errors are now logged even if criticalNotification should fail
* CriticalNotification produces an HTML page for non-UIDL requests
svn changeset:13313/svn branch:6.3