diff options
author | Artur Signell <artur@vaadin.com> | 2015-03-19 09:49:32 +0000 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2015-03-25 11:37:42 +0000 |
commit | 140844eaff3de1b926460081405eb7d53ec811f8 (patch) | |
tree | 22df06e4607937bbbb8b299beb05d6f4acb8de16 /server/src/com/vaadin/ui/PushConfiguration.java | |
parent | 1c569304b3f10960854c2045030d907408978d05 (diff) | |
download | vaadin-framework-140844eaff3de1b926460081405eb7d53ec811f8.tar.gz vaadin-framework-140844eaff3de1b926460081405eb7d53ec811f8.zip |
Revert "Make push path configurable (#14432)."
Breaks long polling fallback when implemented this way
This reverts commit 735f0748344d7ee594c4e52a715d867dfdb23cb1.
Conflicts:
push/build.xml
push/ivy.xml
server/src/com/vaadin/server/Constants.java
uitest/src/com/vaadin/tests/push/PushPathTest.java
Change-Id: I07f6fedafc648b0ee403865ccb322017d2a8d571
Diffstat (limited to 'server/src/com/vaadin/ui/PushConfiguration.java')
-rw-r--r-- | server/src/com/vaadin/ui/PushConfiguration.java | 47 |
1 files changed, 1 insertions, 46 deletions
diff --git a/server/src/com/vaadin/ui/PushConfiguration.java b/server/src/com/vaadin/ui/PushConfiguration.java index d5e89b4b14..90ad28542c 100644 --- a/server/src/com/vaadin/ui/PushConfiguration.java +++ b/server/src/com/vaadin/ui/PushConfiguration.java @@ -105,26 +105,6 @@ public interface PushConfiguration extends Serializable { public void setFallbackTransport(Transport fallbackTransport); /** - * Sets the path that is used with push. - * - * @since 7.4.1 - * @param pushPath - * The path to be used with push - * - * @throws IllegalArgumentException - * if the argument is null or empty. - */ - public void setPushPath(String pushPath); - - /** - * Returns the path used with push. - * - * @since 7.4.1 - * @return The path that is used with push - */ - public String getPushPath(); - - /** * Returns the given parameter, if set. * <p> * This method provides low level access to push parameters and is typically @@ -278,32 +258,6 @@ class PushConfigurationImpl implements PushConfiguration { /* * (non-Javadoc) * - * @see com.vaadin.ui.PushConfiguration#setPushPath(java.lang.String) - */ - @Override - public void setPushPath(String pushPath) { - if (pushPath != null && !pushPath.isEmpty()) { - getState().pushPath = pushPath; - } else { - throw new IllegalArgumentException( - "Push path can't be empty or null"); - } - - } - - /* - * (non-Javadoc) - * - * @see com.vaadin.ui.PushConfiguration#getPushPath() - */ - @Override - public String getPushPath() { - return getState(false).pushPath; - } - - /* - * (non-Javadoc) - * * @see com.vaadin.ui.PushConfiguration#getParameter(java.lang.String) */ @Override @@ -336,4 +290,5 @@ class PushConfigurationImpl implements PushConfiguration { return Collections.unmodifiableCollection(getState(false).parameters .keySet()); } + } |