|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME) @Target(value=TYPE) public @interface Push
Configures server push for a UI. Adding @Push to a UI
class configures the UI for automatic push. If some other push mode is
desired, it can be passed as a parameter, e.g.
@Push(PushMode.MANUAL).
PushMode| Optional Element Summary | |
|---|---|
com.vaadin.shared.ui.ui.Transport |
transport
Returns the transport type used for the push for the annotated UI. |
com.vaadin.shared.communication.PushMode |
value
Returns the PushMode to use for the annotated UI. |
public abstract com.vaadin.shared.communication.PushMode value
PushMode to use for the annotated UI. The default
push mode when this annotation is present is PushMode.AUTOMATIC.
public abstract com.vaadin.shared.ui.ui.Transport transport
Transport.WEBSOCKET.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||