You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

InterruptUploadWithManualPush.java 561B

1234567891011121314151617181920212223
  1. package com.vaadin.tests.components.upload;
  2. import com.vaadin.annotations.Push;
  3. import com.vaadin.shared.communication.PushMode;
  4. @Push(PushMode.MANUAL)
  5. public class InterruptUploadWithManualPush extends InterruptUpload {
  6. public InterruptUploadWithManualPush() {
  7. super(true);
  8. }
  9. @Override
  10. protected Integer getTicketNumber() {
  11. return 11616;
  12. }
  13. @Override
  14. public String getDescription() {
  15. return "Interrupting an upload with @Push shouldn't prevent uploading that same file immediately afterwards.";
  16. }
  17. }