*/
STREAMING("streaming");
- /**
- * The default transport mechanism for push
- */
- public static final Transport DEFAULT = Transport.WEBSOCKET;
-
- /**
- * The default fallback transport mechanism for push
- */
- public static final Transport DEFAULT_FALLBACK = Transport.STREAMING;
-
private String identifier;
private Transport(String identifier) {
public PushMode mode = PushMode.DISABLED;
public Map<String, String> parameters = new HashMap<String, String>();
{
- parameters.put(TRANSPORT_PARAM, Transport.DEFAULT.getIdentifier());
+ parameters
+ .put(TRANSPORT_PARAM, Transport.WEBSOCKET.getIdentifier());
parameters.put(FALLBACK_TRANSPORT_PARAM,
- Transport.DEFAULT_FALLBACK.getIdentifier());
+ Transport.STREAMING.getIdentifier());
}
}