Browse Source

Merged com.vaadin.terminal.gwt.server into com.vaadin.server (#9431)

tags/7.0.0.beta1
Artur Signell 11 years ago
parent
commit
63595217a2
100 changed files with 128 additions and 228 deletions
  1. 2
    2
      WebContent/WEB-INF/portlet.xml
  2. 1
    1
      WebContent/WEB-INF/web.xml
  3. 1
    1
      client-compiler/src/com/vaadin/terminal/gwt/widgetsetutils/WidgetMapGenerator.java
  4. 1
    1
      client/src/com/vaadin/client/ApplicationConfiguration.java
  5. 1
    1
      client/src/com/vaadin/client/ApplicationConnection.java
  6. 2
    2
      client/src/com/vaadin/client/communication/JSONSerializer.java
  7. 2
    2
      client/src/com/vaadin/client/ui/combobox/ComboBoxConnector.java
  8. 2
    3
      client/src/com/vaadin/client/ui/table/TableConnector.java
  9. 8
    8
      server/src/com/vaadin/Application.java
  10. 1
    1
      server/src/com/vaadin/annotations/JavaScript.java
  11. 1
    1
      server/src/com/vaadin/annotations/StyleSheet.java
  12. 1
    1
      server/src/com/vaadin/data/Validator.java
  13. 11
    13
      server/src/com/vaadin/package.html
  14. 2
    6
      server/src/com/vaadin/server/AbstractApplicationPortlet.java
  15. 2
    7
      server/src/com/vaadin/server/AbstractApplicationServlet.java
  16. 0
    6
      server/src/com/vaadin/server/AbstractClientConnector.java
  17. 4
    15
      server/src/com/vaadin/server/AbstractCommunicationManager.java
  18. 1
    2
      server/src/com/vaadin/server/AbstractDeploymentConfiguration.java
  19. 0
    1
      server/src/com/vaadin/server/AbstractErrorMessage.java
  20. 0
    1
      server/src/com/vaadin/server/AbstractExtension.java
  21. 1
    1
      server/src/com/vaadin/server/AbstractStreamingEvent.java
  22. 1
    2
      server/src/com/vaadin/server/AbstractWebApplicationContext.java
  23. 5
    6
      server/src/com/vaadin/server/AddonContext.java
  24. 1
    1
      server/src/com/vaadin/server/AddonContextEvent.java
  25. 2
    3
      server/src/com/vaadin/server/AddonContextListener.java
  26. 2
    2
      server/src/com/vaadin/server/ApplicationPortlet2.java
  27. 1
    6
      server/src/com/vaadin/server/ApplicationResourceHandler.java
  28. 2
    3
      server/src/com/vaadin/server/ApplicationServlet.java
  29. 1
    1
      server/src/com/vaadin/server/ApplicationStartedEvent.java
  30. 1
    1
      server/src/com/vaadin/server/ApplicationStartedListener.java
  31. 1
    1
      server/src/com/vaadin/server/BootstrapDom.java
  32. 1
    2
      server/src/com/vaadin/server/BootstrapFragmentResponse.java
  33. 1
    6
      server/src/com/vaadin/server/BootstrapHandler.java
  34. 1
    1
      server/src/com/vaadin/server/BootstrapListener.java
  35. 1
    3
      server/src/com/vaadin/server/BootstrapPageResponse.java
  36. 1
    2
      server/src/com/vaadin/server/BootstrapResponse.java
  37. 1
    1
      server/src/com/vaadin/server/ChangeVariablesErrorEvent.java
  38. 1
    3
      server/src/com/vaadin/server/ClientConnector.java
  39. 1
    1
      server/src/com/vaadin/server/ClientMethodInvocation.java
  40. 0
    2
      server/src/com/vaadin/server/CombinedRequest.java
  41. 1
    3
      server/src/com/vaadin/server/CommunicationManager.java
  42. 1
    1
      server/src/com/vaadin/server/ComponentSizeValidator.java
  43. 1
    1
      server/src/com/vaadin/server/Constants.java
  44. 0
    2
      server/src/com/vaadin/server/DeploymentConfiguration.java
  45. 0
    1
      server/src/com/vaadin/server/DownloadStream.java
  46. 1
    4
      server/src/com/vaadin/server/DragAndDropService.java
  47. 1
    1
      server/src/com/vaadin/server/EncodeResult.java
  48. 0
    1
      server/src/com/vaadin/server/Extension.java
  49. 2
    2
      server/src/com/vaadin/server/GAEApplicationServlet.java
  50. 1
    2
      server/src/com/vaadin/server/HttpServletRequestListener.java
  51. 1
    1
      server/src/com/vaadin/server/JsonCodec.java
  52. 1
    6
      server/src/com/vaadin/server/JsonPaintTarget.java
  53. 1
    1
      server/src/com/vaadin/server/NoInputStreamException.java
  54. 1
    1
      server/src/com/vaadin/server/NoOutputStreamException.java
  55. 0
    2
      server/src/com/vaadin/server/Page.java
  56. 0
    1
      server/src/com/vaadin/server/PaintTarget.java
  57. 1
    2
      server/src/com/vaadin/server/PortletApplicationContext2.java
  58. 1
    5
      server/src/com/vaadin/server/PortletCommunicationManager.java
  59. 1
    2
      server/src/com/vaadin/server/PortletRequestListener.java
  60. 1
    1
      server/src/com/vaadin/server/RequestTimer.java
  61. 1
    5
      server/src/com/vaadin/server/ResourceReference.java
  62. 1
    1
      server/src/com/vaadin/server/RestrictedRenderResponse.java
  63. 1
    1
      server/src/com/vaadin/server/RpcManager.java
  64. 1
    2
      server/src/com/vaadin/server/RpcTarget.java
  65. 1
    1
      server/src/com/vaadin/server/ServerRpcManager.java
  66. 1
    1
      server/src/com/vaadin/server/ServerRpcMethodInvocation.java
  67. 1
    3
      server/src/com/vaadin/server/ServletPortletHelper.java
  68. 1
    1
      server/src/com/vaadin/server/SessionExpiredException.java
  69. 1
    1
      server/src/com/vaadin/server/StreamingEndEventImpl.java
  70. 1
    1
      server/src/com/vaadin/server/StreamingErrorEventImpl.java
  71. 1
    1
      server/src/com/vaadin/server/StreamingProgressEventImpl.java
  72. 1
    1
      server/src/com/vaadin/server/StreamingStartEventImpl.java
  73. 0
    1
      server/src/com/vaadin/server/SystemError.java
  74. 1
    1
      server/src/com/vaadin/server/SystemMessageException.java
  75. 1
    4
      server/src/com/vaadin/server/UnsupportedBrowserHandler.java
  76. 1
    1
      server/src/com/vaadin/server/UploadException.java
  77. 1
    1
      server/src/com/vaadin/server/Vaadin6Component.java
  78. 1
    1
      server/src/com/vaadin/server/WebApplicationContext.java
  79. 1
    2
      server/src/com/vaadin/server/WebBrowser.java
  80. 1
    4
      server/src/com/vaadin/server/WrappedHttpServletRequest.java
  81. 1
    3
      server/src/com/vaadin/server/WrappedHttpServletResponse.java
  82. 1
    4
      server/src/com/vaadin/server/WrappedPortletRequest.java
  83. 1
    3
      server/src/com/vaadin/server/WrappedPortletResponse.java
  84. 0
    1
      server/src/com/vaadin/server/WrappedRequest.java
  85. 1
    1
      server/src/com/vaadin/service/ApplicationContext.java
  86. 3
    3
      server/src/com/vaadin/ui/AbstractComponent.java
  87. 1
    1
      server/src/com/vaadin/ui/AbstractComponentContainer.java
  88. 1
    1
      server/src/com/vaadin/ui/AbstractEmbedded.java
  89. 1
    1
      server/src/com/vaadin/ui/AbstractMedia.java
  90. 1
    1
      server/src/com/vaadin/ui/Component.java
  91. 2
    2
      server/src/com/vaadin/ui/ConnectorTracker.java
  92. 1
    1
      server/src/com/vaadin/ui/CustomLayout.java
  93. 1
    1
      server/src/com/vaadin/ui/UI.java
  94. 2
    2
      server/src/com/vaadin/ui/Upload.java
  95. 1
    1
      server/src/com/vaadin/ui/Video.java
  96. 1
    1
      shared/src/com/vaadin/shared/Connector.java
  97. 1
    1
      shared/src/com/vaadin/shared/VBrowserDetails.java
  98. 1
    1
      shared/src/com/vaadin/shared/ui/Connect.java
  99. 3
    2
      tests/client-side/com/vaadin/server/JSONSerializerTest.java
  100. 0
    0
      tests/server-side/com/vaadin/data/util/AbstractContainerTest.java

+ 2
- 2
WebContent/WEB-INF/portlet.xml View File

@@ -6,7 +6,7 @@
<portlet>
<portlet-name>JSR286TestPortlet</portlet-name>
<display-name>Vaadin Portlet 2.0 Test</display-name>
<portlet-class>com.vaadin.terminal.gwt.server.ApplicationPortlet2</portlet-class>
<portlet-class>com.vaadin.server.ApplicationPortlet2</portlet-class>
<init-param>
<name>application</name>
<value>com.vaadin.tests.integration.JSR286PortletApplication</value>
@@ -44,7 +44,7 @@
<portlet-name>Vaadin Liferay Theme Portlet</portlet-name>
<display-name>Vaadin Liferay Theme</display-name>
<portlet-class>com.vaadin.terminal.gwt.server.ApplicationPortlet2</portlet-class>
<portlet-class>com.vaadin.server.ApplicationPortlet2</portlet-class>
<init-param>
<name>application</name>
<value>com.vaadin.tests.integration.LiferayThemeDemo</value>

+ 1
- 1
WebContent/WEB-INF/web.xml View File

@@ -28,7 +28,7 @@
<!-- For testing GAE - the deployment script changes this to use GAEApplicationServlet -->
<servlet>
<servlet-name>IntegrationTest</servlet-name>
<servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>
<servlet-class>com.vaadin.server.ApplicationServlet</servlet-class>
<init-param>
<param-name>application</param-name>
<param-value>com.vaadin.tests.integration.IntegrationTestApplication</param-value>

+ 1
- 1
client-compiler/src/com/vaadin/terminal/gwt/widgetsetutils/WidgetMapGenerator.java View File

@@ -38,10 +38,10 @@ import com.google.gwt.user.rebind.SourceWriter;
import com.vaadin.client.ServerConnector;
import com.vaadin.client.ui.UnknownComponentConnector;
import com.vaadin.client.ui.UI.UIConnector;
import com.vaadin.server.ClientConnector;
import com.vaadin.shared.Connector;
import com.vaadin.shared.ui.Connect;
import com.vaadin.shared.ui.Connect.LoadStyle;
import com.vaadin.terminal.gwt.server.ClientConnector;

/**
* WidgetMapGenerator's are GWT generator to build WidgetMapImpl dynamically

+ 1
- 1
client/src/com/vaadin/client/ApplicationConfiguration.java View File

@@ -146,7 +146,7 @@ public class ApplicationConfiguration implements EntryPoint {
*
* @return a string with the version
*
* @see com.vaadin.terminal.gwt.server.AbstractApplicationServlet#VERSION
* @see com.vaadin.server.AbstractApplicationServlet#VERSION
*/
private native String getVaadinVersion()
/*-{

+ 1
- 1
client/src/com/vaadin/client/ApplicationConnection.java View File

@@ -86,7 +86,7 @@ import com.vaadin.shared.ui.ui.UIConstants;
/**
* This is the client side communication "engine", managing client-server
* communication with its server side counterpart
* com.vaadin.terminal.gwt.server.AbstractCommunicationManager.
* com.vaadin.server.AbstractCommunicationManager.
*
* Client-side connectors receive updates from the corresponding server-side
* connector (typically component) as state updates or RPC calls. The connector

+ 2
- 2
client/src/com/vaadin/client/communication/JSONSerializer.java View File

@@ -41,7 +41,7 @@ public interface JSONSerializer<T> {
* Creates and deserializes an object received from the server. Must be
* compatible with {@link #serialize(Object, ConnectorMap)} and also with
* the server side JsonCodec.encode(Object,
* com.vaadin.terminal.gwt.server.PaintableIdMapper) .
* com.vaadin.server.PaintableIdMapper) .
*
* @param jsonValue
* JSON map from property name to property value
@@ -54,7 +54,7 @@ public interface JSONSerializer<T> {
* Serialize the given object into JSON. Must be compatible with
* {@link #deserialize(JSONObject, ConnectorMap)} and also with the server
* side JsonCodec.decode(com.vaadin.external.json.JSONArray,
* com.vaadin.terminal.gwt.server.PaintableIdMapper)
* com.vaadin.server.PaintableIdMapper)
*
* @param value
* The object to serialize

+ 2
- 2
client/src/com/vaadin/client/ui/combobox/ComboBoxConnector.java View File

@@ -36,8 +36,8 @@ public class ComboBoxConnector extends AbstractFieldConnector implements
/*
* (non-Javadoc)
*
* @see com.vaadin.client.Paintable#updateFromUIDL(com.vaadin.terminal
* .gwt.client.UIDL, com.vaadin.client.ApplicationConnection)
* @see com.vaadin.client.Paintable#updateFromUIDL(com.vaadin.client.UIDL,
* com.vaadin.client.ApplicationConnection)
*/
@Override
public void updateFromUIDL(UIDL uidl, ApplicationConnection client) {

+ 2
- 3
client/src/com/vaadin/client/ui/table/TableConnector.java View File

@@ -53,9 +53,8 @@ public class TableConnector extends AbstractComponentContainerConnector
/*
* (non-Javadoc)
*
* @see
* com.vaadin.client.Paintable#updateFromUIDL(com.vaadin.terminal
* .gwt.client.UIDL, com.vaadin.client.ApplicationConnection)
* @see com.vaadin.client.Paintable#updateFromUIDL(com.vaadin.client.UIDL,
* com.vaadin.client.ApplicationConnection)
*/
@Override
public void updateFromUIDL(UIDL uidl, ApplicationConnection client) {

+ 8
- 8
server/src/com/vaadin/Application.java View File

@@ -51,27 +51,27 @@ import com.vaadin.data.util.converter.Converter;
import com.vaadin.data.util.converter.ConverterFactory;
import com.vaadin.data.util.converter.DefaultConverterFactory;
import com.vaadin.event.EventRouter;
import com.vaadin.server.AbstractApplicationServlet;
import com.vaadin.server.AbstractErrorMessage;
import com.vaadin.server.ApplicationResource;
import com.vaadin.server.BootstrapFragmentResponse;
import com.vaadin.server.BootstrapListener;
import com.vaadin.server.BootstrapPageResponse;
import com.vaadin.server.BootstrapResponse;
import com.vaadin.server.ChangeVariablesErrorEvent;
import com.vaadin.server.ClientConnector;
import com.vaadin.server.CombinedRequest;
import com.vaadin.server.DeploymentConfiguration;
import com.vaadin.server.RequestHandler;
import com.vaadin.server.Terminal;
import com.vaadin.server.UIProvider;
import com.vaadin.server.VariableOwner;
import com.vaadin.server.WebApplicationContext;
import com.vaadin.server.WrappedRequest;
import com.vaadin.server.WrappedResponse;
import com.vaadin.server.WrappedRequest.BrowserDetails;
import com.vaadin.service.ApplicationContext;
import com.vaadin.shared.ui.ui.UIConstants;
import com.vaadin.terminal.gwt.server.AbstractApplicationServlet;
import com.vaadin.terminal.gwt.server.BootstrapFragmentResponse;
import com.vaadin.terminal.gwt.server.BootstrapListener;
import com.vaadin.terminal.gwt.server.BootstrapPageResponse;
import com.vaadin.terminal.gwt.server.BootstrapResponse;
import com.vaadin.terminal.gwt.server.ChangeVariablesErrorEvent;
import com.vaadin.terminal.gwt.server.ClientConnector;
import com.vaadin.terminal.gwt.server.WebApplicationContext;
import com.vaadin.tools.ReflectTools;
import com.vaadin.ui.AbstractComponent;
import com.vaadin.ui.AbstractField;

+ 1
- 1
server/src/com/vaadin/annotations/JavaScript.java View File

@@ -21,7 +21,7 @@ import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.vaadin.terminal.gwt.server.ClientConnector;
import com.vaadin.server.ClientConnector;

/**
* If this annotation is present on a {@link ClientConnector} class, the

+ 1
- 1
server/src/com/vaadin/annotations/StyleSheet.java View File

@@ -21,7 +21,7 @@ import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.vaadin.terminal.gwt.server.ClientConnector;
import com.vaadin.server.ClientConnector;

/**
* If this annotation is present on a {@link ClientConnector} class, the

+ 1
- 1
server/src/com/vaadin/data/Validator.java View File

@@ -18,7 +18,7 @@ package com.vaadin.data;

import java.io.Serializable;

import com.vaadin.terminal.gwt.server.AbstractApplicationServlet;
import com.vaadin.server.AbstractApplicationServlet;

/**
* Interface that implements a method for validating if an {@link Object} is

+ 11
- 13
server/src/com/vaadin/package.html View File

@@ -5,22 +5,20 @@

<body bgcolor="white">

<p>The Vaadin base package. Contains the Application class, the
starting point of any application that uses Vaadin.</p>
<p>The Vaadin base package. Contains the Application class, the
starting point of any application that uses Vaadin.</p>

<p>Contains all Vaadin core classes. A Vaadin application is based
on the {@link com.vaadin.Application} class and deployed as a servlet
using {@link com.vaadin.terminal.gwt.server.ApplicationServlet} or
{@link com.vaadin.terminal.gwt.server.GAEApplicationServlet} (for Google
App Engine).</p>
<p>Contains all Vaadin core classes. A Vaadin application is based
on the {@link com.vaadin.Application} class and deployed as a servlet
using {@link com.vaadin.server.ApplicationServlet} or {@link
com.vaadin.server.GAEApplicationServlet} (for Google App Engine).</p>

<p>Vaadin applications can also be deployed as portlets using {@link
com.vaadin.terminal.gwt.server.ApplicationPortlet} (JSR-168) or {@link
com.vaadin.terminal.gwt.server.ApplicationPortlet2} (JSR-286).</p>
<p>Vaadin applications can also be deployed as portlets using
{@link com.vaadin.server.ApplicationPortlet2} (JSR-286).</p>

<p>All classes in Vaadin are serializable unless otherwise noted.
This allows Vaadin applications to run in cluster and cloud
environments.</p>
<p>All classes in Vaadin are serializable unless otherwise noted.
This allows Vaadin applications to run in cluster and cloud
environments.</p>


</body>

server/src/com/vaadin/terminal/gwt/server/AbstractApplicationPortlet.java → server/src/com/vaadin/server/AbstractApplicationPortlet.java View File

@@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import java.io.BufferedWriter;
import java.io.IOException;
@@ -57,11 +57,7 @@ import com.vaadin.Application;
import com.vaadin.Application.ApplicationStartEvent;
import com.vaadin.Application.SystemMessages;
import com.vaadin.UIRequiresMoreInformationException;
import com.vaadin.server.DeploymentConfiguration;
import com.vaadin.server.Terminal;
import com.vaadin.server.WrappedRequest;
import com.vaadin.server.WrappedResponse;
import com.vaadin.terminal.gwt.server.AbstractCommunicationManager.Callback;
import com.vaadin.server.AbstractCommunicationManager.Callback;
import com.vaadin.ui.UI;

/**

server/src/com/vaadin/terminal/gwt/server/AbstractApplicationServlet.java → server/src/com/vaadin/server/AbstractApplicationServlet.java View File

@@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import java.io.BufferedWriter;
import java.io.IOException;
@@ -49,13 +49,8 @@ import javax.servlet.http.HttpSession;
import com.vaadin.Application;
import com.vaadin.Application.ApplicationStartEvent;
import com.vaadin.Application.SystemMessages;
import com.vaadin.server.DeploymentConfiguration;
import com.vaadin.server.Terminal;
import com.vaadin.server.ThemeResource;
import com.vaadin.server.WrappedRequest;
import com.vaadin.server.WrappedResponse;
import com.vaadin.server.AbstractCommunicationManager.Callback;
import com.vaadin.shared.ApplicationConstants;
import com.vaadin.terminal.gwt.server.AbstractCommunicationManager.Callback;
import com.vaadin.ui.UI;

/**

+ 0
- 6
server/src/com/vaadin/server/AbstractClientConnector.java View File

@@ -36,12 +36,6 @@ import com.vaadin.external.json.JSONObject;
import com.vaadin.shared.communication.ClientRpc;
import com.vaadin.shared.communication.ServerRpc;
import com.vaadin.shared.communication.SharedState;
import com.vaadin.terminal.gwt.server.AbstractCommunicationManager;
import com.vaadin.terminal.gwt.server.ClientConnector;
import com.vaadin.terminal.gwt.server.ClientMethodInvocation;
import com.vaadin.terminal.gwt.server.RpcManager;
import com.vaadin.terminal.gwt.server.RpcTarget;
import com.vaadin.terminal.gwt.server.ServerRpcManager;
import com.vaadin.ui.HasComponents;
import com.vaadin.ui.UI;


server/src/com/vaadin/terminal/gwt/server/AbstractCommunicationManager.java → server/src/com/vaadin/server/AbstractCommunicationManager.java View File

@@ -14,7 +14,7 @@
* the License.
*/

package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import java.io.BufferedWriter;
import java.io.ByteArrayOutputStream;
@@ -66,17 +66,9 @@ import com.vaadin.annotations.StyleSheet;
import com.vaadin.external.json.JSONArray;
import com.vaadin.external.json.JSONException;
import com.vaadin.external.json.JSONObject;
import com.vaadin.server.AbstractClientConnector;
import com.vaadin.server.CombinedRequest;
import com.vaadin.server.LegacyPaint;
import com.vaadin.server.PaintException;
import com.vaadin.server.PaintTarget;
import com.vaadin.server.RequestHandler;
import com.vaadin.server.StreamVariable;
import com.vaadin.server.Vaadin6Component;
import com.vaadin.server.VariableOwner;
import com.vaadin.server.WrappedRequest;
import com.vaadin.server.WrappedResponse;
import com.vaadin.server.BootstrapHandler.BootstrapContext;
import com.vaadin.server.ComponentSizeValidator.InvalidLayout;
import com.vaadin.server.RpcManager.RpcInvocationException;
import com.vaadin.server.StreamVariable.StreamingEndEvent;
import com.vaadin.server.StreamVariable.StreamingErrorEvent;
import com.vaadin.server.Terminal.ErrorEvent;
@@ -90,9 +82,6 @@ import com.vaadin.shared.communication.MethodInvocation;
import com.vaadin.shared.communication.SharedState;
import com.vaadin.shared.communication.UidlValue;
import com.vaadin.shared.ui.ui.UIConstants;
import com.vaadin.terminal.gwt.server.BootstrapHandler.BootstrapContext;
import com.vaadin.terminal.gwt.server.ComponentSizeValidator.InvalidLayout;
import com.vaadin.terminal.gwt.server.RpcManager.RpcInvocationException;
import com.vaadin.ui.AbstractComponent;
import com.vaadin.ui.AbstractField;
import com.vaadin.ui.Component;

server/src/com/vaadin/terminal/gwt/server/AbstractDeploymentConfiguration.java → server/src/com/vaadin/server/AbstractDeploymentConfiguration.java View File

@@ -14,7 +14,7 @@
* the License.
*/

package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import java.lang.reflect.Constructor;
import java.util.Iterator;
@@ -22,7 +22,6 @@ import java.util.Properties;
import java.util.ServiceLoader;
import java.util.logging.Logger;

import com.vaadin.server.DeploymentConfiguration;

public abstract class AbstractDeploymentConfiguration implements
DeploymentConfiguration {

+ 0
- 1
server/src/com/vaadin/server/AbstractErrorMessage.java View File

@@ -23,7 +23,6 @@ import java.util.List;

import com.vaadin.data.Buffered;
import com.vaadin.data.Validator;
import com.vaadin.terminal.gwt.server.AbstractApplicationServlet;

/**
* Base class for component error messages.

+ 0
- 1
server/src/com/vaadin/server/AbstractExtension.java View File

@@ -16,7 +16,6 @@

package com.vaadin.server;

import com.vaadin.terminal.gwt.server.ClientConnector;

/**
* An extension is an entity that is attached to a Component or another

server/src/com/vaadin/terminal/gwt/server/AbstractStreamingEvent.java → server/src/com/vaadin/server/AbstractStreamingEvent.java View File

@@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import com.vaadin.server.StreamVariable.StreamingEvent;


server/src/com/vaadin/terminal/gwt/server/AbstractWebApplicationContext.java → server/src/com/vaadin/server/AbstractWebApplicationContext.java View File

@@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import java.io.PrintWriter;
import java.io.Serializable;
@@ -34,7 +34,6 @@ import javax.servlet.http.HttpSessionBindingEvent;
import javax.servlet.http.HttpSessionBindingListener;

import com.vaadin.Application;
import com.vaadin.server.ApplicationResource;
import com.vaadin.service.ApplicationContext;
import com.vaadin.shared.ApplicationConstants;


server/src/com/vaadin/terminal/gwt/server/AddonContext.java → server/src/com/vaadin/server/AddonContext.java View File

@@ -14,7 +14,7 @@
* the License.
*/

package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import java.lang.reflect.Method;
import java.util.ArrayList;
@@ -24,7 +24,6 @@ import java.util.ServiceLoader;

import com.vaadin.Application;
import com.vaadin.event.EventRouter;
import com.vaadin.server.DeploymentConfiguration;
import com.vaadin.tools.ReflectTools;

/**
@@ -35,10 +34,10 @@ import com.vaadin.tools.ReflectTools;
* <p>
* By default, AddonContextListeners are loaded using {@link ServiceLoader},
* which means that the file
* META-INF/services/com.vaadin.terminal.gwt.server.AddonContextListener will be
* checked for lines containing fully qualified names of classes to use. This
* behavior can however be overridden for custom deployment situations (e.g. to
* use CDI or OSGi) by overriding
* META-INF/services/com.vaadin.server.AddonContextListener will be checked for
* lines containing fully qualified names of classes to use. This behavior can
* however be overridden for custom deployment situations (e.g. to use CDI or
* OSGi) by overriding
* {@link DeploymentConfiguration#getAddonContextListeners()}.
*
* @author Vaadin Ltd

server/src/com/vaadin/terminal/gwt/server/AddonContextEvent.java → server/src/com/vaadin/server/AddonContextEvent.java View File

@@ -14,7 +14,7 @@
* the License.
*/

package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import java.util.EventObject;


server/src/com/vaadin/terminal/gwt/server/AddonContextListener.java → server/src/com/vaadin/server/AddonContextListener.java View File

@@ -14,7 +14,7 @@
* the License.
*/

package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import java.util.EventListener;

@@ -22,8 +22,7 @@ import java.util.EventListener;
* Listener that gets notified then the {@link AddonContext} is initialized,
* allowing an add-on to add listeners to various parts of the framework. In a
* default configuration, add-ons can register their listeners by including a
* file named
* META-INF/services/com.vaadin.terminal.gwt.server.AddonContextListener
* file named META-INF/services/com.vaadin.server.AddonContextListener
* containing the fully qualified class names of classes implementing this
* interface.
*

server/src/com/vaadin/terminal/gwt/server/ApplicationPortlet2.java → server/src/com/vaadin/server/ApplicationPortlet2.java View File

@@ -14,13 +14,13 @@
* the License.
*/

package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import javax.portlet.PortletConfig;
import javax.portlet.PortletException;

import com.vaadin.Application;
import com.vaadin.terminal.gwt.server.ServletPortletHelper.ApplicationClassException;
import com.vaadin.server.ServletPortletHelper.ApplicationClassException;

/**
* TODO Write documentation, fix JavaDoc tags.

server/src/com/vaadin/terminal/gwt/server/ApplicationResourceHandler.java → server/src/com/vaadin/server/ApplicationResourceHandler.java View File

@@ -14,7 +14,7 @@
* the License.
*/

package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import java.io.IOException;
import java.util.regex.Matcher;
@@ -23,11 +23,6 @@ import java.util.regex.Pattern;
import javax.servlet.http.HttpServletResponse;

import com.vaadin.Application;
import com.vaadin.server.ApplicationResource;
import com.vaadin.server.DownloadStream;
import com.vaadin.server.RequestHandler;
import com.vaadin.server.WrappedRequest;
import com.vaadin.server.WrappedResponse;

public class ApplicationResourceHandler implements RequestHandler {
private static final Pattern APP_RESOURCE_PATTERN = Pattern

server/src/com/vaadin/terminal/gwt/server/ApplicationServlet.java → server/src/com/vaadin/server/ApplicationServlet.java View File

@@ -14,14 +14,13 @@
* the License.
*/

package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;

import com.vaadin.Application;
import com.vaadin.server.DefaultUIProvider;
import com.vaadin.terminal.gwt.server.ServletPortletHelper.ApplicationClassException;
import com.vaadin.server.ServletPortletHelper.ApplicationClassException;

/**
* This servlet connects a Vaadin Application to Web.

server/src/com/vaadin/terminal/gwt/server/ApplicationStartedEvent.java → server/src/com/vaadin/server/ApplicationStartedEvent.java View File

@@ -14,7 +14,7 @@
* the License.
*/

package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import java.util.EventObject;


server/src/com/vaadin/terminal/gwt/server/ApplicationStartedListener.java → server/src/com/vaadin/server/ApplicationStartedListener.java View File

@@ -14,7 +14,7 @@
* the License.
*/

package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import java.util.EventListener;


server/src/com/vaadin/terminal/gwt/server/BootstrapDom.java → server/src/com/vaadin/server/BootstrapDom.java View File

@@ -14,7 +14,7 @@
* the License.
*/

package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

public class BootstrapDom {


server/src/com/vaadin/terminal/gwt/server/BootstrapFragmentResponse.java → server/src/com/vaadin/server/BootstrapFragmentResponse.java View File

@@ -14,14 +14,13 @@
* the License.
*/

package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import java.util.List;

import org.jsoup.nodes.Node;

import com.vaadin.Application;
import com.vaadin.server.WrappedRequest;

/**
* A representation of a bootstrap fragment being generated. The bootstrap

server/src/com/vaadin/terminal/gwt/server/BootstrapHandler.java → server/src/com/vaadin/server/BootstrapHandler.java View File

@@ -14,7 +14,7 @@
* the License.
*/

package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import java.io.BufferedWriter;
import java.io.IOException;
@@ -40,11 +40,6 @@ import com.vaadin.Application;
import com.vaadin.UIRequiresMoreInformationException;
import com.vaadin.external.json.JSONException;
import com.vaadin.external.json.JSONObject;
import com.vaadin.server.DeploymentConfiguration;
import com.vaadin.server.PaintException;
import com.vaadin.server.RequestHandler;
import com.vaadin.server.WrappedRequest;
import com.vaadin.server.WrappedResponse;
import com.vaadin.shared.ApplicationConstants;
import com.vaadin.shared.Version;
import com.vaadin.shared.ui.ui.UIConstants;

server/src/com/vaadin/terminal/gwt/server/BootstrapListener.java → server/src/com/vaadin/server/BootstrapListener.java View File

@@ -14,7 +14,7 @@
* the License.
*/

package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import java.util.EventListener;


server/src/com/vaadin/terminal/gwt/server/BootstrapPageResponse.java → server/src/com/vaadin/server/BootstrapPageResponse.java View File

@@ -14,15 +14,13 @@
* the License.
*/

package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import java.util.Map;

import org.jsoup.nodes.Document;

import com.vaadin.Application;
import com.vaadin.server.WrappedRequest;
import com.vaadin.server.WrappedResponse;

/**
* A representation of a bootstrap page being generated. The bootstrap page

server/src/com/vaadin/terminal/gwt/server/BootstrapResponse.java → server/src/com/vaadin/server/BootstrapResponse.java View File

@@ -14,13 +14,12 @@
* the License.
*/

package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import java.util.EventObject;

import com.vaadin.Application;
import com.vaadin.UIRequiresMoreInformationException;
import com.vaadin.server.WrappedRequest;
import com.vaadin.ui.UI;

/**

server/src/com/vaadin/terminal/gwt/server/ChangeVariablesErrorEvent.java → server/src/com/vaadin/server/ChangeVariablesErrorEvent.java View File

@@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import java.util.Map;


server/src/com/vaadin/terminal/gwt/server/ClientConnector.java → server/src/com/vaadin/server/ClientConnector.java View File

@@ -13,15 +13,13 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import java.util.Collection;
import java.util.List;

import com.vaadin.external.json.JSONException;
import com.vaadin.external.json.JSONObject;
import com.vaadin.server.AbstractClientConnector;
import com.vaadin.server.Extension;
import com.vaadin.shared.Connector;
import com.vaadin.shared.communication.SharedState;
import com.vaadin.ui.Component;

server/src/com/vaadin/terminal/gwt/server/ClientMethodInvocation.java → server/src/com/vaadin/server/ClientMethodInvocation.java View File

@@ -14,7 +14,7 @@
* the License.
*/

package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import java.io.Serializable;
import java.lang.reflect.Method;

+ 0
- 2
server/src/com/vaadin/server/CombinedRequest.java View File

@@ -28,8 +28,6 @@ import com.vaadin.Application;
import com.vaadin.external.json.JSONArray;
import com.vaadin.external.json.JSONException;
import com.vaadin.external.json.JSONObject;
import com.vaadin.terminal.gwt.server.WebApplicationContext;
import com.vaadin.terminal.gwt.server.WebBrowser;

/**
* A {@link WrappedRequest} with path and parameters from one request and

server/src/com/vaadin/terminal/gwt/server/CommunicationManager.java → server/src/com/vaadin/server/CommunicationManager.java View File

@@ -14,7 +14,7 @@
* the License.
*/

package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import java.io.InputStream;
import java.net.URL;
@@ -23,8 +23,6 @@ import javax.servlet.ServletContext;

import com.vaadin.Application;
import com.vaadin.external.json.JSONException;
import com.vaadin.server.PaintException;
import com.vaadin.server.WrappedRequest;
import com.vaadin.ui.UI;

/**

server/src/com/vaadin/terminal/gwt/server/ComponentSizeValidator.java → server/src/com/vaadin/server/ComponentSizeValidator.java View File

@@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import java.io.PrintStream;
import java.io.PrintWriter;

server/src/com/vaadin/terminal/gwt/server/Constants.java → server/src/com/vaadin/server/Constants.java View File

@@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

/**
* TODO Document me!

+ 0
- 2
server/src/com/vaadin/server/DeploymentConfiguration.java View File

@@ -24,8 +24,6 @@ import javax.portlet.PortletContext;
import javax.servlet.ServletContext;

import com.vaadin.service.ApplicationContext;
import com.vaadin.terminal.gwt.server.AddonContext;
import com.vaadin.terminal.gwt.server.AddonContextListener;

/**
* Provide deployment specific settings that are required outside terminal

+ 0
- 1
server/src/com/vaadin/server/DownloadStream.java View File

@@ -26,7 +26,6 @@ import java.util.Map;

import javax.servlet.http.HttpServletResponse;

import com.vaadin.terminal.gwt.server.Constants;

/**
* Downloadable stream.

server/src/com/vaadin/terminal/gwt/server/DragAndDropService.java → server/src/com/vaadin/server/DragAndDropService.java View File

@@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import java.io.PrintWriter;
import java.util.Collection;
@@ -33,9 +33,6 @@ import com.vaadin.event.dd.TargetDetailsImpl;
import com.vaadin.event.dd.acceptcriteria.AcceptCriterion;
import com.vaadin.external.json.JSONException;
import com.vaadin.external.json.JSONObject;
import com.vaadin.server.Extension;
import com.vaadin.server.PaintException;
import com.vaadin.server.VariableOwner;
import com.vaadin.shared.ApplicationConstants;
import com.vaadin.shared.communication.SharedState;
import com.vaadin.shared.ui.dd.DragEventType;

server/src/com/vaadin/terminal/gwt/server/EncodeResult.java → server/src/com/vaadin/server/EncodeResult.java View File

@@ -14,7 +14,7 @@
* the License.
*/

package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

public class EncodeResult {
private final Object encodedValue;

+ 0
- 1
server/src/com/vaadin/server/Extension.java View File

@@ -16,7 +16,6 @@

package com.vaadin.server;

import com.vaadin.terminal.gwt.server.ClientConnector;

/**
* An extension is an entity that is attached to a Component or another

server/src/com/vaadin/terminal/gwt/server/GAEApplicationServlet.java → server/src/com/vaadin/server/GAEApplicationServlet.java View File

@@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
@@ -56,7 +56,7 @@ import com.vaadin.service.ApplicationContext;
* <pre>
* &lt;servlet&gt;
* &lt;servlet-name&gt;HelloWorld&lt;/servlet-name&gt;
* &lt;servlet-class&gt;com.vaadin.terminal.gwt.server.GAEApplicationServlet&lt;/servlet-class&gt;
* &lt;servlet-class&gt;com.vaadin.server.GAEApplicationServlet&lt;/servlet-class&gt;
* &lt;init-param&gt;
* &lt;param-name&gt;application&lt;/param-name&gt;
* &lt;param-value&gt;com.vaadin.demo.HelloWorld&lt;/param-value&gt;

server/src/com/vaadin/terminal/gwt/server/HttpServletRequestListener.java → server/src/com/vaadin/server/HttpServletRequestListener.java View File

@@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import java.io.Serializable;

@@ -23,7 +23,6 @@ import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.vaadin.Application;
import com.vaadin.server.Terminal;
import com.vaadin.service.ApplicationContext.TransactionListener;

/**

server/src/com/vaadin/terminal/gwt/server/JsonCodec.java → server/src/com/vaadin/server/JsonCodec.java View File

@@ -14,7 +14,7 @@
* the License.
*/

package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import java.beans.IntrospectionException;
import java.beans.Introspector;

server/src/com/vaadin/terminal/gwt/server/JsonPaintTarget.java → server/src/com/vaadin/server/JsonPaintTarget.java View File

@@ -14,7 +14,7 @@
* the License.
*/

package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import java.io.PrintWriter;
import java.io.Serializable;
@@ -27,11 +27,6 @@ import java.util.Stack;
import java.util.Vector;
import java.util.logging.Logger;

import com.vaadin.server.PaintException;
import com.vaadin.server.PaintTarget;
import com.vaadin.server.Resource;
import com.vaadin.server.StreamVariable;
import com.vaadin.server.VariableOwner;
import com.vaadin.ui.Alignment;
import com.vaadin.ui.Component;
import com.vaadin.ui.CustomLayout;

server/src/com/vaadin/terminal/gwt/server/NoInputStreamException.java → server/src/com/vaadin/server/NoInputStreamException.java View File

@@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

@SuppressWarnings("serial")
public class NoInputStreamException extends Exception {

server/src/com/vaadin/terminal/gwt/server/NoOutputStreamException.java → server/src/com/vaadin/server/NoOutputStreamException.java View File

@@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

@SuppressWarnings("serial")
public class NoOutputStreamException extends Exception {

+ 0
- 2
server/src/com/vaadin/server/Page.java View File

@@ -28,8 +28,6 @@ import com.vaadin.server.WrappedRequest.BrowserDetails;
import com.vaadin.shared.ui.BorderStyle;
import com.vaadin.shared.ui.ui.PageClientRpc;
import com.vaadin.shared.ui.ui.UIConstants;
import com.vaadin.terminal.gwt.server.WebApplicationContext;
import com.vaadin.terminal.gwt.server.WebBrowser;
import com.vaadin.tools.ReflectTools;
import com.vaadin.ui.JavaScript;
import com.vaadin.ui.Notification;

+ 0
- 1
server/src/com/vaadin/server/PaintTarget.java View File

@@ -20,7 +20,6 @@ import java.io.Serializable;
import java.util.Map;

import com.vaadin.server.StreamVariable.StreamingStartEvent;
import com.vaadin.terminal.gwt.server.ClientConnector;
import com.vaadin.ui.Component;

/**

server/src/com/vaadin/terminal/gwt/server/PortletApplicationContext2.java → server/src/com/vaadin/server/PortletApplicationContext2.java View File

@@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import java.io.File;
import java.io.Serializable;
@@ -45,7 +45,6 @@ import javax.servlet.http.HttpSessionBindingListener;
import javax.xml.namespace.QName;

import com.vaadin.Application;
import com.vaadin.server.ExternalResource;
import com.vaadin.ui.UI;

/**

server/src/com/vaadin/terminal/gwt/server/PortletCommunicationManager.java → server/src/com/vaadin/server/PortletCommunicationManager.java View File

@@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import java.io.IOException;
import java.io.InputStream;
@@ -29,10 +29,6 @@ import javax.portlet.ResourceURL;
import com.vaadin.Application;
import com.vaadin.external.json.JSONException;
import com.vaadin.external.json.JSONObject;
import com.vaadin.server.DeploymentConfiguration;
import com.vaadin.server.PaintException;
import com.vaadin.server.WrappedRequest;
import com.vaadin.server.WrappedResponse;
import com.vaadin.shared.ApplicationConstants;
import com.vaadin.ui.UI;


server/src/com/vaadin/terminal/gwt/server/PortletRequestListener.java → server/src/com/vaadin/server/PortletRequestListener.java View File

@@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import java.io.Serializable;

@@ -22,7 +22,6 @@ import javax.portlet.PortletResponse;
import javax.servlet.Filter;

import com.vaadin.Application;
import com.vaadin.server.Terminal;
import com.vaadin.service.ApplicationContext.TransactionListener;

/**

server/src/com/vaadin/terminal/gwt/server/RequestTimer.java → server/src/com/vaadin/server/RequestTimer.java View File

@@ -14,7 +14,7 @@
* the License.
*/

package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import java.io.Serializable;


server/src/com/vaadin/terminal/gwt/server/ResourceReference.java → server/src/com/vaadin/server/ResourceReference.java View File

@@ -13,13 +13,9 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import com.vaadin.Application;
import com.vaadin.server.ApplicationResource;
import com.vaadin.server.ExternalResource;
import com.vaadin.server.Resource;
import com.vaadin.server.ThemeResource;
import com.vaadin.shared.communication.URLReference;

public class ResourceReference extends URLReference {

server/src/com/vaadin/terminal/gwt/server/RestrictedRenderResponse.java → server/src/com/vaadin/server/RestrictedRenderResponse.java View File

@@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import java.io.IOException;
import java.io.OutputStream;

server/src/com/vaadin/terminal/gwt/server/RpcManager.java → server/src/com/vaadin/server/RpcManager.java View File

@@ -14,7 +14,7 @@
* the License.
*/

package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import java.io.Serializable;


server/src/com/vaadin/terminal/gwt/server/RpcTarget.java → server/src/com/vaadin/server/RpcTarget.java View File

@@ -14,11 +14,10 @@
* the License.
*/

package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import java.io.Serializable;

import com.vaadin.server.VariableOwner;

/**
* Marker interface for server side classes that can receive RPC calls.

server/src/com/vaadin/terminal/gwt/server/ServerRpcManager.java → server/src/com/vaadin/server/ServerRpcManager.java View File

@@ -14,7 +14,7 @@
* the License.
*/

package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;

server/src/com/vaadin/terminal/gwt/server/ServerRpcMethodInvocation.java → server/src/com/vaadin/server/ServerRpcMethodInvocation.java View File

@@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import java.lang.reflect.Method;
import java.util.Map;

server/src/com/vaadin/terminal/gwt/server/ServletPortletHelper.java → server/src/com/vaadin/server/ServletPortletHelper.java View File

@@ -1,10 +1,8 @@
package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import java.io.Serializable;

import com.vaadin.Application;
import com.vaadin.server.DeploymentConfiguration;
import com.vaadin.server.WrappedRequest;
import com.vaadin.shared.ApplicationConstants;
import com.vaadin.ui.UI;


server/src/com/vaadin/terminal/gwt/server/SessionExpiredException.java → server/src/com/vaadin/server/SessionExpiredException.java View File

@@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

@SuppressWarnings("serial")
public class SessionExpiredException extends Exception {

server/src/com/vaadin/terminal/gwt/server/StreamingEndEventImpl.java → server/src/com/vaadin/server/StreamingEndEventImpl.java View File

@@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import com.vaadin.server.StreamVariable.StreamingEndEvent;


server/src/com/vaadin/terminal/gwt/server/StreamingErrorEventImpl.java → server/src/com/vaadin/server/StreamingErrorEventImpl.java View File

@@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import com.vaadin.server.StreamVariable.StreamingErrorEvent;


server/src/com/vaadin/terminal/gwt/server/StreamingProgressEventImpl.java → server/src/com/vaadin/server/StreamingProgressEventImpl.java View File

@@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import com.vaadin.server.StreamVariable.StreamingProgressEvent;


server/src/com/vaadin/terminal/gwt/server/StreamingStartEventImpl.java → server/src/com/vaadin/server/StreamingStartEventImpl.java View File

@@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import com.vaadin.server.StreamVariable.StreamingStartEvent;


+ 0
- 1
server/src/com/vaadin/server/SystemError.java View File

@@ -16,7 +16,6 @@

package com.vaadin.server;

import com.vaadin.terminal.gwt.server.AbstractApplicationServlet;

/**
* <code>SystemError</code> is an error message for a problem caused by error in

server/src/com/vaadin/terminal/gwt/server/SystemMessageException.java → server/src/com/vaadin/server/SystemMessageException.java View File

@@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

@SuppressWarnings("serial")
public class SystemMessageException extends RuntimeException {

server/src/com/vaadin/terminal/gwt/server/UnsupportedBrowserHandler.java → server/src/com/vaadin/server/UnsupportedBrowserHandler.java View File

@@ -13,15 +13,12 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import java.io.IOException;
import java.io.Writer;

import com.vaadin.Application;
import com.vaadin.server.RequestHandler;
import com.vaadin.server.WrappedRequest;
import com.vaadin.server.WrappedResponse;

/**
* A {@link RequestHandler} that presents an informative page if the browser in

server/src/com/vaadin/terminal/gwt/server/UploadException.java → server/src/com/vaadin/server/UploadException.java View File

@@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

@SuppressWarnings("serial")
public class UploadException extends Exception {

+ 1
- 1
server/src/com/vaadin/server/Vaadin6Component.java View File

@@ -59,7 +59,7 @@ public interface Vaadin6Component extends VariableOwner, Component,
* {@link #paintContent(PaintTarget)} to be called before sending changes to
* the client.
*
* @see com.vaadin.terminal.gwt.server.ClientConnector#markAsDirty()
* @see com.vaadin.server.ClientConnector#markAsDirty()
*/
@Override
public void markAsDirty();

server/src/com/vaadin/terminal/gwt/server/WebApplicationContext.java → server/src/com/vaadin/server/WebApplicationContext.java View File

@@ -14,7 +14,7 @@
* the License.
*/

package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import java.io.File;
import java.util.Enumeration;

server/src/com/vaadin/terminal/gwt/server/WebBrowser.java → server/src/com/vaadin/server/WebBrowser.java View File

@@ -14,12 +14,11 @@
* the License.
*/

package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import java.util.Date;
import java.util.Locale;

import com.vaadin.server.WrappedRequest;
import com.vaadin.shared.VBrowserDetails;

/**

server/src/com/vaadin/terminal/gwt/server/WrappedHttpServletRequest.java → server/src/com/vaadin/server/WrappedHttpServletRequest.java View File

@@ -14,15 +14,12 @@
* the License.
*/

package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletRequestWrapper;

import com.vaadin.Application;
import com.vaadin.server.CombinedRequest;
import com.vaadin.server.DeploymentConfiguration;
import com.vaadin.server.WrappedRequest;

/**
* Wrapper for {@link HttpServletRequest}.

server/src/com/vaadin/terminal/gwt/server/WrappedHttpServletResponse.java → server/src/com/vaadin/server/WrappedHttpServletResponse.java View File

@@ -14,13 +14,11 @@
* the License.
*/

package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpServletResponseWrapper;

import com.vaadin.server.DeploymentConfiguration;
import com.vaadin.server.WrappedResponse;

/**
* Wrapper for {@link HttpServletResponse}.

server/src/com/vaadin/terminal/gwt/server/WrappedPortletRequest.java → server/src/com/vaadin/server/WrappedPortletRequest.java View File

@@ -14,7 +14,7 @@
* the License.
*/

package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import java.io.IOException;
import java.io.InputStream;
@@ -26,9 +26,6 @@ import javax.portlet.PortletRequest;
import javax.portlet.ResourceRequest;

import com.vaadin.Application;
import com.vaadin.server.CombinedRequest;
import com.vaadin.server.DeploymentConfiguration;
import com.vaadin.server.WrappedRequest;
import com.vaadin.shared.ApplicationConstants;

/**

server/src/com/vaadin/terminal/gwt/server/WrappedPortletResponse.java → server/src/com/vaadin/server/WrappedPortletResponse.java View File

@@ -14,7 +14,7 @@
* the License.
*/

package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

import java.io.IOException;
import java.io.OutputStream;
@@ -29,8 +29,6 @@ import javax.portlet.MimeResponse;
import javax.portlet.PortletResponse;
import javax.portlet.ResourceResponse;

import com.vaadin.server.DeploymentConfiguration;
import com.vaadin.server.WrappedResponse;

/**
* Wrapper for {@link PortletResponse} and its subclasses.

+ 0
- 1
server/src/com/vaadin/server/WrappedRequest.java View File

@@ -29,7 +29,6 @@ import javax.servlet.http.HttpServletRequest;
import com.vaadin.Application;
import com.vaadin.UIRequiresMoreInformationException;
import com.vaadin.annotations.EagerInit;
import com.vaadin.terminal.gwt.server.WebBrowser;
import com.vaadin.ui.UI;

/**

+ 1
- 1
server/src/com/vaadin/service/ApplicationContext.java View File

@@ -22,8 +22,8 @@ import java.net.URL;
import java.util.Collection;

import com.vaadin.Application;
import com.vaadin.server.AbstractCommunicationManager;
import com.vaadin.server.ApplicationResource;
import com.vaadin.terminal.gwt.server.AbstractCommunicationManager;

/**
* <code>ApplicationContext</code> provides information about the running

+ 3
- 3
server/src/com/vaadin/ui/AbstractComponent.java View File

@@ -33,13 +33,13 @@ import com.vaadin.event.EventRouter;
import com.vaadin.event.MethodEventSource;
import com.vaadin.event.ShortcutListener;
import com.vaadin.server.AbstractClientConnector;
import com.vaadin.server.ClientConnector;
import com.vaadin.server.ComponentSizeValidator;
import com.vaadin.server.ErrorMessage;
import com.vaadin.server.Resource;
import com.vaadin.server.ResourceReference;
import com.vaadin.server.Terminal;
import com.vaadin.shared.ComponentState;
import com.vaadin.terminal.gwt.server.ClientConnector;
import com.vaadin.terminal.gwt.server.ComponentSizeValidator;
import com.vaadin.terminal.gwt.server.ResourceReference;
import com.vaadin.tools.ReflectTools;

/**

+ 1
- 1
server/src/com/vaadin/ui/AbstractComponentContainer.java View File

@@ -22,7 +22,7 @@ import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedList;

import com.vaadin.terminal.gwt.server.ComponentSizeValidator;
import com.vaadin.server.ComponentSizeValidator;

/**
* Extension to {@link AbstractComponent} that defines the default

+ 1
- 1
server/src/com/vaadin/ui/AbstractEmbedded.java View File

@@ -5,8 +5,8 @@
package com.vaadin.ui;

import com.vaadin.server.Resource;
import com.vaadin.server.ResourceReference;
import com.vaadin.shared.ui.AbstractEmbeddedState;
import com.vaadin.terminal.gwt.server.ResourceReference;

/**
* Abstract base for embedding components.

+ 1
- 1
server/src/com/vaadin/ui/AbstractMedia.java View File

@@ -20,10 +20,10 @@ import java.util.ArrayList;
import java.util.List;

import com.vaadin.server.Resource;
import com.vaadin.server.ResourceReference;
import com.vaadin.shared.communication.URLReference;
import com.vaadin.shared.ui.AbstractMediaState;
import com.vaadin.shared.ui.MediaControl;
import com.vaadin.terminal.gwt.server.ResourceReference;

/**
* Abstract base class for the HTML5 media components.

+ 1
- 1
server/src/com/vaadin/ui/Component.java View File

@@ -23,11 +23,11 @@ import java.util.Locale;

import com.vaadin.Application;
import com.vaadin.event.FieldEvents;
import com.vaadin.server.ClientConnector;
import com.vaadin.server.ErrorMessage;
import com.vaadin.server.Resource;
import com.vaadin.server.Sizeable;
import com.vaadin.server.VariableOwner;
import com.vaadin.terminal.gwt.server.ClientConnector;

/**
* {@code Component} is the top-level interface that is and must be implemented

+ 2
- 2
server/src/com/vaadin/ui/ConnectorTracker.java View File

@@ -26,8 +26,8 @@ import java.util.logging.Level;
import java.util.logging.Logger;

import com.vaadin.server.AbstractClientConnector;
import com.vaadin.terminal.gwt.server.AbstractCommunicationManager;
import com.vaadin.terminal.gwt.server.ClientConnector;
import com.vaadin.server.AbstractCommunicationManager;
import com.vaadin.server.ClientConnector;

/**
* A class which takes care of book keeping of {@link ClientConnector}s for a

+ 1
- 1
server/src/com/vaadin/ui/CustomLayout.java View File

@@ -24,11 +24,11 @@ import java.util.Iterator;
import java.util.Map;
import java.util.Set;

import com.vaadin.server.JsonPaintTarget;
import com.vaadin.server.PaintException;
import com.vaadin.server.PaintTarget;
import com.vaadin.server.Vaadin6Component;
import com.vaadin.shared.ui.customlayout.CustomLayoutState;
import com.vaadin.terminal.gwt.server.JsonPaintTarget;

/**
* <p>

+ 1
- 1
server/src/com/vaadin/ui/UI.java View File

@@ -34,6 +34,7 @@ import com.vaadin.event.Action.Handler;
import com.vaadin.event.ActionManager;
import com.vaadin.event.MouseEvents.ClickEvent;
import com.vaadin.event.MouseEvents.ClickListener;
import com.vaadin.server.AbstractApplicationServlet;
import com.vaadin.server.Page;
import com.vaadin.server.PaintException;
import com.vaadin.server.PaintTarget;
@@ -49,7 +50,6 @@ import com.vaadin.shared.ui.BorderStyle;
import com.vaadin.shared.ui.ui.UIConstants;
import com.vaadin.shared.ui.ui.UIServerRpc;
import com.vaadin.shared.ui.ui.UIState;
import com.vaadin.terminal.gwt.server.AbstractApplicationServlet;
import com.vaadin.tools.ReflectTools;

/**

+ 2
- 2
server/src/com/vaadin/ui/Upload.java View File

@@ -24,12 +24,12 @@ import java.util.Iterator;
import java.util.LinkedHashSet;
import java.util.Map;

import com.vaadin.server.NoInputStreamException;
import com.vaadin.server.NoOutputStreamException;
import com.vaadin.server.PaintException;
import com.vaadin.server.PaintTarget;
import com.vaadin.server.Vaadin6Component;
import com.vaadin.server.StreamVariable.StreamingProgressEvent;
import com.vaadin.terminal.gwt.server.NoInputStreamException;
import com.vaadin.terminal.gwt.server.NoOutputStreamException;

/**
* Component for uploading files from client to server.

+ 1
- 1
server/src/com/vaadin/ui/Video.java View File

@@ -17,8 +17,8 @@
package com.vaadin.ui;

import com.vaadin.server.Resource;
import com.vaadin.server.ResourceReference;
import com.vaadin.shared.ui.video.VideoState;
import com.vaadin.terminal.gwt.server.ResourceReference;

/**
* The Video component translates into an HTML5 &lt;video&gt; element and as

+ 1
- 1
shared/src/com/vaadin/shared/Connector.java View File

@@ -31,7 +31,7 @@ import java.io.Serializable;
* wanting to communicate with server side should implement
* {@link com.vaadin.client.ServerConnector} and server side
* classes should implement
* {@link com.vaadin.terminal.gwt.server.ClientConnector}.
* {@link com.vaadin.server.ClientConnector}.
* </p>
*
* @author Vaadin Ltd

+ 1
- 1
shared/src/com/vaadin/shared/VBrowserDetails.java View File

@@ -21,7 +21,7 @@ import java.io.Serializable;
* Class that parses the user agent string from the browser and provides
* information about the browser. Used internally by
* {@link com.vaadin.client.BrowserInfo} and
* {@link com.vaadin.terminal.gwt.server.WebBrowser}. Should not be used
* {@link com.vaadin.server.WebBrowser}. Should not be used
* directly.
*
* @author Vaadin Ltd.

+ 1
- 1
shared/src/com/vaadin/shared/ui/Connect.java View File

@@ -25,7 +25,7 @@ import com.vaadin.shared.Connector;
/**
* Annotation defining the server side connector that this ClientSideConnector
* should connect to. The value must always by a class extending
* {@link com.vaadin.terminal.gwt.server.ClientConnector}.
* {@link com.vaadin.server.ClientConnector}.
* <p>
* With this annotation client side Vaadin connector is marked to have a server
* side counterpart. The value of the annotation is the class of server side

tests/client-side/com/vaadin/terminal/gwt/server/JSONSerializerTest.java → tests/client-side/com/vaadin/server/JSONSerializerTest.java View File

@@ -1,4 +1,4 @@
package com.vaadin.terminal.gwt.server;
package com.vaadin.server;

/*
* Copyright 2011 Vaadin Ltd.
@@ -24,8 +24,9 @@ import junit.framework.TestCase;

import com.vaadin.client.communication.JsonDecoder;
import com.vaadin.client.communication.JsonEncoder;
import com.vaadin.server.JsonCodec;
import com.vaadin.server.JsonCodec.BeanProperty;
import com.vaadin.shared.ui.splitpanel.AbstractSplitPanelState;
import com.vaadin.terminal.gwt.server.JsonCodec.BeanProperty;

/**
* Tests for {@link JsonCodec}, {@link JsonEncoder}, {@link JsonDecoder}

+ 0
- 0
tests/server-side/com/vaadin/data/util/AbstractContainerTest.java View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save